Viewing 15 posts - 1,846 through 1,860 (of 15,381 total)
ramachandran narayanan (1/31/2016)
salarycode salaryname
1 basic
1 ...
February 1, 2016 at 8:20 am
Jeff Moden (1/29/2016)
J Livingston SQL (1/29/2016)
Jeff Moden (1/29/2016)
J Livingston SQL (1/29/2016)
http://www.apexsql.com/sql_tools_refactor.aspxHeh... just select the "obfuscation" method and you're done. 😛
hehe....had never used it, til now.........cant see the point
I use it...
January 29, 2016 at 11:01 am
http://poorsql.com/%5B/url%5D is another free tool that works pretty well. You can use the website or they have an SSMS plugin you can use. Oddly until today i never noticed the...
January 29, 2016 at 9:51 am
Koen Verbeeck (1/29/2016)
Apparently got over 15,000 points today. Yay. :w00t:
Congrats!
January 29, 2016 at 7:31 am
VoldemarG (1/29/2016)
you mean you actually are not doing SQL/databases/programming for living?!how can that be...
I didn't say that, I just said I don't get paid for providing assistance on the...
January 29, 2016 at 7:13 am
BL0B_EATER (1/29/2016)
Have you guys during your careers ever thought about doing something else in life.. as opposed to IT / SQL Server / Coding etc etc?
For me IT is my...
January 29, 2016 at 7:10 am
VoldemarG (1/28/2016)
I really appreciate your help.
Question:
are you actually really coaching some dumber folks like myself in SQL server remotely (I mean for...
January 28, 2016 at 3:19 pm
You could use ROW_NUMBER in a cte and then select those rows where RowNum = 1.
It is hard to figure out from your posted query exactly what you are trying...
January 28, 2016 at 1:53 pm
Ed Wagner (1/28/2016)
Sean Lange (1/28/2016)
January 28, 2016 at 10:57 am
Grant to follow the theme about poorly named products in your article about estimated execution plans. (http://www.cnet.com/pictures/25-worst-named-tech-products-pictures/24/%5B/url%5D). That has to be one of the worst webpage designs ever. It has...
January 28, 2016 at 10:43 am
vijay.singh 14112 (1/28/2016)
I have made a sample of result set in attached xlxs as well as in below script but the values are dummy. Please get back to me if...
January 28, 2016 at 10:30 am
How about if you create and post a temp table of the values and columns you expect as output and I can help you with the query to get there.
January 28, 2016 at 8:31 am
vijay.singh 14112 (1/28/2016)
Thanks the quick Reply.
As My Table Structure, all are columns.
I Want ID to be pivoted and rest of the column value should also be pivoted accordingly.
Some_Derived_Column nameIDIDIDID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Value OF...
January 28, 2016 at 8:30 am
vijay.singh 14112 (1/28/2016)
-->Below is my table and Data.
CREATE TABLE #Temp
(
IDBIGINT,
SDIDBIGINT,
CountofrecordsBIGINT,
CountOfProductsBIGINT,
CountOfPrdCodeBIGINT,
SumOfSalesBIGINT,
TotalUnitstoBesoldBIGINT,
NumberofnotNotSoldBIGINT,
NumberofItesmBIGINT
)
GO
INSERT #TEMP
SELECT 1175388162,27,49407,875,3299,316333.7000,0,0,0
UNION ALL SELECT 1175388162,26,49415,874,3272,326385.6500,0,0,0
UNION ALL SELECT 1175388162,25,49415,874,3283,319124.3800,0,0,0
UNION ALL SELECT 1175388162,24,49415,875,3259,333208.3800,0,0,0
UNION ALL SELECT 1175388162,23,49415,874,3277,323890.4600,0,0,0
UNION ALL SELECT 1175388162,22,49415,874,3277,328882.6200,0,0,0
UNION ALL SELECT...
January 28, 2016 at 7:47 am
Take a look at transactional replication. Sounds like it might be a pretty fit for your requirements.
January 27, 2016 at 2:10 pm
Viewing 15 posts - 1,846 through 1,860 (of 15,381 total)