help with sql statement
HI Juliano !You may need to look at below snippet and modify your code accordingly;CREATETABLE #Temp(Value INT)--TRUNCATE TABLE #TempINSERTINTO #TempSELECT 1 UNIONALLSELECT 2 UNIONALLSELECT 3...
View Articlehelp with sql statement
Trydeclare @t table (id intidentity(1,1) primarykey, value int)insertinto @t values (1), (2), (3), (1), (2), (3), (1), (2), (3), (1), (2) select dense_rank() over (orderby (ID-1)/3) as [Group],...
View Articlehelp with sql statement
Hi, try : declare @TAB table ([value] int)insert @TABselect 1 unionallselect 2 unionallselect 3 unionallselect 1 unionallselect 2 unionallselect 3 unionallselect 1 unionallselect 2 unionallselect 3...
View Articlehelp with sql statement
I have this table value12312312312 I need to do a query that group this values, like this: gorup | value 1| 11| 21| 32| 12| 22| 33| 13| 23| 34| 14| 2
View Article
More Pages to Explore .....