MySQL Question Regarding 'Null' Fields:
When doing INSERT queries, how would I go about adding a "null" field. Just using '' doesn't seem to do it, it just leaves the field blank. I want it actually marked as null.
Thanks for any help =) |
Code:
insert into test1 values('abc',NULL); |
Well no kidding, it really was that easy =) Thank you!
|
You can try :
Code:
insert into rule_values values (12,'X',null); |
All times are GMT -4. The time now is 01:38 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.