22nd International Unicode Conference San Jose, CA September 20021 Going Global With SQL Server 2000 Beverly Sherry Program Manager Global Release Services.

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

The creation of "Yaolan.com" A Site for Pre-natal and Parenting Education in Chinese by James Caldwell DAE Interactive Marketing a Web Connection Company.
Module 8 Importing and Exporting Data. Module Overview Transferring Data To/From SQL Server Importing & Exporting Table Data Inserting Data in Bulk.
Introduction to ETL Using Microsoft Tools By Dr. Gabriel.
1 Chapter 12 Working With Access 2000 on the Internet.
Fundamentals, Design, and Implementation, 9/e Chapter 12 ODBC, OLE DB, ADO, and ASP.
The ADO Data Control. Universal Data Access Open Database Connectivity (ODBC) –standard for accessing data in databases OLE-DB –allows access to data.
Object-Oriented Application Development Using VB.NET 1 Chapter 13 Introduction to Data Access Classes and Persistence.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Week 5 – Chap. 5 Data Transfer DBAs often must transfer data to and from text files, Excel spreadsheets, Access, Oracle or other SQL Server databases This.
Copying, Managing, and Transforming Data With DTS.
Phonegap Bridge – File System CIS 136 Building Mobile Apps 1.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
Understanding Analysis Services Architecture. Microsoft Data Warehousing Overview OLTP Source DTS DW Storage Analysis Services Clients OLE DB for OLAP,
Module 2: Using Transact-SQL Querying Tools. Overview SQL Query Analyzer Using the Object Browser Tool in SQL Query Analyzer Using Templates in SQL Query.
San José, CA – September, 2004 Localizing with XLIFF and ICU Markus Scherer Raghuram (Ram) Viswanadha IBM San.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Module 1: Introduction to Microsoft SQL Server 7.0.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Overview of SQL Server Alka Arora.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
9 Chapter Nine Extracting and Transforming Data with SQL Server 2000.
Databases C HAPTER Chapter 10: Databases2 Databases and Structured Fields  A database is a collection of information –Typically stored as computer.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
1 SQL Server 2000 Administration Kashef Mughal MSB.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
Populating a Data Warehouse. Overview Process Overview Methods of Populating a Data Warehouse Tools for Populating a Data Warehouse Populating a Data.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
SQL Server 2012 Session: 1 Session: 3 Introduction to SQL Server 2012 Data Management Using Microsoft SQL Server.
Module 3: Creating Data Types and Tables. Overview Working with Data Types Working with Tables Generating Column Values Generating Scripts.
Christopher M. Pascucci.NET Programming: Databases & ADO.NET.
Complex Scripts* in Internet Explorer 5.0 *and Multilingual text F. Avery Bishop Senior Program Manager Microsoft Corporation.
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 14 Globalization Support in the Database.
DAT290 Databases for the World: Designing Multilingual Databases Using SQL Server 2005 Michael Kaplan Technical Lead Globalization Infrastructure, Fonts.
Today’s Agenda Chapter 7 Review for Midterm. Data Transfer Tools DTS (Data Transformation Services) BCP (Bulk Copy Program) BULK INSERT command Other.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
What’s New In Denali - TSQL David Ballantyne. Who am I Kent.Net/SqlServer.
Internationalization in ASP.NET 2.0. SQL Server 2005 – Data Columns Use Unicode datatypes in: Table columns, CONVERT() and CAST() operations Use Unicode.
Data Types Lesson 4. Skills Matrix Table A table stores your data. Tables are relational in that they are organized as rows and columns (a matrix). Each.
Week 7 Lecture 2 Globalization Support in the Database.
16 Copyright © 2006, Oracle. All rights reserved. Using Globalization Support.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Session 1 Module 1: Introduction to Data Integrity
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
What’s new in ADO 2.5 Greg Hinkel Program Manager Data Access Group
7-1 Active Server and ADO Colorado Technical University IT420 Tim Peterson.
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
Creating Simple and Parallel Data Loads With DTS.
Module 9: Using Advanced Techniques. Considerations for Querying Data Working with Data Types Cursors and Set-Based Queries Dynamic SQL Maintaining Query.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Advanced Database & Client Server Introduction to MS SQL Server 2000 and Transact SQL -
Enterprise Database Systems Introduction to SQL Server Dr. Georgia Garani Dr. Theodoros Mitakos Technological.
Generating XML Data from a Database Eugenia Fernandez IUPUI.
Comprehensive Flexible Global Storage and Search Responsive Available Secure Manageable Federation Coordination Consolidation Transformation Synchronization.
Creating Database Objects
Module 1: SQL Server Overview
Module 2: Creating Data Types and Tables
Databases.
Chapter 2: Creating And Modifying Database Tables
Creating Database Objects
Presentation transcript:

