Click here to Skip to main content
15,923,120 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a scenario where user signup and fill his basic profile field i.e email,username, password, phone and cnin no. Late after successful signup . i have to show a full page for that user to update his Profile further, that includes his DOB, addresses, party belonging, interest, movies, an other stuff.

How would i have to made a query that return which field against that user id has a value of which is not.

I have two related table having One-one-relationship
TblAppUser and TblUserDetails.

TblAppuser stores basic information such id passwrd username email etc and
tbluserdetials has other fields such as dob, interest, movies etc.
Posted

1 solution

Hi,
You can use ISNULL function in MS SQL to identify whether the column has null value or not null value.
Let me know if it satisfy your need else give some detail about raw data and expected result.

Thanks,
Hitesh Varde
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900