Viewing 15 posts - 44,701 through 44,715 (of 59,095 total)
john.clyma (3/9/2009)
Thanks for the response! I have used 'If exists(blah)' in the past, it slipped my mind. Is there a way to mark the post as 'complete' or...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 6:24 pm
UB (3/9/2009)
Like I pointed out in the example, the value in ID column doesn't necessarily have t match the integer value in the 'VARCHAR ID' column
So, after 2 weeks, have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 6:14 pm
My favorite trick to resolving most of the problems stated in this thread is to do a pre-aggregation in a Temp Table and go from there. It limits performance...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 6:09 pm
t.walker (3/9/2009)
The basic point here is 'if it broke don't fix it'. If it is broken...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 5:59 pm
jparker2 (3/9/2009)
It can be...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 4:41 pm
Chris Morris (3/9/2009)
Jeff Moden (3/7/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 4:34 pm
Yep... no need for the extra column...
SET @bcpcommand = 'bcp "SELECT ''"''+title,forename,surname,pafad1,pafad2,pafad3,pafad4,pafad5,pafad6,postcode,urn,emailaddress from ASHLEY.DBO.tablename" queryout c:\work\ashtest.txt -f c:\work\bcpformatfile.fmt -T'
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 4:29 pm
arasan_lotus (3/9/2009)
actually I am new in sqlserver,
EXEC JPCFHONYVLDATA..xp_CmdShell 'Dir C:\'
when i execute above code ,I got "Could not locate entry in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 4:24 pm
Bob Hovious (3/9/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 4:18 pm
GSquared (3/9/2009)
Grant Fritchey (3/9/2009)
All right! Lynn is turning into one of those old school saints who wades in & beats the snot out of the unbelievers.
That is too funny! ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 4:16 pm
If we can't get this bugger up and running in short order, we'll do the QUOTENAME thing for the export so we don't have to mess with the Format file......
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 6:19 am
Heh... dammit... I didn't test it and I forgot about that little nuance... My humble appolgogies...
Here's a new BCP Format file with no "skips"...
9.0
12
1 SQLCHAR 0...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2009 at 6:17 am
Yow... sorry Flo... "OP" can mean either "the Original Poster" or the "Original Post" depending on how it's used in a sentance. And, it can also be a bit...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2009 at 6:38 pm
I don't mind so long as MS stops deprecating stuff... that's a bloody killer.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2009 at 6:35 pm
Heh... dangit, Andrew... you beat me to it. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2009 at 6:30 pm
Viewing 15 posts - 44,701 through 44,715 (of 59,095 total)