In my SP What I want is that when a new Question is added, Active should be set to false. When I add new record, it gets added to the table in my DB but Active is getting set a True! What could be wrong ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How would I solve this:
1. Double-check table for defaults, triggers
2. Profiler, check exactly what params are passed to SP
3. Remove/comment out update part leaving only unconditional insert
4. Howl in agony and throw keybord out of the window