標籤:tomcat linux openjdk 設定JDK環境變數,並且命令列使用java -version使用service tomcat-web1 start命令報下面的錯誤 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment
標籤:在Oracle資料庫中,串連查詢分為交叉串連、內串連、外連結3種類型。其中,交叉串連結果是所有其他串連結果的超集,而外串連結果又是內串連結果的超集。 交叉串連交叉串連又稱為笛卡爾積串連,是兩個或多個 表之間的無條件串連。一個表中所有記錄分別與其他表中所有記錄進行記錄。如果進行串連的表分別有n1,n2,n3...條記錄,那麼交叉串連的結果集中將有n1 x n2 x n3 x...條記錄。例如,emp表中有14條記錄,dept表中有4條記錄,那麼兩個交叉串連後有56條記錄,語句為SQL>
標籤: 工作中編寫過的一條語句select * from Bt_Holiday where to_char(Setting_DATE,‘YYYY‘)=Substr(‘2015-03-00‘,1,4) AND to_char(Setting_DATE,‘MM‘)=Substr(‘2015-03-00‘,6, (instr(‘2015-03-00‘,‘-‘,1,2))-(instr(‘2015-03-00‘,‘-‘,1)+1)) Substr(‘2015-03-00‘
標籤:oracle1.建立一個表不加約束create table t_user( id number,--類型是number類型 name varchar2(20),--varchar2()可以變化 gender char(2), birthday date default sysdate 預設是當前日期)加上約束create table t_user2( id number
標籤:--匯出資料庫exp test2/[email protected] file=e:\test2.dmp owner=test2--匯入資料庫imp test2/[email protected] file=‘e:\test.dmp‘ fromuser=test touser=test2--查看oracle當前的串連數select * from v$session where username is not null--查看不同使用者的串連數select