標籤:1.oracle查詢資料庫中表的個數:select count(*) from user_tables這個操作的前提是,登入成功2.mysql查詢資料庫中表的個數:SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = ‘資料庫‘ GROUP BY
標籤:按照如下步驟進行操作:1、查看使用者的proifle是哪個,一般是default:SQL>SELECT USERNAME,PROFILE FROM DBA_USERS;2、查看指定概要檔案(如default)的密碼有效期間設定:SQL>SELECT * FROM DBA_PROFILES S WHERE S.PROFILE=‘DEFAULT‘ AND
標籤:select * from (select a.id,a.oacode,a.custid,a.custname,a.xsz,a.salename,a.communicationtheme,a.communicationproperty,a.communicationtime,a.productmanager,a.creator,a.createdate from technology_flow a where a.oastate='正常結束'union select
標籤:1、查詢可以恢複的時間點 select * from V$SQL where SQL_TEXT like ‘%update MAP_OPTCBL_POINT_70 set shape%‘2、資料恢複到建立的表,根據時間戳記create table newTable as select * from oldTabl
標籤:昨天看有個文章說到的失效對象重新編譯的問題,然後發現自己公司裡也出現莫名其妙的失效對象。--建立自動編譯失效過程事務記錄表declare tabcnt integer := 0;begin select count(*) into tabcnt from dba_tables where table_name=‘RECOMPILE_LOG‘; if tabcnt = 0 then execute immediate ‘create table