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

Pass Table Name by joining Constant String and A Field Value from Same Row

$
0
0
I have two tables in this query.

[code language="sql"]SELECT [pID],[pName],(SELECT COUNT([tableProfileID]) AS COUNT_RECORDS

Viewing all articles
Browse latest Browse all 3145

Trending Articles