[MS-TSQLISO03]: SQL Server Transact-SQL ISO/IEC Standards Support Document

Similar documents
[MS-TSQLISO03]: SQL Server Transact-SQL ISO/IEC Standards Support Document

[MS-TSQLISO03-Diff]: SQL Server Transact-SQL ISO/IEC Standards Support Document

[MS-XHTML]: Internet Explorer Extensible HyperText Markup Language (XHTML) Standards Support Document

Microsoft XML Namespaces Standards Support Document

Microsoft XML Namespaces Standards Support Document

[MS-POINTERLOCK]: Microsoft Edge / Internet Explorer Pointer Lock Standards Support Document

[MS-EME]: Microsoft Edge Encrypted Media Extensions Standards Support Document

[MS-HVRS]: Intellectual Property Rights Notice for Open Specifications Documentation

[MS-HVRS]: Intellectual Property Rights Notice for Open Specifications Documentation

[MS-ES2017-INTL]: Microsoft Edge ECMAScript 2017 Internationalization API Specification (ECMA-402, 4th Edition, June 2017)

[MS-PICSL]: Internet Explorer PICS Label Distribution and Syntax Standards Support Document

[MS-TTML]: Internet Explorer Timed Text Markup Language (TTML) 1.0 Standards Support Documentation

[MS-ESI2]: Microsoft Edge / Internet Explorer ECMA-402 ECMAScript Internationalization API (2nd Edition) Specification

[MS-XMLSS]: Microsoft XML Schema (Part 1: Structures) Standards Support Document

[MS-CONNMGR]: Integration Services Connection Manager File Format. Intellectual Property Rights Notice for Open Specifications Documentation

Integration Services Connection Manager File Format

[MS-ISO10646]: Microsoft Universal Multiple-Octet Coded Character Set (UCS) Standards Support Document

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-RDPET]: Remote Desktop Protocol: Telemetry Virtual Channel Extension

[MS-EPUB3]: Microsoft Edge / Internet Explorer EPUB Publications Standards Support Document

[MS-CTDOC]: Word Custom Toolbar Binary File Format. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-PROPSTORE]: Property Store Binary File Format. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-WEBSTG]: Internet Explorer Web Storage Standards Support Document

[MS-POINTER]: Microsoft Edge / Internet Explorer Pointer Events Standards Support Document

[MS-CTDOC]: Word Custom Toolbar Binary File Format. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-RDPET]: Remote Desktop Protocol: Telemetry Virtual Channel Extension

[MS-MCI]: Microsoft ZIP (MSZIP) Compression and Decompression Data Structure

[MS-PSRDP]: PowerShell Remote Debugging Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Query and Result Configuration Protocol Specification

RTP for Application Sharing Payload Format Extensions

[MS-DOM4]: Microsoft Edge / Internet Explorer DOM4 Standards Support Document

[MS-FILESYNC]: File Synchronization Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-DPSMDL]: Semantic Model Definition Language Data Portability Overview

[MS-CANVAS2D]: Microsoft Edge / Internet Explorer HTML Canvas 2D Context Standards Support Document

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-DPSMDL]: Semantic Model Definition Language Data Portability Overview

[MS-THCH-Diff]: Tracing HTTP Correlation Header Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-ASPSS]: ASP.NET State Service Database Repository Communications Protocol

[MS-INDEXDB]: Microsoft Edge / Internet Explorer Indexed Database API Standards Support Document

Remote Access Server Advertisement (RASADV) Protocol

[MS-RTPRADEX]: RTP Payload for Redundant Audio Data Extensions. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-DPIS]: Integration Services Data Portability Overview. Intellectual Property Rights Notice for Open Specifications Documentation

Report Definition Language Data Portability Overview

[MS-SSP]: Intellectual Property Rights Notice for Open Specifications Documentation

[MS-SNID]: Server Network Information Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-SNID-Diff]: Server Network Information Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-DPEDM]: Entity Data Model Data Portability Overview

[MS-TURNBWM]: Traversal using Relay NAT (TURN) Bandwidth Management Extensions

[MS-CPSP-Diff]: Connection Point Services: Phonebook Data Structure. Intellectual Property Rights Notice for Open Specifications Documentation

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-WDSMA]: Windows Deployment Services Multicast Application Protocol

