Viewing 15 posts - 241 through 255 (of 411 total)
Then once more my question to you is what is telling SSIS where to go and find those configurations?
June 10, 2008 at 12:15 am
Hey,
I would be really interested to know what that setting is...
I know that if you set results to text and copy and paste to excel it keeps your formats. But...
June 10, 2008 at 12:09 am
Hey,
Please post if you came right on this one
~PD
June 10, 2008 at 12:07 am
2 suggestions:
1 - with variables
declare @distinctQTY bigint
select @distinctQTY = count (distinct sign(Qty)) from x With (NoLock) where xtype= 'S' and status = 'LIVE') =2
declare @maxDayQtyGTZero datetime
select @maxDayQtyGTZero = max(DayDt)...
June 9, 2008 at 4:30 am
Any specific reason you are copying and pasting from SSMS to Excel?
I tend to agree, exporting works equally as nice, plus you get headers for free
~PD
June 9, 2008 at 4:16 am
Ahhhh, I did misunderstand....
Maybe consider using replication
June 9, 2008 at 4:10 am
Almost like a "current" table?
If that is the case, drop the table and insert into where current indicator = 'Y' should do. Just about the fastest method you gonna find
~PD
June 9, 2008 at 3:36 am
Ahhhhhh that makes sense and explains quite a lot.
Thanks
~PD
June 8, 2008 at 7:31 pm
Havent worked enough with the SCD wizard to know it off by hand. But I havent heard of any kind of time settings.
Why dont you test with a small subset...
June 8, 2008 at 7:26 pm
Thanks man,
I seriously get to write a lot of case statements for different reasons, such as 1/0 kind of fields, so I am always looking out for different more...
June 8, 2008 at 7:22 pm
I have a really simple question for my half a braincell which has never been exposed to replication.
Can anyone explain why the gaps appear in identity columns. I really dont...
June 8, 2008 at 7:07 pm
Hey,
There is an ISNULL function that you may consider using.
Select isnull(p.NAME, 'N/A') would do the same thing as the case statement.
Not sure it will solve your Null problem though...
~PD
June 8, 2008 at 6:55 pm
Hey,
Remember that SSIS is case and space sensitive, so even if it may appear that nothing changes, something may in fact be changing
~PD
June 8, 2008 at 6:47 pm
Dynamic SQL Pivot equivalent for the case statements would look something like so....
declare @colList varchar(max)
declare @selList varchar(max)
select @colList = COALESCE(@colList + ',', '') + RankingGroup ...
June 8, 2008 at 6:33 pm
Viewing 15 posts - 241 through 255 (of 411 total)