Oracle SqlplusÉèÖÃÐÐÊýºÍ¿í¶È
1. ÉèÖÃÒ³ÃæÏÔʾ×ÜÐÐÊý
1) ²é¿´Ä¿Ç°µÄpagesize,ĬÈÏÊÇ14:
Sqlplus´úÂë
1. show pagesize;
show pagesize;
2) ½«pagesizeÉèÖúÃ100,Ôò¿ÉÒÔÒ»´ÎÏÔʾ¹»¶àÐмǼÁË:
Sqlplus´úÂë
1. set pagesize 100;
set pagesize 100;
2. ÉèÖÃÐеĿí¶È
1) ²é¿´Ä¿Ç°µÄlinesize,ĬÈÏÊÇ80:
Sqlplus´úÂë
1. show linesize;
show linesize;
2) ÉèÖóÉ100»òÕ߸ü¿í¶¼¿ÉÒÔ:
Sqlplus´úÂë
1. set linesize 100;
set linesize 100;
Ïà¹ØÎĵµ£º
Ҫʹһ¸ö¿Í»§¶Ë»úÆ÷ÄÜÁ¬½Ó
oracle
Êý¾Ý¿â£¬ÐèÒªÔÚ¿Í»§¶Ë»úÆ÷ÉÏ°²×°
oracle
µÄ¿Í»§¶ËÈí¼þ£¬Î¨Ò»µÄÀýÍâ¾ÍÊÇ
java
Á¬½ÓÊý¾Ý¿âµÄʱºò£¬¿ÉÒÔÓÃ
jdbc thin
ģʽ£¬²»ÓÃ×°
oracle
µÄ¿Í»§¶ËÈí¼þ¡£¼ÓÈëÄãÔÚ»úÆ÷ÉÏ×°ÁË
oracle
Êý¾Ý¿â£¬¾Í²»ÐèÒªÔÚµ¥¶ÀÔڸûúÆ÷ÉÏ°²×°
oracle
¿Í»§¶ËÁË£¬ÒòΪװ
oracle
Êý¾Ý¿âµÄʱºò»á×Ô¶ ......
¡¡¡¡Ò»¡¢ÎÊÌâµÄÌá³ö
¡¡¡¡Ä¿Ç°µÄºÜ¶àÊý¾Ý¿âÓ¦ÓóÌÐòÊÇʹÓÃORACLEÊý¾Ý¿â¿ª·¢µÄclient/serverģʽ¡£ÖÚËùÖÜ
Öª£¬Ê¹ÓôËÖÖģʽÐèÒªÔÚÖÕ¶ËÉÏ°²×°ORACLE¿Í»§¶ËÈí¼þ¡£Ó¦ÓóÌÐò¿ÉÒÔʹÓÃInstallShieldÈí¼þ´ò°ü³É°²×°³ÌÐò£¬ÓÉÓû§×ÔÐа²×°¡£µ«
ORACLE¿Í»§¶ËÈí¼þÒ»°ãÐèÒªÓоÑéµÄ¿ª·¢ÈËԱͨ¹ýÈË»ú½»»¥µÄ·½·¨°²×°£¬°²×°Íê³Éºó»¹ÐèÔ ......
MySQLÈÕÆÚ×ֶηÖDateºÍTimeÁ½ÖÖ£¬oracleÈÕÆÚ×Ö¶ÎÖ»ÓÐDate£¬°üº¬ÄêÔÂÈÕʱ·ÖÃëÐÅÏ¢£¬Óõ±Ç°Êý¾Ý¿âµÄϵͳʱ¼äΪsysdate,¾«È·µ½Ã룬»òÕßÓÃ×Ö·û´®×ª»»ÈÕÆÚÐͺ¯Êý£º
To_date('2001-08-01','YYYY-MM-DD'); Äê-ÔÂ-ÈÕ
24Сʱ£º·ÖÖÓ£ºÃëµÄ¸ñʽ 'YYYY-MM-DD HH24:MI:SS'  ......
Ëæ×Åʱ¼äµÄÍÆÒÆ£¬ÓпÉÄÜÔÀ´Ã»Óй滮ºÃµÄÊý¾ÝÎļþËùÔÚµÄÅÌ¿Õ¼äÒѾ²»¹»ÁË£¬»òÕßÎÒÃÇÓÐÐèÒª°ÑÒ»¸ödatafileÒƶ¯ºÃÆäËûµÄµØ·½£¬ÕâʱºòÎÒÃǸÄÈçºÎ²Ù×÷ÄØ£¿
ÕâÀïÓÐ×î¼òµ¥µÄÒ»¸ö·½·¨
1. offlineÊý¾ÝÎļþËù±»°üº¬µÄtablespace£¬
alter tablespace testts offline;
2. rename ÔÓеÄdatafileÖ¸Ïòеķ¾¶
#cp /opt/oracle/orad ......
ÓÐʱÔÚ½øÐÐÏîÄ¿¿ª·¢¹ý³ÌÖУ¬ÓÉÓÚһЩÎó²Ù×÷»áµ¼ÖÂÊý¾Ý¿âµÄ±í¸øÎóɾ³ýµô£¬ÎªÁ˱ÜÃâÕâÒ»Çé¿öµÄ·¢Éú£¬ÈçºÎÑϸñ¿ØÖÆijÓû§²»ÄܶÔ×Ô¼ºµÄ¿â½øÐÐDROPȨÏÞ£¬ÐèÒª½øÐÐÏà¹ØÉèÖã¬ÓÉÓÚĬÈÏconnectµÄȨÏÞÒ²ÊǾßÓÐdrop×Ô¼ºÓû§µÄ±í½á¹¹£¬Í¨¹ýproduct_user_profileÖ»ÄÜÏÞÖÆsql*plusµÄ²Ù×÷£¬¶ø²»ÄÜÏÞÖÆÆäËüµÚÈý·½oracleÁ¬½Ó¹¤¾ß£¬×îÓÐЧµÄ· ......