創(chuàng)建表空間遇到的字符大小些問題 |
發(fā)布時間: 2012/8/18 16:56:49 |
SQL> create tablespace test datafile 'Y:\test.dbf' size 20M; 實際創(chuàng)建的表空間名字為 TEST。 按照下面3行命令執(zhí)行都可以刪除表空間: SQL> drop tablespace test; 表空間已刪除。 SQL> drop tablespace TEST; 表空間已刪除。 SQL> drop tablespace "TEST"; 表空間已刪除。 也就是刪除表空間時,提供的表空間名如果不加"",則提交到內部的字符會轉換為大寫。 ------------------------------------------------------------------------------- 如果在創(chuàng)建表空間時給表空間名加上"",如: SQL> create tablespace "test" datafile 'Y:\test.dbf' size 20M; 則創(chuàng)建出來的表空間名就是test,如果用drop tablespace test2009來刪除表空間會出現(xiàn)報錯: SQL> drop tablespace test; 執(zhí)行如下命令則可以成功: SQL> drop tablespace "test"; 表空間已刪除。 不論創(chuàng)建表空間時是否加"",實際生成的數(shù)據文件名都是大寫的。 本文出自:億恩科技【www.allwellnessguide.com】 |