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

²é¿´¡¢ÐÞ¸Äoracle×Ö·û¼¯£¬²é¿´oracle°æ±¾

1¡¢²é¿´Êý¾Ý¿â×Ö·û¼¯
Êý¾Ý¿â·þÎñÆ÷×Ö·û¼¯select * from nls_database_parameters£¬ÆäÀ´Ô´ÓÚprops$£¬ÊDZíʾÊý¾Ý¿âµÄ×Ö·û¼¯¡£
¡¡¡¡
¡¡¡¡¿Í»§¶Ë×Ö·û¼¯»·¾³select * from nls_instance_parameters,ÆäÀ´Ô´ÓÚv$parameter£¬
¡¡¡¡
¡¡¡¡±íʾ¿Í»§¶ËµÄ×Ö·û¼¯µÄÉèÖ㬿ÉÄÜÊDzÎÊýÎļþ£¬»·¾³±äÁ¿»òÕßÊÇ×¢²á±í
¡¡¡¡
¡¡¡¡»á»°×Ö·û¼¯»·¾³ select * from nls_session_parameters£¬ÆäÀ´Ô´ÓÚv$nls_parameters£¬±íʾ»á»°×Ô¼ºµÄÉèÖ㬿ÉÄÜÊǻỰµÄ»·¾³±äÁ¿»òÕßÊÇalter sessionÍê³É£¬Èç¹û»á»°Ã»ÓÐÌØÊâµÄÉèÖ㬽«Óënls_instance_parametersÒ»Ö¡£
¡¡¡¡
¡¡¡¡¿Í»§¶ËµÄ×Ö·û¼¯ÒªÇóÓë·þÎñÆ÷Ò»Ö£¬²ÅÄÜÕýÈ·ÏÔʾÊý¾Ý¿âµÄ·ÇAscii×Ö·û¡£Èç¹û¶à¸öÉèÖôæÔÚµÄʱºò£¬alter session>»·¾³±äÁ¿>×¢²á±í>²ÎÊýÎļþ
¡¡¡¡
¡¡¡¡×Ö·û¼¯ÒªÇóÒ»Ö£¬µ«ÊÇÓïÑÔÉèÖÃÈ´¿ÉÒÔ²»Í¬£¬ÓïÑÔÉèÖý¨ÒéÓÃÓ¢ÎÄ¡£Èç×Ö·û¼¯ÊÇzhs16gbk£¬Ôònls_lang¿ÉÒÔÊÇAmerican_America.zhs16gbk¡£
2¡¢ÐÞ¸Ä×Ö·û¼¯
8iÒÔÉÏ°æ±¾¿ÉÒÔͨ¹ýalter databaseÀ´ÐÞ¸Ä×Ö·û¼¯£¬µ«Ò²Ö»ÏÞÓÚ×Ó¼¯µ½³¬¼¯£¬²»½¨ÒéÐÞ¸Äprops$±í£¬½«¿ÉÄܵ¼ÖÂÑÏÖØ´íÎó¡£
¡¡¡¡
¡¡¡¡Startup nomount;
¡¡¡¡Alter database mount exclusive;
¡¡¡¡Alter system enable restricted session;
¡¡¡¡Alter system set job_queue_process=0;
¡¡¡¡Alter database open;
¡¡¡¡Alter database character set zhs16gbk;
3¡¢Ôõô²é¿´Êý¾Ý¿â°æ±¾
select * from v$version¡¡¡¡
¡¡¡¡°üº¬°æ±¾ÐÅÏ¢£¬ºËÐÄ°æ±¾ÐÅÏ¢£¬Î»ÊýÐÅÏ¢(32λ»ò64λ)µÈ¡¡¡¡
¡¡¡¡ÖÁÓÚλÊýÐÅÏ¢£¬ÔÚLinux/unixƽ̨ÉÏ£¬¿ÉÒÔͨ¹ýfile²é¿´£¬Èç¡¡¡¡
¡¡¡¡file $ORACLE_HOME/bin/oracle


Ïà¹ØÎĵµ£º

OracleÊý¾ÝÎļþǨÒÆÖª¶àÉÙ£¿

±¾ÈËÒÔÇ°ÕûÀíµÄÊý¾Ý¿âÎļþǨÒƹý³Ì£¬Ï£ÍûÄܹ»¶Ô´ó¼ÒÓÐËù°ïÖú
1¡¢sqlplus "sys/sys@·þÎñÃû as sysdba"
 
2¡¢Ð޸ĿØÖÆÎļþ:
 
    alter system set control_files='E:\oracle\oradata\myOracle_1\control01.ctl',
 'E:\oracle\oradata\myOracle_1\control02.ctl','E:\oracle\oradata\my ......

linuxÏÂoracleÆô¶¯¹ý³Ì

ÔÚlinuxÏÂÆô¶¯oracle ºÍÔÚwindowsÊÇÓвî±ðµÄ£¬¶ÔÓÚÒ»°ãÔÚwindowsϲÙ×÷Ï°¹ßÈËÓкܶ಻ÊÊÓ¦£¬ËùÒÔÎÒÌرðдÕâÑùÎÄÕ£¬ÒÔ·½±ãÐÂÊÖ½øÐвÙ×÷£¬ÏÂÃæ¾ÍÒ»²½Ò»²½½²½âÆô¶¯¹ý³Ì¡£
1.ͨ¹ýÖÕ¶ËÁ¬½Óµ½linux·þÎñÆ÷,µ±È»ÕâÑùµÄÈí¼þºÜ¶àÀýÈçputty,SecureCRT,²¢ÒÔoracleÓû§½øÐеǼ£¬·ñÔòÆô¶¯oracleʱ»á´íµÄ£¬Ã»ÓÐȨÏÞÆô¶¯.(Ò²¿ÉÓû§root µ ......

oracleÖØÔزÙ×÷·ûµÄÀý×Ó

ת×Ô£ºhttp://download.oracle.com/docs/cd/B13789_01/server.101/b10759/statements_6004.htm
Creating User-Defined Operators: Example
This example creates a very simple functional implementation of equality and then creates an operator that uses the function:
CREATE FUNCTION eq_f(a VARCHAR2, b VARCHA ......

sql2005 Á´½Ó·þÎñÆ÷ Á¬½ÓOracle...

Ò»¡¢½¨Á¢Á´½Ó·þÎñÆ÷
       ÓÐÈËϲ»¶µ÷ÓÃϵͳ¹ý³ÌÀ´½¨Á¢£¬µ«ÎÒ¸öÈ˶Ôϵͳ¹ý³ÌûÓÐÌرðµÄѧϰ £¬ËùÒÔÓõÄÊǽçÃæÉèÖ㬵±È»ÓÐÐËȤҲ¿ÉÒÔÑо¿Ò»Ïµģ¬ÒòΪ¿ÉÒÔ°ÑSQLÖ´Ðе¼³öÀ´¡£
USE [master]
GO
EXEC master.dbo.sp_addlinkedserver @server = N'TEST2', @srvproduct=N'ORCL', @provider=N ......

oracleʹÓÃ×Ó²éѯ²åÈëºÍÐÞ¸ÄÊý¾Ý

ʹÓÃ×Ó²éѯ²åÈëÊý¾Ý£º
ʾÀýÒ»£ºinsert into employee (empno,ename,sal,deptno)
           select empno,ename,sal,deptno from emp
          where deptno=20;
ʾÀý¶þ£ºinsert /*+APPEND*/ into employee (empno,e ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