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

Return Text Answer if Match

$
0
0
Mornign folks,

I've a query that returns a count for individual orders.
I then did a union and at the bottom now have a sum of the count.
[code language="sql"]SELECT
CAST(Jobs.jobid as varchar(12) ) as 'Job ID'
, count (JobReferr

Viewing all articles
Browse latest Browse all 3145

Trending Articles