Intellectual Property Rights Notice for Open Specifications Documentation

[MS-SSISPARAMS-Diff]: Integration Services Project Parameter File Format. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-PCCRTP]: Peer Content Caching and Retrieval: Hypertext Transfer Protocol (HTTP) Extensions

[MS-RTPRAD]: Real-Time Transport Protocol (RTP/RTCP): Redundant Audio Data Extensions

[MS-UPSSYNC]: User Profile Synchronization Stored Procedures Protocol Specification

[MS-DPEDMX]: Entity Data Model for Data Services Packaging Format Data Portability Overview

[MS-DPREP-Diff]: Replication Data Portability Overview. Intellectual Property Rights Notice for Open Specifications Documentation

Remote Access Server Advertisement (RASADV) Protocol

OData Protocol JSON Format Standards Support Document

SQL:1999. A Tutorial. Jim Melton Consulting Member of Technical Staff Oracle Server Technologies

[MC-SMP]: Session Multiplex Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-GSSA-Diff]: Generic Security Service Algorithm for Secret Key Transaction Authentication for DNS (GSS-TSIG) Protocol

[MC-CCFG]: Server Cluster: Configuration (ClusCfg) Protocol

[MS-DPPDW]: Parallel Data Warehouse Data Portability Overview. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-OAUTH2EX]: OAuth 2.0 Authentication Protocol Extensions. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-WDSC]: Windows Deployment Services Control Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-GRVRDB]: Groove RDB Commands Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-RDPEPS]: Remote Desktop Protocol: Session Selection Extension

[MS-FSIDFT]: Indexing Dispatcher Fault Tolerance Protocol Specification

[MS-OXPHISH]: Phishing Warning Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Preliminary. [MS-EUMSDP]: Exchange Unified Messaging Session Description Protocol Extension

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-ASNOTE]: Exchange ActiveSync: Notes Class Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-STANXIMAP]: Exchange Internet Message Access Protocol (IMAP) Standards Compliance

[MS-RTPRAD-Diff]: Real-Time Transport Protocol (RTP/RTCP): Redundant Audio Data Extensions

[MS-VSOD]: Virtual Storage Protocols Overview. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-WDSMSI]: Windows Deployment Services Multicast Session Initiation Protocol

[MS-NCT-Diff]: Network Cost Transfer Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-SSDP-Diff]: SSDP: Networked Home Entertainment Devices (NHED) Extensions

[MS-TURNBWM]: Traversal using Relay NAT (TURN) Bandwidth Management Extensions

[MS-CAPR-Diff]: Central Access Policy Identifier (ID) Retrieval Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-CAPR]: Central Access Policy Identifier (ID) Retrieval Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Preliminary. [MS-WSSCFGD3]: Windows SharePoint Services Configuration Database Communications Version 3 Protocol Specification

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-RDPEMC]: Remote Desktop Protocol: Multiparty Virtual Channel Extension

Wide Area Network Device Presence Protocol (WAN DPP)

[MS-NCT-Diff]: Network Cost Transfer Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Preliminary. [MS-OXABREF]: Address Book Name Service Provider Interface (NSPI) Referral Protocol

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

[MS-IISS]: Internet Information Services (IIS) ServiceControl Protocol

[MS-HRL]: Intellectual Property Rights Notice for Open Specifications Documentation

[MS-RDPECLIP]: Remote Desktop Protocol: Clipboard Virtual Channel Extension

[MS-SQOS]: Storage Quality of Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Transcription:

[]: SQL Server Transact-SQL ISO/IEC 9075-3 Standards Support Document Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages, standards as well as overviews of the interaction among each of these technologies. Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you may make copies of it in order to develop implementations of the technologies described in the Open Specifications and may distribute portions of it in your implementations using these technologies or your documentation as necessary to properly document the implementation. You may also distribute in your implementation, with or without modification, any schema, IDL s, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications. No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that may cover your implementations of the technologies described in the Open Specifications. Neither this notice nor Microsoft's delivery of the documentation grants any licenses under those or any other Microsoft patents. However, a given Open Specification may be covered by Microsoft Open Specification Promise or the Community Promise. If you would prefer a written license, or if the technologies described in the Open Specifications are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting iplg@microsoft.com. Trademarks. The names of companies and products contained in this documentation may be covered by trademarks or similar intellectual property rights. This notice does not grant any licenses under those rights. Fictitious Names. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events depicted in this documentation are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred. Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other than specifically described above, whether by implication, estoppel, or otherwise. Tools. The Open Specifications do not require the use of Microsoft programming tools or programming environments in order for you to develop an implementation. If you have access to Microsoft programming tools and environments you are free to take advantage of them. Certain Open Specifications are intended for use in conjunction with publicly available standard specifications and network programming art, and assumes that the reader either is familiar with the aforementioned material or has immediate access to it. [] v20120629 1 / 10

