Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
SQL ANSI allows you to specify: USER, CURRENT_USER, and SESSION_USER as default options associated with the <default-clause> when creating a column definition for a table. Trafodion should support similar functionality.
USER and SYSTEM_USER are semantically the same and irepresents the value of the current authorization identifier.
SESSION_USER is the values of the SQL session authorization identifier
Support for USER, CURRENT_USER, and SESSION_USER exist in the code and can be used, for example, in insert statements.
All user values should be returned as a varchar 128 to match the current implementation.
ANSI also support a SYSTEM_USER option. The SYSTEM_USER is an implementation defined value that represents the operating system user related to the process running the request. At this time, there are no plans to support the SYSTEM_USER.
Attachments
Issue Links
- links to