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

OracleÖв鿴×Ô¼º´´½¨µÄ±í - Oracle / ¸ß¼¶¼¼Êõ

Ôõôͨ¹ýÃüÁî²é¿´×Ô¼ºÒѾ­´´½¨µÄ±í£¿
select tname from tab;

SQL code:

--1.sysÓû§µÇ¼
select table_name
from dba_indexes
where table_owner = 'Óû§Ãû';

--2.ËùÓÐÓû§
select * from tab;




select dbms_metadata.get_ddl('TABLE','TABLE_NAME','USER_NAME') from dual;

²ÎÊýÈ«²¿´óд¡£

ÁíÍ⣬ͨ¹ýÃüÁî²é¿´´æ´¢¹ý³ÌºÍº¯Êý:select text from all_source where name=upper('object_name');

2Â¥Õý½â

select * from tab;  
ÓÖѧÁËÒ»ÕУ¡

ѧϰ!

ÎÒÒ»Ö±ÓÃÕâ¸ö£º
ÏȲ鿴һϱí½á¹¹£º desc user_tables;
È»ºó²é±íÃû¾ÍÐÐÁË
select table_name from user_tables;

select * from tab where tabtype='TALBE';
»òÕßÊÇ
select * from user_tables;
»òÕßÊÇ
select count(*) from all_tables where owner='Êý¾Ý¿âÓû§Ãû' ;

select table_name from user_tables
Ò»°ãÇé¿öÏ£¬ÓÃÕâ¸ö¾Í¿ÉÒÔÁ˰ɣ¿

select * from user_tables

select table_name from user_tables;



Ïà¹ØÎÊ´ð£º

oracle·þÎñ״̬ÏÔʾ ¡°Í£Ö¹¡±

ÎÒÊÇÓÃÔ¶³Ì×ÀÃæÁ¬²Ù×÷·þÎñÆ÷ÉϵÄÊý¾Ý¿â¡£
ÔÚ´´½¨Ò»¸öÓû§Ö®ºó£¬ÔÙÓÃPLSQLµÇ¼£¬ÔòPLSQLËÀµôÁË¡£
ÎҹصôPLSQLÖ®ºó£¬ÓÃÆäËûÓû§Ò²²»ÄܵǼ¡£

ÎÒ°ÑoracleµÄ·þÎñÍ£Ö¹£¬½á¹û¾ÍÊÇoracleµÄ·þÎñ״̬¾ÍÍ£ÁôÔÚ¡°Í ......

Windows 7 ÔõÑù°²×°Oracle - Oracle / »ù´¡ºÍ¹ÜÀí

¸÷λ´ó¸ç£¬°ï¸öæ¡£

ϸöOracle for vista °æ±¾µÄ°²×°ÊÔÊÔ
10GºÍ11GµÄ 
http://www.oracle.com/technology/software/products/database/index.html 
------------------------------------------- ......

Ò»Ìõ SQL - Oracle / »ù´¡ºÍ¹ÜÀí

ÓÐÕâÑùÒ»ÌõSQL
 Select Get_Costtaxrate(col1), Get_Tcostvalue(col1) from a
 
ÆäÖÐGet_Costtaxrate¡¢Get_Tcostvalue¶¼ÊǺ¯Êý£¬ÕâÁ½¸öº¯ÊýÀïÃæ¶¼ÊDzéÕÒÒ»¸ö´ó±í£¬Get_Tcostvalue»¹ÐèÒªµ÷ÓÃGet_C ......

oracle ÈÕÆÚ - Oracle / »ù´¡ºÍ¹ÜÀí

дPL/SQL·¢ÏÖ,
  DBMS_OUTPUT.PUT_LINE(to_date('2010/05/19','yyyy/MM/dd'));
ºǫ́Êä³ö»¹ÊÇ10-05-19
ÎÞÂÛ¸ñʽÔõô¸Ä¶¼ÊÇÕâÑùÊäÈë,²»Ã÷°×°¡!!!
ÓÃDevoloperÀ´¿ª·¢µÄ..
dbms_output.put_line()ÀïÃæµÄ²ÎÊýÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