2
string query = 
  "select  User_name, User_Second_Choice 
   from tbl_User where User_Assigned_Project ='"+NULL+"'";

i try to select the rows to update so how can i change User_Assigned_Project = '"+NULL+"'";

Thank you.

1 Answer 1

6

Use IS NULL not '= NULL'

select User_name, User_Second_Choice 
from tbl_User where User_Assigned_Project IS NULL
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.