Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-05-2006, 06:17 PM
beaugirl beaugirl is online now
Registered User
 
Join Date: 05-05-2006
Posts: 2
SQL Output to File foreign character problem

Hello -- I have a step where I run some SQL and Output to File. Some of characters I output have accents and such. When I run the very same SQL script in Query Analyzer with "output to file" it is correct. However, when I run the SQL using VBP, the output has various replacement characters. In both cases, the resulting file is ANSI. Is there any way to correct this?
Reply With Quote
  #2  
Old 05-08-2006, 02:58 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
Add

-u

to the 'Additional command-line options' on the Server tab of the Run SQL action to cause OSQL to generate a Unicode (UTF-16) file.
Reply With Quote
  #3  
Old 05-08-2006, 03:22 PM
beaugirl beaugirl is online now
Registered User
 
Join Date: 05-05-2006
Posts: 2
That works, thank you!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:58 AM.


Copyright 1999-2019 Kinook Software, Inc.