Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql get the name of user pc

/*GET NAME OF USER DATABASE pg*/
SELECT inet_client_addr();
SELECT * FROM pg_stat_activity
WHERE client_addr = inet_client_addr();
 
PREVIOUS NEXT
Tagged: #sql #user #pc
ADD COMMENT
Topic
Name
1+2 =