Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

CurrentUser

Example

Retrieve the name of the user currently connected to the database.

SELECT CurrentUser();

Definition and Usage

The CurrentUser() function retrieves the name of the user currently connected to the database.

Syntax

CurrentUser()

Technical Details

Works in:

From Access 2000