Viewing 15 posts - 17,041 through 17,055 (of 59,067 total)
I don't know why no one answered this for you and I hope you weren't waiting on the answer.
Step one would be to restore your dev database and get the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 1:53 pm
pietlinden (5/11/2015)
And then just to yank Jeff's chain...
I know my response is a bit late but, remember... "Santa is watching". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 1:32 pm
sqlenthu 89358 (8/14/2016)
Is there a way to perform parallel inserts in a table ? I have any huge table in one database and I want a big chunk of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 1:11 pm
John Mitchell-245523 (8/10/2016)
I don't share Jeff's doubt...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 11:26 am
Alan.B (8/8/2016)
.. I want to display the candidate rank as an avg of all the three columns .
Using my sample data from earlier, the best way would be like so:...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 11:20 am
chintangandhi007 (8/12/2016)
I am making the study project in college.
I don't mind helping someone with school but they do have to try on their own. If you're "making a study...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 10:57 am
Another take away should be...
1. If you have multiple solutions and some favor CPU while others favor IO, then you've missed a solution because you shouldn't have to settle....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 10:48 am
dreamornightmare1 (7/9/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 14, 2016 at 9:56 am
Anandkumar-SQL_Developer (8/12/2016)
Really u r genius....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2016 at 4:21 pm
Snargables (8/12/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 12, 2016 at 4:12 pm
S7 (8/10/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 11, 2016 at 11:50 pm
mwinn (8/11/2016)
Thanks, I will try that, not sure why it worked for all these years prior to yesterday though.
To be honest, it couldn't have UNLESS you changed the file name...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 11, 2016 at 11:05 pm
p.s. NEVER use that type of Dynamic SQL in anything that's public facing, especially where modeltrim_name (in this case) could be entered by users, because it IS susceptible to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 11, 2016 at 10:49 pm
Here's the Dynamic CROSSTAB version. I believe you might find it a little easier to read, modify, and troubleshoot.
--===== Local Variables
DECLARE @sql ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 11, 2016 at 10:40 pm
faulknerwilliam2 (8/11/2016)
SELECT
a.name,
DATENAME(M, a.Date) as Month,
DATENAME(YEAR,a.Date) as Year,
DATEPART(YYYY, a.Date) as...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 11, 2016 at 9:03 pm
Viewing 15 posts - 17,041 through 17,055 (of 59,067 total)