22nd International Unicode Conference San Jose, CA September Going Global With SQL Server 2000 Beverly Sherry Program Manager Global Release Services for SQL Server Microsoft Corporation

22nd International Unicode Conference San Jose, CA September 20022

3 SQL Server Setup Clean Install/Collation Upgrades/Collation

22nd International Unicode Conference San Jose, CA September Collation Collation what is it and why do we need it to support our multilingual data?

22nd International Unicode Conference San Jose, CA September Collation in SQL Server 6.5 and earlier versions No Unicode support One code page per server One collation per server

22nd International Unicode Conference San Jose, CA September Collation in SQL Server 7.0 Unicode datatypes supported Two collations –Unicode –Non-Unicode Number of collations distilled down to the minimum necessary Collation consistency across OS ’ s

22nd International Unicode Conference San Jose, CA September Collation in SQL Server 2000 Combined code pages and Unicode collations into a single entity Flexible model to specify collations at a more granular level

22nd International Unicode Conference San Jose, CA September "Windows" collations 43 language collations –Added for unique code pages –Added for unique ordering Suffix meanings –_BIN (Binary) –_CI/_CS (Case sensitivity) –_AI/_AS (Accent sensitivity) –_KS - kanatype sensitivity (hiragana/katakana) –_WS - width sensitivity (full/half width)

22nd International Unicode Conference San Jose, CA September SQL Collations Provided for backwards compatibility with prior versions of SQL Server

22nd International Unicode Conference San Jose, CA September Collation at four levels Server Database Column Expression

22nd International Unicode Conference San Jose, CA September Collation at the server level Acts as a default for all databases Can be changed with RebuildM.exe in the tools\BINN dir – why do you want to do this and how. Querying the server collation: SELECT CONVERT(char, SERVERPROPERTY('collation'))

22nd International Unicode Conference San Jose, CA September Upgrade Path Unicode datatypes in master database –DB-object metadata converted in Unicode –Sort order compatibility Scripting in Unicode Code page override. US French Korean 8.0 7.07.07.07.0

22nd International Unicode Conference San Jose, CA September Defining your data store UCS-2 Server storage Data type –Unicode NCHAR, NVARCHAR, NTEXT, META data – SYSNAME N ’ Unicode ’ –DBCS/SBCS Char, VARCHAR, text

