Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ORACLE³£¼ûÎÊÌâ1000ÎÊ(Ö®Áù)

ORACLE內²¿º¯數ƪ ×Ö·û´®
204. ÈçºÎµÃµ½×Ö·û´®µÄµÚÒ»個×Ö·ûµÄASCIIÖµ?
ASCII(CHAR)
SELECT ASCII('ABCDE') from DUAL;
結¹û: 65
205. ÈçºÎµÃµ½數ÖµNÖ¸¶¨µÄ×Ö·û?
CHR(N)
SELECT CHR(68) from DUAL;
結¹û: D
206. ÈçºÎ連½Ó兩個×Ö·û´®?
CONCAT(CHAR1,CHAR2)
SELECT CONCAT('ABC','DEFGH') from DUAL;
結¹û: 'ABCDEFGH'
207. ÈçºÎ將ÁÐÖеÄ數Öµ´úÌæ為×Ö·û´®?
DECODE(CHAR,N1,CHAR1,N2,CHAR2...)
SELECT DECODE(DAY,1,'SUN',2,'MON') from DUAL;
208. INITCAP(CHAR)
將×Ö·û´®CHARµÄµÚÒ»個×Ö·û為´ó寫,ÆäÓà為С寫.
SELECT INITCAP('ABCDE') from DUAL;
209. LENGTH(CHAR)
È¡Ò»×Ö·û´®CHARµÄ長¶È.
SELECT LENGTH('ABCDE') from DUAL;
210. LOWER(CHAR)
將×Ö·û´®CHARÈ«²¿變為С寫.
SELECT LOWER('ABCDE') from DUAL;
211. LPAD(CHAR1,N,CHAR2)
ÓÃ×Ö·û´®CHAR2°üÀ¨µÄ×Ö·û×óÌîCHAR1,ʹÆä長¶È為N.
SELECT LPAD('ABCDEFG',10'123') from DUAL;
結¹û: '123ABCDEFG'
212. LTRIM(CHAR,SET)
從×Ö·û´®CHARµÄ×ó邊ÒÆÈ¥×Ö·û´®SETÖеÄ×Ö·û,Ö±µ½µÚÒ»個²»ÊÇSETÖеÄ×Ö·û為Ö¹.
SELECT ('CDEFG','CD') from DUAL;
結¹û: 'EFG'
213. NLS_INITCAP(CHAR)
È¡×Ö·ûCHARµÄµÚÒ»個×Ö·û´ó寫,ÆäÓà×Ö·û為С寫.
SELECT NLS_INITCAP('ABCDE') from DUAL;
214. NLS_LOWER(CHAR)
將×Ö·û´®CHAR°üÀ¨µÄ×Ö·ûÈ«²¿Ð¡寫.
SELECT NLS_LOWER('AAAA') from DUAL;
215. NLS_UPPER(CHAR)
將×Ö·û´®CHAR°üÀ¨µÄ×Ö·ûÈ«²¿´ó寫.
SELECT NLS_UPPER('AAAA') from DUAL;
216. REPLACE(CHAR1,CHAR2,CHAR3)
ÓÃ×Ö·û´®CHAR3´úÌæÿһ個ÁÐÖµ為CHAR2µÄÁÐ,Æä結¹û·ÅÔÚCHAR1ÖÐ.
SELECT REPLACE(EMP_NO,'123','456') from DUAL;
217. RPAD(CHAR1,N,CHAR2)
ÓÃ×Ö·û´®CHAR2ÓÒÌî×Ö·û´®CHAR1,ʹÆä


Ïà¹ØÎĵµ£º

ORACLE±¸·Ý²ßÂÔ(ORACLE BACKUP STRATEGY)

ORACLE±¸·Ý²ßÂÔ(ORACLE BACKUP STRATEGY)
2007Äê11ÔÂ02ÈÕ ÐÇÆÚÎå 16:03
¸ÅÒª
1¡¢Á˽âʲôÊDZ¸·Ý
2¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
3¡¢Àí½âÊý¾Ý¿âµÄÁ½ÖÖÔËÐз½Ê½
4¡¢Àí½â²»Í¬µÄ±¸·Ý·½Ê½¼°ÆäÇø±ð
5¡¢Á˽âÕýÈ·µÄ±¸·Ý²ßÂÔ¼°ÆäºÃ´¦
  
Ò»¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
¿ÉÒÔ˵£¬´Ó¼ÆËã»úϵͳ³öÊÀµÄÄÇÌìÆ𣬾ÍÓÐÁ˱¸·ÝÕâ¸ö¸ÅÄ ......

Oracle±í¿Õ¼ä¹ÜÀí

extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î»      --segment    management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......

ORACLE SQLPLUS³£ÓÃÃüÁî¼°²éѯ

1.Æô¶¯Í£Ö¹TNS¼àÌý
lsnrctl start
lsnrctl stop
2.Æô¶¯Oracle Services
net start OracleServiceOrcl
net stop OracleServiceOrcl
SQL> show all --²é¿´ËùÓÐ68¸öϵͳ±äÁ¿Öµ
SQL> show user --ÏÔʾµ±Ç°Á¬½ÓÓû§
SQL> show error¡¡¡¡ --ÏÔʾ´íÎó
SQL> set heading off --½ûÖ¹Êä³öÁбêÌ⣬ĬÈÏֵΪ ......

ORACLE³£¼ûÎÊÌâ1000ÎÊ(Ö®Ò»)

ORACLE³£¼ûÎÊÌâ1000ÎÊ(Ö®Ò»)
תÌù ×÷Õß:  CCBZZP - ]8 L1 m: @) P9 }
´ó¼ÒÔÚÓ¦ÓÃORACLEµÄʱºò¿ÉÄÜ»áÓëµ½ºÜ¶à¿´ÆðÀ´²»ÄѵÄÎÊÌ⣬Ìرð¶ÔÐÂÊÖÀ´Ëµ£¬½ñÌìÎÒ¼òµ¥°ÑËû×ܽáһϣ¬·¢²¼¸ø´ó¼Ò£¬Ï£Íû¶Ô´ó¼ÒÓаïÖú£¡5 ]" z2 z0 ?( n6 q2 W
¶ÔORACLE¸ßÊÖÀ´ËµÊDz»Óÿ´µÄ.
- M/ D* W% x% f' H$ N* ]" m  I" W
4 ......

ORACLE³£¼ûÎÊÌâ1000ÎÊ(Ö®¶þ)


¡¡¡¡ 47. ÖÐÎÄÊÇÈçºÎÅÅÐòµÄ£¿
¡¡¡¡ Oracle9i֮ǰ£¬ÖÐÎÄÊÇ°´ÕÕ¶þ½øÖƱàÂë½øÐÐÅÅÐòµÄ¡£
¡¡¡¡ ÔÚoracle9iÖÐÐÂÔöÁË°´ÕÕÆ´Òô¡¢²¿Êס¢±Ê»­ÅÅÐò¹¦ÄÜ¡£ÉèÖÃNLS_SORTÖµ
¡¡¡¡ SCHINESE_RADICAL_M °´ÕÕ²¿Ê×£¨µÚһ˳Ðò£©¡¢±Ê»®£¨µÚ¶þ˳Ðò£©ÅÅÐò
¡¡¡¡ SCHINESE_STROKE_M °´Õձʻ®£¨µÚһ˳Ðò£©¡¢²¿Ê×£¨µÚ¶þ˳Ðò£©ÅÅÐò
¡¡¡¡ SC ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