Viewing 15 posts - 39,451 through 39,465 (of 59,072 total)
As a side bar, I would encapsulate the server name in double quotes in case you ever need to run the code against a named instance which will have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 7, 2010 at 8:56 am
sheik (3/7/2010)
I am using XP_CMDSHELL in SQL 2005. If Run the below query then it creates the file in the specified folder
EXEC MASTER..XP_CMDSHELL 'BCP "select Employee_Code from...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 7, 2010 at 8:54 am
Heh... probably not enough coffee on my part, yet, but I'm missing it, Chris. How can you use the code you posted to produce the ID_Line_No column content that...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 7, 2010 at 8:40 am
Thank you for the feedback. I'd have only repeated myself if I posted a solution for you on this thread and appreciate the time you took to peruse the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 6:47 pm
I agree that DTA can be more of a hindrance in the hands of someone inexperienced in the art of determining proper indexing. It will (many times) suggest indexes...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 6:43 pm
Then, perhaps the local recruiters would be just the ones to talk to BECAUSE it's a small world. 😉 Good words get around.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 6:33 pm
It would appear that an update to the "Forum Etiquette" article would be both appropriate and long overdue. :Whistling:
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 5:58 pm
clive-421796 (3/6/2010)
Would like to hear from the likes of Jeff Moden, Lynn Pettis, etc. if they have a solution for this.
Yowch! Really bad form, Clive. You've just insulted...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 3:37 pm
bitbucket-25253 (3/6/2010)
Heh... I thought drinking was mandatory!
--Jeff Moden
Only when it is NOT the server that has payroll data for the entire staff.
Heh.... the staff works just as hard... so.......
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 3:12 pm
We did something similar once. It was a huge amount of data, to boot. The process was relatively slow, the FTP repository needed to be maintained, etc, etc,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 12:19 pm
Whisper9999 (3/5/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 12:04 pm
lmu92 (3/6/2010)
The brief sample you posted doesn't match your expected result set.
If you could...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 12:01 pm
Heh... I thought drinking was mandatory! 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 11:58 am
george sibbald (3/6/2010)
You would have give those people kudos for trying to improve their opportunities in life, and on that basis I would be tempted to give them a chance.
If...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 11:24 am
ChrisM@home (3/6/2010)
Here's a CROSS APPLY version of Jeff's derived table solution:
I keep forgetting about CROSS APPLY. When it first came out, I thought, "Just Great... another way to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 6, 2010 at 11:18 am
Viewing 15 posts - 39,451 through 39,465 (of 59,072 total)