سؤال

I have to run a select query in SQL Server via BAtch file and the output needs to be in ANSI format. Whenever I run, the output seems to be in Unicode. The successor job uses a exe file to which the output of the query is used as input.

I know the right-click and save as option but I am not sure how to modify the code for it. Any help would be deeply appreciated

هل كانت مفيدة؟

المحلول

try this:

type unicodefile > ansifile
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top