Viewing 15 posts - 52,216 through 52,230 (of 59,072 total)
You need to double up on the embedded single quotes...
xp_cmdshell 'bcp "select CUSTOMER_ID,Email1 from R4W_001.dbo.SYSCUST_AUDIT where Email1=''abc@sarasu.com''" queryout "C:\SoundPub\EmailList\durga2.csv" -T -c'
--Jeff Moden
Change is inevitable... Change for the better is not.
March 2, 2008 at 9:17 am
Heh... considering that it's been over two weeks, I guess you do mind.
Thanks, anyway 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:42 pm
Heh... this is where I cheat like hell... everything is possible if you have the imagination for it... remember, before you can think outside the box, you must first realize...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:31 pm
Any feedback on this? Did it do what you wanted?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:18 pm
In that case, you can either use BCP with a format file that uses \" as part of the delimiter ("," would be "\",\"" in the delimiter column,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:07 pm
No... haven't used C2 Auditing... I forgot about that... might also be interesting to try.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 9:58 pm
That brings up an interesting point, Jack... I wonder if you can make a Trigger that has DDL Trigger associated with it and between the two, make it impossible even...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 5:19 pm
I've read about it and it just makes sense to me. The whole idea of set based processing is to make the paradigm shift from thinking about what to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 12:45 pm
Just my 2 cents...
I agree... having a default on the "Created" columns does the job for those... but, there's a catch... what happens if someone tries to UPDATE those columns?...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:50 am
Greg...
What do you want to see for output?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:19 am
Tom,
Just curious... Are you saying that "CM" is the abbreviation for "Customers" and that "CA" is the abbreviation for {customer}"Addresses"?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2008 at 10:16 am
I s'pose those are OK questions... there isn't a one in there that will help you figure out if you have an SQL Developer on your hands, though.
And that's part...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 29, 2008 at 6:22 pm
BCP will not import .DBF files. You'll need to use DTS for that. Or, you can use a linked server or OpenRowSet with the .DBF provider to link...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 29, 2008 at 6:00 pm
Sure... that would be a good start... I guess I'd set up the following alerts... of course, you have to know what's right for your system or you'll be up...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 29, 2008 at 5:47 pm
Heh... sounds like you're trying to build an electronic DBA... it would be cheaper in the long run if you just hired one. Seriously... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
February 29, 2008 at 3:54 pm
Viewing 15 posts - 52,216 through 52,230 (of 59,072 total)