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

Select only one register with condition

$
0
0
Hi Guys,

I need a help for a query development that returns only one record according to the condition. But if condition is not true, query should select other value. for example:

SELECT
  Field
FROM TABLE
WHERE Field

Viewing all articles
Browse latest Browse all 3145

Trending Articles