Viewing 15 posts - 34,531 through 34,545 (of 59,102 total)
Heh... I don't mind 2 year old threads being resurrected especially if someone has a good tip. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 7:15 am
TheSQLGuru (3/23/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 23, 2011 at 7:08 am
CELKO (3/22/2011)
Why don't you know the names of the staging tables and hardcode them?
Hmmm... good question, Joe.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 10:42 pm
TheSQLGuru (3/21/2011)
Simple solution: do ALL of your math in a SINGLE PASS over the table. Do not have umpteen hits on the table (views or no views).
Gosh, Kevin. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 8:25 pm
FredS-1001785 (3/21/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 8:22 pm
Brandie Tarvin (3/22/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 8:11 pm
I usually keep my ETL machines separate and isolated. They are not public facing and they're normally setup to only "pull" data from various sites/providers. Even then, I'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 8:02 pm
P Jones (3/22/2011)
I'd rather cobble it together myself though, so I really understand it, especially when it needs modifying a year down the line!.
Can't ask for a better attitude than...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 4:19 pm
irfanshaukat999 (3/22/2011)
Many thakns for your reply:)
yes I can use xp_CmdShell or sp_OACreate.
No I am not restricted to T-SQL solution. Actually I dnt know much about SSIS. I did serach about...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 4:18 pm
I wouldn't use a view for this. If I had to continue with an Adjaceny List, I'd create two UDF's as iTVF's (Inline Table Valued Functions) so I could...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 6:57 am
I have to agree with Dixie... although my tendency is cringe at the mere mention of "Cursor" or "While Loop" and I really do understand the "code artist" in good...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 6:52 am
Can you use xp_CmdShell or sp_OACreate?
Also, considering the good information others have posted about how to do this with SSIS, are you sure you want a T-SQL only solution?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2011 at 6:06 am
Good. As a side bar, though, I wouldn't store the calculated column as a VARCHAR(MAX) because the full message is only required at display time.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2011 at 4:44 pm
Heh... but Tiger Lilly just isn't a Rose. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2011 at 4:22 pm
Rao.V (3/21/2011)
you also can use option called "SEQUENCE" for that column so that it generates number automatically when u insert a new row
Rao.V (3/21/2011)
yes i mean identity
???:blink: 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2011 at 11:45 am
Viewing 15 posts - 34,531 through 34,545 (of 59,102 total)