-----------------------------------建立一個新使用者---------------------------------create user hahayaidentified by hahayadefault tablespace userstemporary tablespace temp;-----------------------------------給hahaya使用者授
在Linux系統下安裝Oracle資料庫:1、約定:linux系統為Linux.5.4-server-x86_64,資料庫為linux.x64_11gR1_database_1013 linux系統安裝時,選擇安裝所有的包。2、用root使用者修改核心參數,增加以下的內容到檔案/etc/sysctl.conf中。 #vi /etc/sysctl.conf #Controls the maximum number
[root@Oracle9i mysql]# cp support-files/mysql.server /etc/init.d/mysql[root@oracle9i mysql]# chmod +x /etc/init.d/mysql[root@oracle9i etc]# chkconfig --list mysqlservice mysql supports chkconfig, but is not referenced in any runlevel (run 'chkconfig
函數適用於:需要將指定查詢sql中的某列拼接成以指定字元分隔串連的字串。不足:因函數的傳回值為varchar2,且通常拼接得到的字串會用於查詢sql(因用在SQL中,不能大於varchar2的4000個字元限制)中,因此限制了返回長度小於等於4000CREATE OR REPLACE FUNCTION f_con_colunn_set(p_sql IN VARCHAR2,
[root@rac1 ~]# /etc/init.d/Oracleasm configureConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASM librarydriver. The following questions will determine whether the driver isloaded on boot and
執行下列命令語句sqlplus / as sysdba <<EOFcreate tablespace test datafile '/data/test01.dbf' size 10240M;quit;EOF通過ps -ef|grep sqlplus命令得到上面所執行的命令的進程id為:12345(1)關於v$process執行下面的SQL是查不到相關的資訊:select * from v$process where