Viewing 15 posts - 886 through 900 (of 902 total)
Another nice example of using a date table, however when you assign the day name wouldnt you be better removing the Case statement and using the DateName(dw,<date>) function that is...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
August 16, 2010 at 2:11 am
Samuel Vella (7/15/2010)
_________________________________________________________________________
SSC Guide to Posting and Best Practices
July 16, 2010 at 2:15 am
Rather than using the Tally method have you considered using a CTE, the code below would work just as well and be a little more flexible.
DECLARE @DateFrom as DateTime
Declare...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
July 15, 2010 at 2:19 am
I did something similar the other month to demonstrate the use of XML data, and how to remove the dreaded cursors from the code, granted it was written on an...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
June 30, 2010 at 2:20 am
Todd McDermid (6/14/2010)
Jason Lees-299789 (6/14/2010)
_________________________________________________________________________
SSC Guide to Posting and Best Practices
June 14, 2010 at 10:39 pm
UMG, I've used the Binary_CheckSum function as well and normally keep it as a calculated column that forms part of the Business key Index as an include.
However there is a...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
June 14, 2010 at 4:10 am
rob mcnicol (3/17/2010)
_________________________________________________________________________
SSC Guide to Posting and Best Practices
March 17, 2010 at 1:53 pm
Firstly I wouldnt use a Script task they ar quite slow and can have problems on 64bit machines if they arnt precompiled.
I would use an Execute SQL task to...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
December 22, 2009 at 10:16 am
sabyasm (12/22/2009)
what is the purpose of the package? Is it to parse through a list of files?, to loop through a dataset?
[font="Comic Sans MS"]You already asked 😛 ...
I was...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
December 22, 2009 at 9:08 am
sabyasm (12/22/2009)
The only additional thing I did was to define a variable user::fileJustFound (string).
On for each loop container -> variable mapping -> mapped user::fileJustFound as 0 (the only...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
December 22, 2009 at 8:57 am
mwwheeler (12/22/2009)
_________________________________________________________________________
SSC Guide to Posting and Best Practices
December 22, 2009 at 8:49 am
Like Jeff, I'm not sure what it is you are trying to do.
what is the purpose of the package? Is it to parse through a list of files?, to loop...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
December 22, 2009 at 8:38 am
jarred.nicholls (11/26/2009)
Jason Lees-299789 (11/26/2009)
_________________________________________________________________________
SSC Guide to Posting and Best Practices
November 26, 2009 at 2:58 pm
Martins answer is a lot sweeter and more robust if you need to loop through a data set, as there is no guarantee that the numbers are consecutive eg record...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
November 26, 2009 at 5:14 am
sorte.orm (11/10/2009)
princess.lipscomb (11/5/2009)I believe they are going to stop letting us * pretty soon anyway
Bollocks! I'll eat my knickers if that happens!
In some ways the restrictions have already started...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
November 11, 2009 at 3:39 am
Viewing 15 posts - 886 through 900 (of 902 total)