1、查看各帐户的连接总数select username,count(username) from v$session where username is not null group by username 缺省从 v$session 中不能直接获得客户端 IP,可以在数据库中创建一个追踪客户端IP地址的触发器:
create or replace trigger&n...(more)
一、编辑包含sql代码的源码文件static.sqc#include <stdio.h>#include <string.h>#include <sql.h>int main(){ printf("\n\nthis is a test programming !\n\n"); EXEC SQL INCLUDE SQLCA; EXEC SQL BEGIN DECLARE SECTION; char employeeNO[7]; ch...(more)