How to define a current user?

Posted by ie on Stack Overflow See other posts from Stack Overflow or by ie
Published on 2010-05-10T15:09:28Z Indexed on 2010/05/10 15:14 UTC
Read the original article Hit count: 135

Is it possible to define a current user?

I found a stored procedure 'sp_mgGetConnectedUsers'. It returns a result set with the only unique field 'Address'. How could I associate an executing query with such 'Address'.

Please advice.

Note: As far as I understand, another way to get the current user is to set a unique application Id for each connection, but I don't like this way much.

© Stack Overflow or respective owner

Related posts about advantage-database-server

Related posts about system-procedures