22nd International Unicode Conference San Jose, CA September Collation at the database level Every database has a collation (default is the server collation) Create database db_test collate Latin1_General_CI_AI Collation can be changed using ALTER DATABASE SELECT CONVERT(char, DATABASEPROPERTYEX(‘db_test', 'collation'))

22nd International Unicode Conference San Jose, CA September Collation at the column level Overrides database level collation CREATE TABLE jobs ( job_id smallint IDENTITY(1,1) PRIMARY KEY CLUSTERED, job_desc varchar(50) COLLATE Arabic_CI_AI_KS NOT NULL DEFAULT 'New Position - title not formalized yet', )

22nd International Unicode Conference San Jose, CA September Collations by Expressions SELECT * FROM Table1 WHERE Field1 = Field2 COLLATE Turkish_ci_ai

22nd International Unicode Conference San Jose, CA September The Rules of Precedence for Collations Explicit BImplicit BDefaultNo Collation Explicit A Runtime ErrorExplicit A Implicit A Explicit BNo CollationImplicit ANo Collation Default Explicit BImplicit BDefaultNo Collation Explicit BNo Collation

22nd International Unicode Conference San Jose, CA September Unicode Data Flow Server OLE/DB ODBC 8.0 Client –ODBC 3.7+/OLEDB –TDS 8.0, 8.0 Netlibs support Unicode –Character data converted to/from Unicode on client (Server code page required on client) –T-SQL batches received in Unicode, parsed in Unicode on Server. Netlib ODS SQL Server Application Netlib Downlevel client –DBLIB, ODBC <3.7 clients –TDS 4.2 –T-SQL batch received in DBCS/ANSI code page of the client –Translated to Unicode using the Server code page on the Server DB-LibODBC Application Netlib TDS 8.0 TDS 4.2

22nd International Unicode Conference San Jose, CA September Data Flow ODBC client to server Language event is always in Unicode Client ACP to Unicode to server ‘ A ’ - Unicode to server character set N ‘ A ’ as Unicode SQL_C_CHAR CHAR Unicode Svr CHAR Client side conversion char SQL_C_CHAR NCHAR SYSNAME Unicode SQL_C_CHAR CHAR bytes NO TRANSLATION ACP SQL_C_WCHAR CHAR Unicode Svr CHAR cha r ClientServer

22nd International Unicode Conference San Jose, CA September Data Flow OLEDB to server: –SSPROP_INIT_AUTOTRANSLATE as VARIANT_TRUE Server code page on the client DBTYPE_STR CHAR Unicode Svr CHAR Client side conversion char DBTYPE_STR NCHAR SYSNAME Unicode DBTYPE_STR CHAR bytes VARIANT_FALSE ACP CHAR Unicode Svr CHAR char ClientServerDBTYPE_WSTR

22nd International Unicode Conference San Jose, CA September NET Providers

22nd International Unicode Conference San Jose, CA September Data Access International T-SQL –NCHAR and N ’’ –No name strings in date/time –ODBC timestamp –CONVERT with specific style

22nd International Unicode Conference San Jose, CA September Data flow Data Transformation ….. OLE DB ODBC Fixed field ASCII delimited OLE DB ODBC Fixed field ASCII delimited HTML page Repl. publication DTS Data Pump Xforms Source Destination InOut Steps

22nd International Unicode Conference San Jose, CA September Client Flow Session language syslanguages –Precedence Set by ‘ set language ’ Set by connection attribute Set by user record in syslogins –Cultural behavior Language of error messages Date format, month name Day of week and abbreviations

22nd International Unicode Conference San Jose, CA September BCP –bcp -w : Performs bulk copy operation using Unicode characters. –bcp -N : Performs the bulk copy operation using the native (database) data types of the data for non-character data, and Unicode characters for character data.

22nd International Unicode Conference San Jose, CA September XML You can specify an output encoding in a URL. XML templates can specify an encoding. Unicode by default

22nd International Unicode Conference San Jose, CA September Full text Allows for word or phrase-based indexing of character data. Full-text indexing enables the creation and population of the full-text catalogs, which are maintained outside of SQL Server and managed by the Microsoft Search service. Full-text search uses the new Transact-SQL predicates (CONTAINS, CONTAINSTABLE, FREETEXT, and FREETEXTTABLE) to query these populated full-text catalogs. With a full-text query, you can perform –A linguistic search of character data in tables enabled for full-text search. –A linguistic search operates on words and phrases unlike the LIKE predicate which is used to search character patterns. Manipulate to get what you want

22nd International Unicode Conference San Jose, CA September Tools Manageability Unicode based –SQL-DMO

22nd International Unicode Conference San Jose, CA September Tools Web Assistant

22nd International Unicode Conference San Jose, CA September Backup and Restore Restore uses the collation of the source databases Verify the collation is support on the instance of SQL Server

22nd International Unicode Conference San Jose, CA September Replication Publisher Distributor Updating Subscriber (immediate updates) 2PC, RPC Subscriber Subscriber

22nd International Unicode Conference San Jose, CA September Analysis Services OLAP Server OLEDB, ADO, XML/A Client Tier MD ActiveX Controls MD ActiveX Controls MD Extension to OLE DB MD Extension to OLE DB Office 2000 Interfaces Office 2000 Interfaces 3rd Party Clients 3rd Party Clients OLAP Server Tier  Multidimensional data modeling and calculation engine calculation engine  Persistent multidimensional cache OLEDB / ODBC

22nd International Unicode Conference San Jose, CA September Unicode Data Flow in Fringe Areas Script usage –Command line tools ISQL utility does not support Unicode input files. OSQL -u (Specifies that output_file is stored in Unicode format). –Query analyzer, save as Unicode / ANSI / OEM.

22nd International Unicode Conference San Jose, CA September Resources International Features in Microsoft SQL Server Arabic Language Support in Microsoft SQL Server SQL Server Books On Line