Revision Summary Date Revision History Revision Class Comments 06/29/2012 1.0 New Released new document. 2 / 10 [] v20120629

Contents 1 Introduction... 4 1.1 Glossary... 4 1.2 References... 4 1.2.1 Normative References... 4 1.2.2 Informative References... 4 1.3 Microsoft Implementations... 4 1.4 Standards Support Requirements... 5 1.5 Notation... 5 2 Standards Support Statements... 6 2.1 Normative Variations... 6 2.1.1 Mandatory Features... 6 2.1.1.1 C011, All facilities defined by this part of ISO/IEC 9075... 6 2.1.2 Optional Features... 8 2.2 Clarifications... 8 2.3 Error Handling... 8 2.4 Security... 8 3 Change Tracking... 9 4 Index... 10 [] v20120629 3 / 10

1 Introduction The SQL Server Transact-SQL ISO/IEC 9075-3 Standards Support Document provides a statement of standards support. It is intended for use in conjunction with the Microsoft technical specifications, publicly available standards specifications, network programming art, and Microsoft distributed systems concepts. It assumes that the reader is either familiar with the aforementioned material or has immediate access to it. A Standards Support document does not require the use of Microsoft programming tools or programming environments in order to implement the standard. Developers who have access to Microsoft programming tools and environments are free to take advantage of them. The Transact-SQL language is a procedural extension of the SQL database programming language as implemented by Microsoft [MSDN-Transact-SQLRef]. Transact-SQL supports and extends ANSI SQL. The Transact-SQL dialect is based on the SQL language specification (International Standard IS0/IEC 9075). The SQL Server Transact-SQL ISO/IEC 9075-3 Standards Support Document describes the level of support that is provided by Transact-SQL in both SQL Server 2008 R2 and SQL Server 2012 for Part 3: Call-Level Interface (SQL/CLI) of the [ISO/IEC 9075-3:2008] specification. At the time of first release of [], [ISO/IEC 9075-3:2008] was the most current version of Part 3. 1.1 Glossary The following terms are specific to this document: Transact-SQL: The Microsoft proprietary version of SQL, the structured query language. 1.2 References 1.2.1 Normative References We conduct frequent surveys of the normative references to assure their continued availability. If you have any issue with finding a normative reference, please contact dochelp@microsoft.com. We will assist you in finding the relevant information. Please check the archive site, http://msdn2.microsoft.com/en-us/library/e4bd6494-06ad-4aed-9823-445e921c9624, as an additional source. [ISO/IEC9075-3:2008] International Organization for Standardization, "Information technology Database languages SQL Part 3: Call-Level Interface (SQL/CLI)", ISO/IEC 9075-3:2008, July 2008, http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=38641 Note There is a charge to download the specification. 1.2.2 Informative References [MSDN-Transact-SQLRef] Microsoft Corporation, "Transact-SQL Reference (Database Engine)", http://msdn.microsoft.com/en-us/library/bb510741.aspx 1.3 Microsoft Implementations Microsoft SQL Server 2008 R2 Microsoft SQL Server 2012 [] v20120629 4 / 10

