Viewing 15 posts - 34,531 through 34,545 (of 59,099 total)
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
GSquared (3/21/2011)
We're going to have to agree to disagree on this one.
Heh... agreed. Thanks, Gus.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 21, 2011 at 11:42 am
I don't use SSRS but I have people that do nearby. What they do under such cirumstances is they get the data from a stored procedure and they typically...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 9:36 pm
I certainly do use the execution plans to give me an idea of where potential trouble spots are concerned especially when it comes to index usage and possible many-to-many joins...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2011 at 9:31 pm
Viewing 15 posts - 34,531 through 34,545 (of 59,099 total)