Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
string query = "select User_name, User_Second_Choice from tbl_User where User_Assigned_Project ='"+NULL+"'";
我尝试选择要更新的行,所以我该如何更改 User_Assigned_Project = '"+NULL+"'";
谢谢你。
使用IS NULL而不是 '= NULL'
select User_name, User_Second_Choice from tbl_User where User_Assigned_Project IS NULL