Expose more information as system variables in SQL scripts
Expose more statement and connection metadata via system variables that can be used in SQL scripts.
1
vote
1 comment
-
pboivin77
commented
I extend your suggestion to: Allow reading and writing to system variable to change current connection settings. Those change will be lost when the connection is closed.
SET CHARSET=OEM or ANSI
SET SHOWDELETED=ON of OFF
SET DEFAULTTABLETYPE=ADT or DBF
It could be a stored proc with variables name and value as parameters (e.g. SetSysVariable("ShowDeleted", "ON") ).