complex insert
Posted by: U Khan
Date: July 07, 2006 02:13PM

Hi,
I am trying to Insert this statement
data_table schema is:
id = int, not null , auto increment
q1 = int null
q2 = int null

insert into data_table(q1,q2) values (1,0),(1,),(,0)

The problem is mysql is not accepting null values where I have not specified a value for a column. Fo my application it is not practical to manually add null where there is a missing value.

Any suggestions. ?

Thanks,
Usman

Options: ReplyQuote


Subject
Written By
Posted
complex insert
July 07, 2006 02:13PM
July 07, 2006 02:35PM
July 07, 2006 06:52PM
July 11, 2006 10:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.