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

Case when inside of partition by?

$
0
0
Hi, I have the following situation:
[code language="sql"]CREATE TABLE #TAB1(
ID INT
,MY_STATE VARCHAR(10)
,EVENT_TS DATETIME
)


INSERT INTO #TAB1(ID, MY_STATE, EVENT_TS)
 

Viewing all articles
Browse latest Browse all 3145

Trending Articles