Oracle»ù±¾
1.desc(ÃèÊö£© emp ÃèÊöempÕâÕűí
2.desc dept ²¿Ãűí
3.desc salgrade нˮµÈ¼¶
4.select *from table ²éÕÒ±íÖеÄÔªËØ
5.dual ÊÇϵͳÖеÄÒ»ÕÅ¿Õ±í
6.select *from dual
7.select sysdate from dual È¡³öϵͳʱ¼ä
8.select ename,sal*12 "annul sal"(È¡µÄ±ðÃû£© from emp; ²éÕÒÓû§ÐÕÃûºÍÓû§µÄÄêн
9.Èκκ¬ÓпÕÖµµÄÊýѧ±í´ïʽµÄÖµ¶¼ÊÇ¿ÕÖµ
select ename,sal*12+comm from emp;
10.select ename||sal from emp ÆäÖеÄ||Ï൱ÓÚ½«salÈ«²¿×ª»¯Îª×Ö·û´®
11.±íʾ×Ö·û´®µÄ·½·¨
select ename ||'ajjf' from emp;
12.Èç¹ûÆäÖÐÓÐÒ»¸öµ¥ÒýºÅ¾ÍÓÃ2¸öµ¥ÒýºÅÀ´´úÌæËû
select ename||'sakj' 'lds'from emp;
13.select distinct deptno from emp (È¥³ý²¿ÃÅ×Ö¶ÎÖÐÖظ´µÄ²¿·Ö,¹Ø¼ü×Ödistinct)
14.select distinct deptno,job from emp;(È¥³ýÕâ2¸ö×Ö¶ÎÖÐÖظ´µÄ×éºÏ)
15.select *from dept where deptno=10; È¡³öÌõ¼þ(È¡³ö²¿ÃűàºÅΪ10µÄ¼Ç¼)
16.select * from emp where ename='CLIRK'; È¡³ö²¿ÃÅÖÐÐÕÃûΪclirkµÄ¼Ç¼(×¢ÒâÈ¡³ö¹ý³ÌÖÐenameÓõ¥ÒýºÅ¸ô¿ª)
17.select ename,sal from emp where sal>1500; È¡³ö²¿ÃÅÖÐнˮ´óÓÚ1500µÄÈ˵ÄÐÕÃû
18.select ename,sal,deptno from emp where deptno<> 10 È¡³ö²¿ÃÅÖеIJ¿ÃźŲ»µÈÓÚ10µÄ
19.select ename,sal,deptno from emp where ename>'CBA' È¡³ö²¿ÃÅÖÐÔ±¹¤Ãû×Ö´óÓÚCBAµÄÔ±¹¤(ʵ¼Ê±È½ÏµÄÊÇACIISÂë)
20.select ename,sal from emp where sal between 800 and 1500
select ename,sal from emp where sal>=800 and sal<=1500; (È¡³ö800ºÍ1500Ö®¼äµÄÊý)
21.select ename,sal,comm from emp where comm is null (Ñ¡³öÆäÖеĿÕÖµ)
select enmae,sal,comm from emp where comm is not null(Ñ¡³öÆäÖеķǿÕÖµ)
22.select ename,sal,comm from emp where sal in (800,1500,2000);È¡³öÕâ3ÕßÖ®ÖеÄ
select ename,sal,comm from emp where ename in('simth');
23.select ename,sal,hiredate from emp where hiredata>'3-04ÔÂ-81';Ðû´«·ûºÏÌõ¼þµ
Ïà¹ØÎĵµ£º
---´´½¨±í¿Õ¼ä
create tablespace ±í¿Õ¼äÃû×Ö datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss01.dbf' size 4096M;
alter tablespace ±í¿Õ¼äÃû×Ö add datafile 'F:\oracle\product\10.2.0\oradata\wsdata\yss02.dbf' size 4096M;
alter tablespace ±í¿Õ¼äÃû×Ö add datafile 'F:\oracle\product\10.2.0\oradata\w ......
oracle 9i
http://www.oracle.com/technology/global/cn/software/products/oracle9i/index.html
oracle 9i ÔÚÏßÎĵµ
http://download.oracle.com/docs/cd/B10501_01/nav/docindex.htm
oracle 10g/11g ÏÂÔØ
http://www.oracle.com/technology/software/products/database/index.html ......
OracleÈ«ÎÄË÷ÒýµÄ»ù±¾ÖªÊ¶
Ò»¡¢ÀúÊ·±³¾°
OracleÊý¾Ý¿âµÄÈ«ÎļìË÷¼¼ÊõÒѾ·Ç³£ÍêÃÀ£¬Oracle TextʹOracle9i¾ß±¸ÁËÇ¿´óµÄÎı¾¼ìË÷ÄÜÁ¦ºÍÖÇÄÜ»¯µÄÎı¾¹ÜÀíÄÜÁ¦¡£Oracle TextÊÇOracle9i²ÉÓõÄÐÂÃû³Æ£¬ÔÚOracle8/8iÖÐËü±»³Æ×÷Oracle interMedia Text£¬ÔÚOracle8ÒÔÇ°ËüµÄÃû³ÆÊÇOracle ConText Cartridge¡£
¶þ¡¢Oracle Text Ë÷Ò ......
ÔÚaccessÖÐÓÐ×Ô¶¯±àºÅµÄÊý¾ÝÀàÐÍ£¬MSSQLºÍMYSQLÒ²¶¼ÓÐ×Ô¶¯Ôö³¤µÄÊý¾ÝÀàÐÍ£¬²åÈë¼Ç¼ʱ²»ÓòÙ×÷´Ë×ֶΣ¬»á×Ô¶¯»ñµÃÊý¾ÝÖµ£¬¶øoracleûÓÐ×Ô¶¯Ôö³¤µÄÊý¾ÝÀàÐÍ£¬ÎÒÃÇÐèÒª½¨Á¢Ò»¸ö×Ô¶¯Ôö³¤µÄÐòÁкţ¬²åÈë¼Ç¼ʱҪ°ÑÐòÁкŵÄÏÂÒ»¸öÖµ¸³ÓÚ´Ë×ֶΣ¬¿ÉÒÔÔ¤¼ûµÄÊÇ£¬Óд˹¦ÄÜ£¬ÎÒÃÇ¿ÉÒÔ°ÑÊý¾Ý´ÓACCESS¡¢MSSQL»òMYSQ ......
ÔÚpl/sqlÖÐʹÓÃexp/imp¹¤¾ßʵÏÖoracleÊý¾Ýµ¼³ö/µ¼Èë
Oracle Êý¾Ýµ¼Èëµ¼³öimp/exp¾ÍÏ൱ÓÚoracleÊý¾Ý»¹ÔÓ뱸·Ý¡£expÃüÁî¿ÉÒÔ°ÑÊý¾Ý´ÓÔ¶³ÌÊý¾Ý¿â·þÎñÆ÷µ¼³öµ½±¾µØµÄdmpÎļþ£¬impÃüÁî¿ÉÒÔ°Ñ dmpÎļþ´Ó±¾µØµ¼Èëµ½Ô¶´¦µÄÊý¾Ý¿â·þÎñÆ÷ÖС£ ÀûÓÃÕâ¸ö¹¦ÄÜ¿ÉÒÔ¹¹½¨Á½¸öÏàͬµÄÊý¾Ý¿â£¬Ò»¸öÓÃÀ´²âÊÔ£¬Ò»¸öÓÃÀ´ÕýʽʹÓá£
Ö´Ðл·¾³ ......