Transact-SQL 1.4 Standards Support Requirements An SQL implementation that is fully compliant with the SQL standards implements all mandatory features and optionally implements any optional features. For Part 3 of the standards (International Standard ISO/IEC 9075), the normative variations from mandatory features are listed in Mandatory Features (section 2.1.1) and the normative variations from optional features are listed in Optional Features (section 2.1.2). This document covers Transact-SQL alignment with normative statements in the ISO/IEC standard. This document does not include: Clarifications of ambiguity in the target specification. Intended points of variability in the target specification, such as the use of MAY, SHOULD, or RECOMMENDED. The use of extensibility points, such as optional implementation-specific data. The following table lists the sections of [ISO/IEC9075-3:2008] that are considered normative and that are considered informative. Section Normative/Informative 1-3 Informative 4-10 Normative Appendices A - I Informative 1.5 Notation The following notations are used to identify clarifications in the Standards Support Statements (section 2). Notation C#### V#### E#### Explanation This notation identifies a clarification of ambiguity in the target specification. This includes imprecise statements, omitted information, discrepancies, and errata. This does not include data formatting clarifications. This notation identifies an intended point of variability in the target specification, such as the use of MAY, SHOULD, or RECOMMENDED. This does not include extensibility points. Because the use of extensibility points (such as optional implementation-specific data) could impair interoperability, this notation identifies such points in the target specification. 5 / 10 [] v20120629

2 Standards Support Statements 2.1 Normative Variations The following subsections detail the normative variations in Transact-SQL from [ISO/IEC 9075-3:2008]. 2.1.1 Mandatory Features 2.1.1.1 C011, All facilities defined by this part of ISO/IEC 9075 V0001: The specification states the following: Subclause 5.1, "<CLI routine>": <CLI routine> ::= <CLI routine name> <CLI parameter list> [ <CLI returns clause> ] <CLI routine name> ::= <CLI name prefix><cli generic name> <CLI name prefix> ::= <CLI by-reference prefix> <CLI by-value prefix> <CLI by-reference prefix> ::= SQLR <CLI by-value prefix> ::= SQL <CLI generic name> ::= AllocConnect AllocEnv AllocHandle AllocStmt BindCol BindParameter Cancel CloseCursor ColAttribute ColumnPrivileges Columns Connect CopyDesc DataSources DescribeCol Disconnect EndTran Error ExecDirect Execute Fetch FetchScroll [] v20120629 6 / 10

ForeignKeys FreeConnect FreeEnv FreeHandle FreeStmt GetConnectAttr GetCursorName GetData GetDescField GetDescRec GetDiagField GetDiagRec GetEnvAttr GetFeatureInfo GetFunctions GetInfo GetLength GetParamData GetPosition GetSessionInfo GetStmtAttr GetSubString GetTypeInfo MoreResults NextResult NumResultCols ParamData Prepare PrimaryKeys PutData RowCount SetConnectAttr SetCursorName SetDescField SetDescRec SetEnvAttr SetStmtAttr SpecialColumns StartTran TablePrivileges Tables <implementation-defined CLI generic name> <CLI parameter list> ::= <left paren> <CLI parameter declaration> [ { <comma> <CLI parameter declaration> }... ] <right paren> <CLI parameter declaration> ::= <CLI parameter name> <CLI parameter mode> <CLI parameter data type> <CLI parameter name> ::=!! See the individual CLI routine definitions <CLI parameter mode> ::= IN OUT DEFIN DEFOUT DEF 7 / 10 [] v20120629

<CLI parameter data type> ::= INTEGER SMALLINT ANY CHARACTER <left paren> <length> <right paren> <CLI returns clause> ::= RETURNS SMALLINT <implementation-defined CLI generic name> ::=!! See the Syntax Rules Microsoft SQL Server 2008 R2 and Microsoft SQL Server 2012 vary as follows: Transact-SQL partially supports this feature. Transact-SQL supports feature C002, CLI routine invocation in C, but does not support any other feature in the range C001 through C007. 2.1.2 Optional Features The standard [ISO/IEC 9075-3:2008] does not specify any optional features. 2.2 Clarifications Unless otherwise specified, the specified product conforms to all SHOULD and RECOMMENDED behavior in [ISO/IEC 9075-3:2008]. 2.3 Error Handling None. 2.4 Security None. [] v20120629 8 / 10

3 Change Tracking No table of changes is available. The document is either new or has had no changes since its last release. [] v20120629 9 / 10

4 Index C Change tracking 9 clarifications 8 E error handling 8 F Features mandatory 6 optional 8 G Glossary 4 I Informative references 4 introduction 4 M Microsoft implementations 4 N Normative references 4 Normative variations 6 Notation 5 R References 4 informative 4 normative 4 S security 8 Standards support requirements 5 Standards support statements 6 T Tracking changes 9 10 / 10 [] v20120629