Viewing 15 posts - 61 through 75 (of 120 total)
Stogie_Maru (4/8/2011)
I'm seeing great speed and great "compression" (for lack of...
May 19, 2011 at 10:31 am
UMG Developer (4/8/2011)
April 11, 2011 at 1:30 pm
DNA_DBA (3/26/2011)
If you've checked...
March 28, 2011 at 11:49 am
OOOOOOPS!
Typing too fast and didn't realize the declared variables should be 'INT' not 'VARCHAR'. No wonder the data was all NULL. 🙂
Changed that and it still ran twice...
March 23, 2011 at 2:16 pm
DECLARE @CompDtvarchar(2),
@CompDtm1varchar(2),
@CompDtm2varchar(2),
@CompDtm3varchar(2),
@CompDtm4varchar(2)
SET@CompDt = DATEPART(yy, GETDATE())
SET@CompDtm1 = DATEPART(yy, DATEADD(yy,-1,GETDATE()))
SET@CompDtm2 = DATEPART(yy, DATEADD(yy,-2,GETDATE()))
SET@CompDtm3 = DATEPART(yy, DATEADD(yy,-3,GETDATE()))
SET@CompDtm4 = DATEPART(yy, DATEADD(yy,-4,GETDATE()))
SELECT (SELECT CONVERT(varchar(10), MAX(ACCOUNTING_DATE), 101) AS Expr1
FROM DB1.dbo.Table2
WHERE ACCOUNTING_DATE <= GETDATE()) AS AsOfDate,
RTRIM(a.column2)...
March 23, 2011 at 11:37 am
GilaMonster (3/23/2011)
WayneS (3/22/2011)
Check out this 4-part article[/url] by MVP Gail Shaw. (Read the other parts as well - VERY useful information!)Except this query isn't doing an existence check....
I don't want...
March 23, 2011 at 10:04 am
I agree, that dropped the processing time in half. Thanks for the suggestion. 😀
March 23, 2011 at 8:58 am
Yeah, the crazy thing is that it is both domain admin and is explicitly added to the share. 🙁
February 16, 2011 at 1:48 pm
WayneS (9/15/2010)
Use the VB Join() function to pass all of the items.
Not exactly familiar with usage on the Join() function. I know I would put it in the 'Parameter...
September 15, 2010 at 11:24 am
Ah, I see now. Thank you!
September 14, 2010 at 2:24 pm
Thank you, I will give it a try. I still need to use SSIS because this is only one step in a pretty large process. But I appreciate...
August 19, 2010 at 7:50 am
I figured out that it was hanging at the validation phase because I had the entire package set as 'Required' and Serializable. I changed it to 'Supported' and only...
August 4, 2010 at 11:49 am
GilaMonster (7/15/2010)
Not like that.Look up computed columns. If a computed column adheres to a list of requirements, it can be persisted and indexed.
Oh I see. You can't use DATEPART...
July 15, 2010 at 7:58 am
Rudy Panigas (7/13/2010)
Nicely done!I have a question, is the order of the scripts the order of execution?
Thanks,
Rudy
Yes, the order of the scripts is the order of execution. I...
July 15, 2010 at 7:39 am
Viewing 15 posts - 61 through 75 (of 120 total)