Share via


2.1.2.103 F762, CURRENT_CATALOG

V0139:

The specification states the following:

 Subclause 6.4, "<value specification> and <target specification>":
  
 <general value specification> ::=
 <host parameter specification>
 | <SQL parameter reference>
 | <dynamic parameter specification>
 | <embedded variable specification>
 | <current collation specification>
 | CURRENT_CATALOG
 | CURRENT_DEFAULT_TRANSFORM_GROUP
 | CURRENT_PATH
 | CURRENT_ROLE
 | CURRENT_SCHEMA
 | CURRENT_TRANSFORM_GROUP_FOR_TYPE <path-resolved user-defined type name>
 | CURRENT_USER
 | SESSION_USER
 | SYSTEM_USER
 | USER
 | VALUE
  
 ...
  
 Conformance Rules
  
 Without Feature F762, "CURRENT_CATALOG", conforming SQL language shall not contain a <general value specification> that contains CURRENT_CATALOG.
  
 Subclause 11.5, "<default clause>":
  
 <default option> ::=
 <literal>
 | <datetime value function>
 | USER
 | CURRENT_USER
 | CURRENT_ROLE
 | SESSION_USER
 | SYSTEM_USER
 | CURRENT_CATALOG
 | CURRENT_SCHEMA
 | CURRENT_PATH
 | <implicitly typed value specification>
  
 ...
  
 Conformance Rules
  
 Without Feature F762, "CURRENT_CATALOG", conforming SQL language shall not contain a <default option> that contains CURRENT_CATALOG.

Microsoft SQL Server 2008 R2 and Microsoft SQL Server 2012 vary as follows:

Transact-SQL does not support this feature.