Cod-nes Posted May 21, 2009 Share Posted May 21, 2009 How can I insert null values to tables? Link to comment Share on other sites More sharing options...
shakti Posted May 21, 2009 Share Posted May 21, 2009 I know about mysql. In mysql just keep the values null.As like that: INSERT INTO tablename (name, value) VALUES ('','') Link to comment Share on other sites More sharing options...
justsomeguy Posted May 21, 2009 Share Posted May 21, 2009 Empty string isn't the same as null. You can use the null keyword.INSERT INTO tablename (name, value) VALUES (NULL, NULL) Link to comment Share on other sites More sharing options...
shakti Posted May 22, 2009 Share Posted May 22, 2009 Sorry for wrong informaton And thank you justsomeguy to solve this.Thank you very much Link to comment Share on other sites More sharing options...
Cod-nes Posted May 22, 2009 Author Share Posted May 22, 2009 It's ok. ^^Thanks shakti and justsomeguy. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.