Subject: insert null value into database
Posted By: akibaMaila Post Date: 8/15/2005 3:15:06 PM
How do I insert a null value into a datetime field in sql server. thanks
Reply By: om_prakash Reply Date: 8/15/2005 5:44:03 PM
insert into table_name (id,date_column) values (1,null);

This will work if date_column allows null values.

Om Prakash

Go to topic 32080

Return to index page 489
Return to index page 488
Return to index page 487
Return to index page 486
Return to index page 485
Return to index page 484
Return to index page 483
Return to index page 482
Return to index page 481
Return to index page 480