Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Can i put a select in an ISNULL Statement?

$
0
0
crude example,
the REAL price might not be in DBO.RealPrice,but it will be in DBO.OLDPRICE.

Can i do something like this:

Select
yada A,
yada B,
,ISNULL(RealPrice, Select OLDPRIOE from DBO.OLDPRICE...)

trying to

Viewing all articles
Browse latest Browse all 3145

Trending Articles