Inserting a null value into the database.

Posted by J Harley on Stack Overflow See other posts from Stack Overflow or by J Harley
Published on 2010-05-19T10:26:35Z Indexed on 2010/05/19 10:30 UTC
Read the original article Hit count: 151

Filed under:

Good Morning,

Say I have an insert statement:

Insert INTO tblTest (fieldOne,FieldTwo,fieldThree) VALUES ('valueOne','valueTwo','null')

This statement doesn't seem to want to insert a null value into the database... I have also tried to insert the word "nothing".

Has anyone any ideas how to make this work? I am using SQL server 2005.

© Stack Overflow or respective owner

Related posts about sql