Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
It means that if you are selecting a field where their is no data it displays an 'N/A' for instance.What i need to do is when the data in a specific field is not found, return a 'N/A' like the isnull function.
Can not use the null function, because the field does not exist..table atable bselect data1, data2from table a, table bwhee a.data3 = b.data3and a.id = 2 and b.id = 2table aid data1 data2 data 31 one 4948 3452 two 9877 3 three 4937 323table bid data1 data2 data 31 one 3453 three 323The id = 2 does not exist in table b. I need to by pass this, in a way to tell the codeto by pass this select when the situation is not found.