Viewing 15 posts - 50,716 through 50,730 (of 59,078 total)
Heh... you made my day, Sergiy. I've been trying to convice a DBA on a little side job of those very same points... he's doing things like using calculated...
May 6, 2008 at 8:00 pm
susheereddy (5/6/2008)
and the file name will be in this format [deposit]yearmonthtime.
yearmonthtime... so no days in there. The year could be 2 or 4 digits. The month could be...
May 6, 2008 at 6:55 pm
Outstanding, Sergiy... you've reminded me of a couple of questions that I've always wanted to ask about such multi-purpose (Numbers/Tally + Date table + other) tables... guess now's as good...
May 6, 2008 at 6:38 pm
Well, at least it has some documentation to let you know what's going on... that's a start.
You already know the bad news... this code has joins of concatenated address columns...
May 6, 2008 at 6:14 pm
wdillon (5/6/2008)
May 6, 2008 at 5:41 pm
Matt Miller (5/6/2008)
Steve's had a buzzer implanted on Jeff, that goes off each time a new post is added...:)
So THAT's what it is! Here I was trying to cut...
May 6, 2008 at 5:32 pm
matt6749 (5/6/2008)
DECLARE @sql nvarchar(4000)
SET @sql = 'SELECT ID, Name, Address
FROM
(SELECT ID, Name, Address,
ROW_NUMBER()...
May 6, 2008 at 4:41 pm
Ok... I'll try a third and final time... I'm trying to help you do this using xp_CmdShell and Bulk Insert, as you requested. I asked you a couple of...
May 6, 2008 at 9:09 am
Ummm... you certainly don't need a cursor to transpose a table. Cross-tabs, dynamic cross-tabs, and the occasional use of the Pivot function do the job in a nice set...
May 6, 2008 at 9:03 am
Holy Moly... that's one heck of a lot of analysis. Did they actually get anything useful out of all that?
May 6, 2008 at 8:22 am
dfalso (5/6/2008)
I'll attempt to give an example to illustrate (btw, this also illustrates a candidate for an appropriate use of cursors):
Think...
May 6, 2008 at 8:18 am
GSquared (5/6/2008)
May 6, 2008 at 7:31 am
Now, you know why I've chosen the Avatar that I have... 🙂
Cursors = RBAR
May 6, 2008 at 6:53 am
The reason why the variable had the value subtracted twice is to make it work properly... you wanted the running total to NOT include the current value and that's one...
May 6, 2008 at 6:24 am
Viewing 15 posts - 50,716 through 50,730 (of 59,078 total)