php - MS Access: How does one insert NULL into DateTime field - Stack Overflow

php - MS Access: How does one insert NULL into DateTime field - Stack Overflow

瀏覽:1141
日期:2025-04-24
Try the following. It works for me: INSERT INTO sometable ( somedate, somethingelse ) SELECT Null AS Expr1, "foo" AS Expr2; Basically, you are wrapping the null in the select query and letting SQL figure out how to represent it to the insert....看更多