insert sqlhttp://forums.asp.net/t/355855.aspx/1?insert+sqlMon, 20 Oct 2003 07:00:10 -0400355855355855http://forums.asp.net/p/355855/355855.aspx/1?insert+sqlinsert sql hi, does anyone know how to insert a new record into the table and the all the values is set to null ? 2003-10-03T09:15:15-04:00366398http://forums.asp.net/p/355855/366398.aspx/1?Re+insert+sqlRe: insert sql Could you use: <pre class="prettyprint">INSERT INTO myTable ( field1, field2, field3, field4, field5 ) VALUES ( NULL, NULL, NULL, NULL, NULL )</pre> Terri 2003-10-14T20:13:49-04:00370792http://forums.asp.net/p/355855/370792.aspx/1?Re+insert+sqlRe: insert sql You could probably even do this, assuming none of the fields in the table have a &quot;NOT NULL&quot; constraint: <pre class="prettyprint">INSERT INTO myTable ( field1 ) VALUES ( NULL )</pre> I dunno how much SQL you know so I may be saying the obvious to you, but just in case, you can just do one field and all the rest should default to NULL. If there are any required fields, then you have to have those in your insert statement, and assign some value to them. If it's autoincrement you need not worry about including it in your statement. 2003-10-20T07:00:10-04:00