Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8847617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:13:58+00:00 2026-06-14T12:13:58+00:00

I am executing the following query, but it is inserting partial value of first

  • 0

I am executing the following query, but it is inserting partial value of first field, i.e 95362 instead of 95362-07

Insertion query::

INSERT INTO ACCIDENT VALUES(95362-07,'Orthoptic education on visual ergonomics','Orthoptic education on visual ergonomics');

Getting values in the table ::

95362,Orthoptic education on visual ergonomics,Orthoptic education on visual ergonomics.

Table structure:

desc accident

Name                           Null     Type                                                                                                                                                                                          
--------------------------------------------------
ID                                      NUMBER                                                                                                                                                                                        
ACC_NAME                                VARCHAR2(4000)                                                                                                                                                                                
ACC_DESC                                VARCHAR2(4000)                                                                                                                                                                                
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:14:00+00:00Added an answer on June 14, 2026 at 12:14 pm

    Here’s the problem, your first column is expecting a data type of Number

    desc accident
    
    Name                           Null     Type                                                                                                                                                                                          
    --------------------------------------------------
    ID                                      NUMBER                                                                                                                                                                                        
    ACC_NAME                                VARCHAR2(4000)                                                                                                                                                                                
    ACC_DESC                                VARCHAR2(4000)                                                                                                                                                                                
    

    And then, when you insert your query, the first parameter is being computed only the NUMBER part of it, which is 95362.

    To store your ID records in the form XXXXX-XX you must change your ID column to a VARCHAR2 data type. Otherwise you’ll keep getting this result.

    I hope it helped. Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am successfully executing the following query in SQL Server 2008 built into VS2008:
I have the following codes: $query = INSERT INTO main_table (id, matric_no, session, semester,
I am using following query to insert data into a SQLite database for Android.
while executing the following query, i get an error that there's an error in
How would I go about executing the following Hibernate query using the criteria API.
I am executing the following raw sql query in one of my controllers :
I get an exception while executing following piece of code bool FieldValueMessage::Get(const std::string &field,
I am executing the following query DELETE FROM List,Tree WHERE List.CatID = Tree.CatID AND
I am getting the following error while executing the following query in an Stored
I have the following query that I'm executing using a Python script (by using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.