oracle 상용 SQL 문장1

531 단어 Oacle
/*   Oracle   */
SELECT VALUE
FROM v$system_parameter
 WHERE name = 'compatible';
 
/*             Oracle   */
SELECT osuser,username,machine, program 
FROM v$session 
/*where machine = 'PC-20140604AMGV' */
ORDER BY osuser;
 
/*        Oracle            */
SELECT username, COUNT (username) sessionCount
FROM v$session 
where username is not null
GROUP BY username
ORDER BY sessionCount DESC;

좋은 웹페이지 즐겨찾기