Viewing 15 posts - 1 through 15 (of 20 total)
FYI - the method I came up with was to search for a Unicode character value > 10000. I think the Chinese characters start around 12000.
December 11, 2007 at 3:18 am
OK - thx guys - your comments noted - I'm going to put this one to bed.
Cheers
June 21, 2007 at 1:50 am
If you have some working code that would be great.
June 20, 2007 at 9:44 am
Is something that someone here asked if it is possible to do. I thought I would check it out, and its probably possible to write it in some long winded...
June 20, 2007 at 9:27 am
That did the trick.
Cheers
May 29, 2007 at 5:53 am
Hi
One slight problem is that any fields that have a zero length char string are output as a space. I need this to not have a space.
Any Ideas
Cheers
Nickie
May 29, 2007 at 3:59 am
Fantastic answer. This is exactly the problem whereby the SQL server service was using a local admin account. It now uses a domain account.
Thanks for you answer.
Cheers
Nickie
May 24, 2007 at 5:09 am
The bcp command I used was
SELECT @FileName = 'C:\systemwatch' + CONVERT(VARCHAR(11),GETDATE(),112) + '.csv'
SET @bcpCommand = 'bcp "my select statement" queryout "'
SET @bcpCommand = @bcpCommand + @FileName + '" -ST6SQL -T...
May 21, 2007 at 10:18 am
Hi
I managed to get this set up and working using Jeffs BCP suggestion. I want to also try Jeffs OSQL method, but as usual other things get shoved up the...
May 17, 2007 at 11:05 am
Great - I have to leave work now - i may try later on from home, or first thing tomorrow, but i will let you know how i get on.
Thanks...
May 16, 2007 at 10:07 am
Good stuff - at least its not just me going mad. Just need to find a work around now.
Cheers
Nickie
May 16, 2007 at 9:33 am
Firstly - Thanks for everybody's help/input
The first couple of rows returns
0x530059005300570048004F00530050000000000000000000000000000000
0x330031003100320036003400480000000000000000000000000000000000
I've tried this as a dts to textfile and it works ok e.g. all columns dont have trailing spaces. I...
May 16, 2007 at 9:21 am
Hi
And just to add to my excitement - I tried running this as a DTS package and there are no trailing spaces. Aaarrggghhh.
Only trouble is I need it to output...
May 16, 2007 at 9:08 am
Hi
It still doesn't trim
Cheers
Nickie
May 16, 2007 at 8:56 am
OK - did that but have the same results - i've tried using set ansi_padding off etc but to no avail. Anything else I should try on my server.
May 16, 2007 at 8:36 am
Viewing 15 posts - 1 through 15 (of 20 total)