Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
So far, there have been no session statements which enable users to set or reset session variables. We have only meta command in tsql. Here is my proposal for session statement.
SET CATALOG and SET TIME ZONE are based on ANSI SQL 2003 standards, and others are based on PostgreSQL. Vertica and Teradata have the same syntax.
BNF
: SET CATALOG dbname = identifier | SET TIME ZONE (Character_String_Literal | signed_numerical_literal | DEFAULT) | SET (SESSION)? name=identifier (TO | EQUAL)? (Character_String_Literal | signed_numerical_literal | boolean_literal | DEFAULT) | RESET name=identifier