Wrox Programmer Forums
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 10th, 2003, 12:26 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Default Scripts Format

When SQL Server 2000 creates a script, it dumps it into an .sql file with UniCode text. This causes problems with most text editors - I use Multi-Edit.

Can SQL Server 2000 be made to dump the script in plain ASCII text instead of UniCode? If so how do you do it?

Alternately, do you know of a text/programmer's editor that can handle UniCode?

Old July 10th, 2003, 12:53 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post

How are you generating the scripts?

If you are using EM, Generate script option for the object(s) you are scripting, look on the 'Options' tab of the dialog. There you will see a 'File Format' section. By default the International setting (UNICODE) is selected, but you can change it to DOS or ANSI (8 bit ASCII)

Jeff Mason
Custom Apps, Inc.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert British format date to American format? fyr PHP How-To 0 December 19th, 2007 03:17 PM
Sql Scripts webnathan ASP.NET 1.0 and 1.1 Basics 2 November 16th, 2007 05:50 AM
Convert Rich Text Format to Ordinary Format in ASP Andraw Classic ASP Basics 1 August 31st, 2007 10:05 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.