MySQL如何查全部序列_Oracle查询所有序列
--查看当前⽤户的所有序列lect SEQUENCE_OWNER,SEQUENCE_NAME from dba_quences where quence_owner='⽤户名';--查询当前⽤户的序列总数lect count(*) from dba_quences where quence_owner='⽤户名';--⽰例:lect SEQUENCE_OWNER,SEQUENCE_NA
--查看当前⽤户的所有序列
黑龙江大学校园信息门户lect SEQUENCE_OWNER,SEQUENCE_NAME from dba_quences where quence_owner='⽤户名';
网络营销知识培训--查询当前⽤户的序列总数
lect count(*) from dba_quences where quence_owner='⽤户名';
--⽰例:
lect SEQUENCE_OWNER,SEQUENCE_NAME from dba_quences
where quence_owner=’WGB;
lect count(*) from dba_quences where quence_owner=’ WGB’;
SQL> lect SEQUENCE_OWNER,SEQUENCE_NAME from dba_quences
2 where quence_owner='WGB';
SEQUENCE_OWNER SEQUENCE_NAME
------------------------------ ------------------------------
在线朗读>摘花的英文
WGB SEQ_FOR_TEST
高中必读名著WGB SEQ_WGB_ADMIN
2014年6月四级听力
WGB SEQ_WGB_COMMON
WGB SEQ_WGB_COMMONS
幼师培训学校
WGB SEQ_WGB_CONTACTOR
WGB SEQ_WGB_FACES
WGB SEQ_WGB_MEMBER
WGB SEQ_WGB_MESSAGE
WGB SEQ_WGB_MONEY_USER
已选择9⾏。
SQL> lect count(*) from dba_quences where quence_owner='WGB';
zoom什么意思COUNT(*)
----------
9
注意事项:
csb1. 必须以管理员⾝份登录;你在哪英文
2. quence_owner必须为⼤写,不管你的⽤户名是否⼤写。只有⼤写才能识别。
参考资料:
本⽂原创发布php中⽂⽹,转载请注明出处,感谢您的尊重!