我有一张名为
USER_BAG
我在其中有这个专栏
LAST_MODIFIED_DATE DATE(7) NOT NULL
我需要所有LAST_MODIFIED_DATE
介于两者之间的记录
2012-08-20 16:13:19
和2012-08-20 16:18:19
我正在使用 Oracle 数据库。谁能建议我如何实现我的场景?
SELECT * FROM USER_BAG where LAST_MODIFIED_DATE between
to_date ('2012-08-20 16:13:19', 'yyyy-mm-dd hh24:mi:ss') AND
to_date ('2012-08-20 16:18:19', 'yyyy-mm-dd hh24:mi:ss');
我在上面的 sql 查询中做错了什么吗?我正在与甲骨文合作。它总是给我-
[WARN]Execute Error : ORA-02392: exceeded session limit on CPU usage, you are being logged off (DBD ERROR: OCIStmtExecute)
[WARN]Fetch Error : ERROR no statement executing (perhaps you need to call execute first)
No Matches Found
更新:-
select * from user_resource_limits;
RESOURCE_NAME LIMIT
COMPOSITE_LIMIT UNLIMITED
SESSIONS_PER_USER 5
CPU_PER_SESSION 100
CPU_PER_CALL UNLIMITED
LOGICAL_READS_PER_SESSION 10000
LOGICAL_READS_PER_CALL UNLIMITED
IDLE_TIME UNLIMITED
CONNECT_TIME 15
PRIVATE_SGA UNLIMITED