±±´óÇàÄñoracleѧϰ±Ê¼Ç1¡«2
ÕâѧÆÚ×¼±¸»¨ÉÙÐíʱ¼äÑо¿Ò»ÏÂoracle£¬Ì¨Ê½»úµÄUbuntu²»Îȶ¨ÀÏ»µ£¬·ÅÆúÁËlinuxÉÏʹÓÃoracleµÄÏë·¨£¬ÔÚ×Ô¼º±Ê¼Ç±¾ÉÏ×°ÁËÒ»¸öoracle 10g express°æ±¾£¬Ñ§Ï°Ò»Ï¡£
±¾À´»¹ÏëÓÃÔƶËÐéÄ⻯һÏÂoracle£¬ÊµÑéʧ°Ü£¬ÀÏÀÏʵʵÈÃoracleÇÖÈëÎÒµÄϵͳ¡£¡£¡£囧
°²×°ÍêÒÔºó½øoracleÄǸö¹ÜÀíÒ³Ã棬н¨ÁËpufÕË»§ÒÔ¼°ÃÜÂ룬Õýʽ¿ªÊ¼Ê¹ÓÃoracle¡£
Á¬½Óoracle
(1)conn[ect]
¸ÃÃüÁîÓÃÓÚÁ¬½Óµ½Êý¾Ý¿â¡£×¢Ò⣬ʹÓøÃÃüÁÁ¢Ð»Ựʱ£¬»á×Ô¶¯¶Ï¿ªÏÈÇ°»á»°£¬Ê¾ÀýÈçÏÂ:
sql>conn scott/yhai1981@demo
(2)disc[onnect]
¸ÃÃüÁîÓÃÓڶϿªÒѾ´æÔÚµÄÊý¾Ý¿âÁ¬½Ó¡£×¢£º¸ÃÃüÁîÖ»ÊǶϿªÁ¬½Ó»á»°£¬¶ø²»»áÍ˳ösql*plus£¬Ê¾ÀýÈçÏÂ:
sql>disc
(3)passw[ord]
¸ÃÃüÁîÓÃÓÚÐÞ¸ÄÓû§µÄ¿ÚÁî¡£×¢£¬ÈκÎÓû§¶¼¿ÉÒÔʹÓøÃÃüÁîÐÞ¸ÄÆä×ÔÉí¿ÚÁµ«Èç¹ûÒªÐÞ¸ÄÆäËûÓû§µÄ¿ÚÁîʱ£¬
Ôò±ØÐëÒÔDBAÉí·Ý(sysºÍsystem)µÇ¼£¬ÔÚsql*plusÖУ¬µ±ÐÞ¸ÄÓû§¿ÚÁîʱ£¬¿ÉÒÔʹÓøÃÃüÁîÈ¡´úsqlÃüÁîalter user,
ʾÀýÈçÏÂ:
sql>passw
¸ü¸ÄscottµÄ¿ÚÁî
¾É¿ÚÁî:******
пÚÁî:******
ÖØмüÈëпÚÁî:******
¿ÚÁîÒѸü¸Ä
sql>
(4)exit
¸ÃÃüÁîÓÃÓÚÍ˳ö sql*plus,ÁíÍâÄãÒ²¿ÉÒÔʹÓÃquitÃüÁîÍ˳ösql*plus.ʹÓøÃÃüÁî²»½ö»á¶Ï¿ªÁ¬½Ó£¬¶øÇÒÒ²»áÍ˳ösql*plus
×¢:ĬÈÏÇé¿öÏ£¬µ±Ö´ÐиÃÃüÁîʱ»á×Ô¶¯Ìá½»ÊÂÎñ¡£
Ïà¹ØÎĵµ£º
Oracleѧϰ±Ê¼ÇÈý·½°¸
——ͨ¹ýÓëSqlServer¶Ô±Èѧϰ
·½°¸£¨schema£©
ÔÚOracleÖУ¬ÎÒÃÇ¿ÉÒÔ¶ÔÊý¾Ý¿â¶ÔÏó·Ö×飬Õâ¾ÍÊÇ·½°¸£¨schema£©£¬ÊÇÊý¾Ý¿â¶ÔÏóµÄ¼¯ºÏ¡£Ò»¸öÓû§Ò»°ã¶ÔÓ¦Ò»¸öschem ......
1¡¢ÓÃÀ´²åÈë´óÁ¿²âÊÔÊý¾ÝµÄ´æ´¢¹ý³Ì
CREATE OR REPLACE PROCEDURE INSERTAMOUNTTEST
(
ST_NUM IN NUMBER,
ED_NUM IN NUMBER
)
IS
BEGIN
declare
......
對Ò»個DBA»òÐèʹÓÃexp,impµÄÆÕͨÓÃ戶來說£¬ÔÚÎÒ們×öexpµÄ過³ÌÖпÉÄÜ經³£會Óöµ½EXP£00091 Exporting questionable statistics.這樣µÄEXPÐÅÏ¢£¬Æä實Ëü¾ÍÊÇexpµÄerror message£¬Ëü產ÉúµÄÔÒòÊÇÒò為ÎÒ們exp¹¤¾ßËùÔÚµÄ環¾³ ......
< type="text/javascript">
< type="text/javascript">
http://blog.csdn.net/tianlesoftware/archive/2009/12/01/4915223.aspx
Ò»¡¢Ê²Ã´ÊÇ
Oracle
×Ö·û¼¯
Oracle
×Ö·û¼¯ÊÇÒ»¸ö×Ö½ÚÊý¾ÝµÄ½âÊ͵ķûºÅ¼¯ºÏ
,
ÓдóÐ¡Ö ......