In sql server enterprise manager, how do you write an insert statement and pass in null
values?
Asked
Active
Viewed 2.4e+01k times
77
2 Answers
114
INSERT INTO atable (x,y,z) VALUES ( NULL,NULL,NULL)
64
If you're using SSMS (or old school Enterprise Manager) to edit the table directly, press CTRL+0 to add a null.

mattmc3
- 17,595
- 7
- 83
- 103
-
Excellent - I always forget this! – Jarrod Dixon Jun 30 '10 at 22:02