Does anyone know if there is any real difference between the following?
USER
USER_NAME()
CURRENT_USER
SESSION_USER
If I execute the following code in Query Analyzer, I get the same value for each statement:
PRINT USER
PRINT USER_NAME()
PRINT CURRENT_USER
PRINT SESSION_USER
Why so many ways to get the same answer? There must be a difference between these...