devxlogo

Unicode Support in SQL Server 7.0 Simplifies International Localization

Unicode Support in SQL Server 7.0 Simplifies International Localization

SQL Server 7.0 includes full Unicode support, which simplifies international localization. N is the Transact SQL (T-SQL) shorthand that tells SQL Server you’re referencing a Unicode string. In this example, sp_addlinkedserver is used to create a linked server named MyServer. This command has Unicode support while translating the ‘SQL Server’ string:

           USE master          GO          EXEC sp_addlinkedserver               'MyServer',                N'SQL Server'          GO

where ‘MyServer’ is the name of the linked server to create and ‘SQL Server’ is the product name of the OLE DB data source to add as a linked server. The N prefix tells SQL Server to use the Unicode character set to translate the ‘SQL Server’ string. The N prefix isn’t necessary if you use the same code page on all your clients and servers and don’t deal with language localization problems. However, Unicode works well if you’re not sure whether you’re using the same code page on all your clients and server.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist