Viewing 15 posts - 57,586 through 57,600 (of 59,067 total)
Serqiy, my old friend... I'm sometimes amazed at the things people do that will either violate the security of the server, violate the integrity of the data, or just absolutely...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2006 at 1:20 am
Try the corrections I made to the BCP first (my last post)... and since you must be running this as an "SA" user to even use the xp_CmdShell, the -T...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 10:57 pm
It's already been done... in QA, open the object browser (press the {f8} key), drill down to the table of choice, right click on the table and select [Script Object...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 8:14 pm
Are you saying that you want to pass a CSV variable (ie. 'col1,col3,col5') to a stored procedure and have it return a result set with col1, col3, and col5 in...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 8:07 pm
Hmmm.... the code is NOT exactly the same... you added .Txt to the file name and messed up on some spacing (ie. BCP SET came out as BCPSET in your...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 7:52 pm
DOD eh? Haven't they heard of ISO standards for data? Sheesh! Where's Joe Celko when you need a good rant from him?
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 7:04 pm
Thanks Mita... I learn something new everytime I do something like this, so thanks for posting the problem.
Lemme know how long it takes to do the 14 million rows... I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 5:42 pm
I'll try running the code you posted back when I get home from work, tonight. Looks identical... dunno by more than casual glance why you are getting the BCP error...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 8:13 am
I never ask that question because the answer is usually something that raises my hackles
It's usually ok for Developers to have read...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 7:59 am
Ok... now I get to accuse you of reading minds...
My only distain for that is if you are comparing two or more...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 7:50 am
It's too bad that functions don't work like sprocs do when it comes to defaulting inputs so that we could make this function a little wider without having to insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2006 at 12:06 am
Yep... could be done that way and, as usual, is very easy and yet creative on your part. I was thinking something similar but I was really intrigued by the math...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2006 at 11:31 pm
Ok... here 'tis... should be at least 30 times faster
because it only produces the internal rows it needs for the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2006 at 11:11 pm
Almost done... hang in there...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2006 at 10:01 pm
Never mind
Well, duh!!! ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2006 at 8:53 pm
Viewing 15 posts - 57,586 through 57,600 (of 59,067 total)