portableSql
CurrentUser Portable SQL Function
Syntax
CurrentUser as C ()
Returns
- resultCharacter
Returns the currently connected database user id.
Description
Get the currently connected user id (according to the SQL database server).
Discussion
The CurrentUser function gets the currently connected user id for the SQL database server. This is the user id of the SQL database, not the Alpha Anywhere security framework.
AddHoursToDateTime() function executed on the Northwind MySQL database
SELECT FIRST 1 CurrentUser() AS Expr1 FROM Customers =root