Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : Oracle

¹òÇóÒ»ÌõSQLÓï¾ä - Oracle / »ù´¡ºÍ¹ÜÀí

СµÜÓÐÈçϱí½á¹¹£¬ÏÖҪͳ¼ÆʵÏÖÈçϽá¹ûµÄ¹¦ÄÜ£¬ÔÚ±í½á¹¹Ï·½¡£
ID NUMBER(18) N PK: SEQ_BROWSE_LOGIN
BROWSE_ AMOUNT NUMBER N
LOGIN_AMOUNT NUMBER N
USER_TYPE NUMBER(1) N 1¡¢ ¹Ü¾ÖÓû§
  2¡¢ Ç°ÖÃÓû§
......

¹ØÓÚSQLÓï¾äORµÄÎÊÌâ - Oracle / ¸ß¼¶¼¼Êõ

ͨ¹ýNAME×Ö¶ÎÌõ¼þ²éѯһ¸öÊý¾Ý±í£¬¼ÙÉèÎÒÓÐ100¸öÐÕÃû£¬ÓÐÒÔÏÂÁ½¸ö·½·¨£¬
·½·¨1£º
°Ñ100¸öName ×é³ÉÒ»¸öSQLÓï¾ä£¬±ÈÈç Select * from tmp_table where Name='ÕÅÈý' or Name ='ÀîËÄ' Or ...Or Name='µÚÒ»°Ù¸öÐÕÃû'
·½·¨2£º
ͨ¹ýÑ­»·100´Î£¬Ã¿´ÎÖ´ÐÐÒ»¸öNameÌõ¼þ£¬Ö´ÐÐ100¸öSQLÓï¾ä
Select * from tmp_table where Name=' ......

oracleµÄ·ÖºÅºÍб¸Ü/ - Oracle / »ù´¡ºÍ¹ÜÀí

ÒýÓÃ
1. Adding a slash to the end of each statement was a bad choice because sqlplus treats slash as a buffer flush. For procedure/triggers/functions it is a must: because content of if is stored in the buffer and is not executed. However, for all other statements it means executing the same statem ......

oracle ±¸·Ý·þÎñÆ÷ - Oracle / »ù´¡ºÍ¹ÜÀí

ÐèÒª×öһ̨±¸·ÝµÄ·þÎñÆ÷.Êý¾ÝÍêÈ«¸úÕýʽ·þÎñÆ÷ͬ²½,µ±Õýʽ·þÎñÆ÷³öÏÖÎÊÌâµÄʱºòÇе½±¸·Ý·þÎñÆ÷ÉϾÍÄÜÓÃ.
ÔõôÑù×öµ½ÕâÁ½¸öÊý¾Ý¿âµÄÊý¾ÝÍêÈ«Ò»Ñù.
Çë¸ø³öÒ»¸öÏêϸһµãµÄ½â¾ö·½°¸.

Êý¾Ý¿âͬ²½½â¾ö·½°¸£¡
http://www.wavetop.com.cn/solution/sl_db.asp
......

oracleÖÐvarchar2Êý¾ÝÀàÐÍ - Oracle / »ù´¡ºÍ¹ÜÀí

VARCHAR2(<size>) varchar2Êý¾ÝÀàÐÍÊÇÒ»Öֿɱ䳤¶ÈµÄ¡¢ÓÐ×î´ó³¤¶ÈµÄ×ÖĸÊý×ÖÐÍÊý¾Ý¡£Varchar2ÀàÐ͵Ä×ֶγ¤¶È¿ÉÒÔ´ïµ½4000×Ö½Ú£¬Varchar2ÀàÐ͵ıäÁ¿³¤¶È¿ÉÒÔ´ïµ½32676×Ö½Ú¡£
 Ë­ÄÜ°ïÎÒ½âÊÍһϣ¬¸ÃÔõôÀí½â£¿Ð»Ð»
-- Ding

ÔÚ¶¨Òå±íʱ£¬×î´ó³¤¶ÈΪ4000
È磺
create table test(a varchar2(4000))
ÔÚpl/sq ......

oracle PL/SQL³ÌÐò¿éÎÊÌâ - Oracle / »ù´¡ºÍ¹ÜÀí

±àдPL/SQL³ÌÐò¿éShowInfo£¬¸ø¶¨Ò»¸öÔ±¹¤ºÅ¾Í¿ÉÒÔÏÔʾÆäÐÕÃû¡¢ÐÔ±ðµÈÐÅÏ¢,
Èç¹û¸ÃÔ±¹¤²»´æÔÚÔòÏÔʾ¡®¶Ô²»Æð£¬Ã»ÓдËÔ±¹¤£¡¡¯
 ÇëÎÊÉÏÃæÕâµÀÌâÕâôд£¿£¿¸Õѧoracle¶ÔºÜ¶à¶¼²»ÊǺܶ®£¬Ï£ÍûÄܹ»Ïêϸ½âÊÍ£¡Ð»Ð»
if(v is not null)then
dbms_output.put_line('¸ÃÔ±¹¤²»´æÔÚ');

Õâ¸öÎÊÌâ¼ÇµÃÇ°¼¸ÌìÓÐÈËÎʹý

×Ô¼ ......
×ܼǼÊý:1827; ×ÜÒ³Êý:305; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [9] [10] [11] [12] 13 [14] [15] [16] [17] [18]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