Ñ°Çó½â¾ö·½°¸£¡¹ØÓÚOracle²éѯËٶȵģ®
Ñ°Çó½â¾ö·½°¸£¡¹ØÓÚOracle²éѯËٶȵģ®
Ö÷ÊÇ´óÊý¾ÝÁ¿¡¡£«¡¡´óÁ¿¼ÆËãºó²éѯµÄËÙ¶È
ÓÐЩʲôÑùµÄ·½°¸ÄÜÌá¸ß¡¡ÕâÖÖ²éѯЧÂÊ
Êý¾ÝÁ¿Ò²¾ÍһǧÍò×óÓÒ
²»¹ý¼ÆËãÉÏÉÔ΢Óе㸴ÔÓ¡¡
ÏÖÔÚµÄÕý³£Çé¿öÏ¡¡ÒªÊ®¼¸ÃëµÄʱ¼ä£®£®
»¹ÓÐЩʲôÑùµÄ·½°¸ÄÜÈÃÕâ¸ö²éѯЧÂÊÌá¸ß
ÄÜÔÚÎåÃëÄÚÊÇ×îºÃµÄ£®£®£®
SQL ЧÂʾö¶¨²éѯËÙ¶È.. Ïë°ì·¨Ìá¸ßÏàÓ¦sqlµÄЧÂÊ...
------------------------------------------------------------------------------
Blog£º http://blog.csdn.net/tianlesoftware
ÍøÉÏ×ÊÔ´£º http://tianlesoftware.download.csdn.net
Ïà¹ØÊÓƵ£ºhttp://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
Q Q Ⱥ£º62697716
Ë÷Òý
Êý¾Ý±ä»¯²»Æµ·±µÃ»°£¬ÎﻯÊÓͼ¡«¡«¡«
¶ÔÓÚÕâÖÖÇé¿ö£¬±ðÈËÖ»ÄÜÊÇÓÅ»¯SQLЧÂÊ£¬ÒªÓÅ»¯SQLЧÂʾͱØÐëÌṩÊý¾ÝµÄ·Ö²¼Çé¿ö£¬Êý¾ÝÖ®¼äµÄÁªÏµ£¬ÒѾÕýÔÚʹÓõÄSQL¡£·ñÔòÉñÏɶ¼ÓÅ»¯²»ÁË¡£
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ,ÎÒÏÖÔÚ°Ñoracle·þÎñÆ÷ÉÏÃæµÄÔʼÎļþ,ÏÂÔص½±¾»úÁË.ÎÒÏëÔÚ±¾»ú·ÃÎÊÊý¾Ý¿âÔõôÉèÖð¡.ÊDz»ÊÇÀàËÆ¿ÉÒÔ½¨Á¢Ò»¸öʲôÐéÄâ·þÎñÆ÷À´ÊµÏÖ.Çë´ó¼Ò³ö³öÖ÷Òâ
ÒýÓÃ
´ó¼ÒºÃ,ÎÒÏÖÔÚ°Ñoracle·þÎñÆ÷ÉÏÃæ ......
ÇëÎÊÕâ¸ö»º³å³ØÊÇÔõô»ØÊ°¡£¿¿ÉÒÔÁ¬½Ó»º³å³ØÀûÓÃÆäÖеÄÊý¾Ý°É£¿ÔõôÓã¿
Õâ¸öÊÇoracle×Ô¶¯×öµÄ£¬Ò»°ãÓ¦ÓóÌÐòÊDzÙ×÷²»Á˵ġ£
²»ÄÜÖ±½ÓÁ¬½ÓÂð£¿
ÒýÓÃ
²»ÄÜÖ±½ÓÁ¬½ÓÂð£¿
²»ÄÜ
ÄÇ»º³å³ØÀïµÄÊý¾ÝÒ²²»Äܲéѯ ......
OracleÖÐSQLÓï¾äÖÐ
drop table ±íÃû cascadeconstraints
Óë
drop table ±íÃû cascadeconstraint
ÓÐʲôÇø±ð£¿
constraintºÍconstraintsÔÚoracleÖÐÊÇÒ»ÑùʹÓõÄ
¹Ù·½½¨ÒéʹÓÃconstraint
ÒýÓÃ
constraintºÍc ......
[color=#FF0000][/color]ÒÔÏÂÊÇÎÒµÄservlet´úÂë[color=#FF0000][/color]package JDBCExample1.demo1;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import ......
select a.exec_sqn, a.dept_code
from ipmonmex a, lis_test_reg b
where a.exec_sqn = b.exec_sqn
and b.barcode = '1002052716'
Ö´ÐÐËٶȵÄ2·ÖÖÓ×óÓÒ£¬ÊµÔÚÊÇÌ«Â ......