select * from user_objects where object_type='TABLE';select * from all_tables where owner='KH';select * from dba_users; select * from user_all_tables;select name,dbid from v$database;--索引相關select * from dba_indexes where owner='KH'; --索引,包括主鍵索引
數學函數 1.絕對值 S:select abs(-1) value O:select abs(-1) value from dual 2.取整(大) S:select ceiling(-1.001) value O:select ceil(-1.001) value from dual 3.取整(小) S:select floor(-1.001) value O:select floor(-1.001) value from dual 4.取整(截取)
不知道能不能用,我看provider只有2種,一種為sqlSchemaprovider,還有一個為adoxschemaprovider,模板寫好後,編譯就提示錯誤,在對應所需名稱或序數的集合中,未找到項目。An error of type "COMException"occured while attempting to execute this template. To enableJust-In-Time debugging on this template set the "Debug"
主要有以下幾種方法可以用來確定Oracle的位元:1.通過SQLPLUS登入即可看出a.64位登入時就有顯示$ sqlplus "/ as sysdba"SQL*Plus: Release 9.2.0.4.0 - Production on Wed Nov 16 15:27:28 2005Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.Connected to:Oracle9i Enterprise
在開始-運行中輸入命令:sqlplus /NOLOG進入開啟sqlplus.exe下面步驟:SQL>connect sys/使用者口令 as sysdbaSQL>shutdown normalSQL>startup mountORACLE 常式已經啟動。Total System Global Area 293601280 bytesFixed Size 1248624 bytesVariable Size
系統內容: 1、作業系統:Windows 2000 Server,2、資料庫: Oracle 8i R2 (8.1.6) for NT 企業版3、安裝路徑:C:\ORACLE錯誤現象: 因誤操作,資料庫中某一資料檔案被誤刪,控制台的Oracle相關服務顯示已啟動,但用SQL*Plus無法串連,顯示以下錯誤ORA-01033: ORACLE initialization or shutdown in progress類比現象: create tablespace test datafile'c:\
第四部分、效能調整[Q]如果設定自動跟蹤[A]用system登入執行$ORACLE_HOME/rdbms/admin/utlxplan.sql建立計劃表執行$ORACLE_HOME/sqlplus/admin/plustrce.sql建立plustrace角色如果想計劃表讓每個使用者都能使用,則SQL>create public synonym plan_table for plan_table;SQL> grant all on plan_table to
[ 作者:shuipipi 轉貼自:csdn 點擊數:81 更新時間:2005-11-17 ] 減小字型 增大字型* SQL Group Function* s (num can be a column or expression) (null values are ign* ored, default between distinct and all is all) *********************************** *********