sajiddalvi,
Sunday, July 07, 2002, 8:04:02 PM, you wrote:
s> Is there a way to check which my sql user (who has logged into the database)
s> has inserted a row in a table?
s> I could add a "logged_in_user" column but that seems redundant.
Take a look at functions: USER(), SYSTEM_USER(), SESSION_USER():
http://www.mysql.com/doc/M/i/Miscellaneous_functions.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php