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

aspÖÐaccess¶à±í²éѯµÄÎÊÌâ¼±£¡

ÎÒÏëÔÚaspÖУ¬ÊµÏÖ°Ñ£¬±í1,±í2£¬±í3£¬Öеļ¸¸ö×ֶΣ¬²éѯ³öÀ´£¬¾ÍÊÇÈý¸ö±íÁªºÏ²éѯ£¨ÎÒÓõÄʱºòÁ½¸ö±íÁªºÏ²éѯûÓÐÎÊÌ⣬µ«ÊǾÍÊDz»ÄÜÈý¸ö±íÁªºÏ²éѯ£©£¬
ÆäÖУ¬±í2µÄ£¬mainid,×ֶκͱí1µÄid×Ö¶ÎÏà¹Ø£¬±í2µÄid×ֶκͱíÈýµÄclassidÏà¹Ø,ÔÚaspÖÐÓ¦¸ÃÈçºÎдÓï¾äÀ´ÊµÏÖ£¡Çë¸ßÊֻشð£¡
ÎÒдµÄÊÇ
select * from 2left join 3 on 2.id=3.classid inner join 1 on 2.mainid=1.id
µ«ÊDz»ÐУ¬
¶øÎÒÔÚaccessÖÐÓÃselect * from 2left join 3 on 2.id=3.classid
ºÍselect * from 2inner join 1 on 2.mainid=1.id
¶¼ÊÇ¿ÉÒԵģ¡Ð´ÔÚaspÖÐÒ²¿ÉÒ԰Ѹ÷×ÔµÄÄÚÈÝÔÚaspÒ³ÃæÖÐÏÔʾ³öÀ´£¬µ«ÊDz»ÄÜͬʱ ÏÔʾÈý¸ö±íµÄÄÚÈÝ£¡

ÎÒÒ²ÊÔ¹ý°Ñ*±ä³É±íÃû.ÏàÓ¦×ֶΣ¬»¹²»ÐУ¡

SELECT a.id, b.id AS bid, c.classid from ±í1 a JOIN ±í2 b ON a.id=b.mainid JOIN ±í3 c ON b.id=c.classid



ллyoungsheep

access sql²éѯÊÓͼÖл¹ÊDz»ÄÜÓã¬ÎÒÒ»²éѯ£¬µ¯³ö£¬²»Ö§³ÖÁ¬½Ó±í´ïʽ

²»ÖªµÀдÔÚaspÖÐÄܲ»ÄÜÓ𡣬ÎÒÊÔһϠȥ

hookee,£±£²£³£¬¼´ÊDZíÃû£¬Õâ¸öºÍÎÒдµÄÒ»Ñù°É

ÊDz»ÊÇÒòΪ select * µÄÎÊÌ⣬ÖØÃû×Ö¶ÎÎÞ·¨Çø·Ö£¿

ÎÒÒªÏÔʾµÄ¼¸¸ö×Ö¶ÎÖÐûÓÐÖØÃûµÄ¡£

лл°¡£¬
ÓÃÕâ¸ö·½·¨£¬³öÀ´¡¡ÁË£¬select * from (2 left join 3 on 2.id=3.classid) inner join 1 on 2.mainid=1.id
ÎÒÓÖ°Ñleft join ±ä³ÉÄÚÁ¬½Ó¾ÍÐÐÁË

ÒýÓÃ
SELECT a.id, b.id AS bid, c.classid from ±í1 a JOIN ±í2 b ON a.id=b.mainid JOIN ±í3 c ON b.id=c.classid


±È½ÏÍêÃÀ

ºÇºÇ£¬ÎÒÒ²ÊÇÀ´Ñ§Ï°µÄ


Ïà¹ØÎÊ´ð£º

Ò»¶Îaspתphp

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

ÎÒÊÇÒ»ÃûASP´¦Ñ§Õߣ¡ÏëÇë°ïæÍƼöÒ»±¾ASPºÃµÄÊé¼®

ÎÒÔ­±¾ÊÇѧjspµÄ¿ÉÕÒÁËÒ»¸öASPµÄ¹«Ë¾£¡ÎÒÒªÖØÐÂѧϰ£¡ ѧϰASP£¡ Ï£Íû´ó¼ÒÍƼöÒ»±¾ºÃÊé¸øÎÒлл
<ASP3.0¸ß¼¶±à³Ì> ÍøÉÏÓеç×Ó°æµÄ

·¢ÏÖÍøÉÏaspÐÅϢʱ×î¶àµÄ ±ÈÆäËûµÄ¶¼¶àºÃ¶à

yun

ÕÒ±¾ÓÐÓ¦ÓÃÊÂÀýµÄA ......

aspÒ³Ãæµ÷ÊÔÎÊÌâ

½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£


µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£

¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁË°É¡£¡£

¶÷ÔõôȡÏûÄØ£¿

Òªµ ......

³õʶasp,Çë¸ßÊÖÖ¸½Ì

ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......

ASP FCKÔÚÏ߱༭Æ÷

ÓÐÄÄλ¸ßÊÖÓùýASP FCKÔÚÏ߱༭Æ÷ѽ£¬ËüÄǸöͼƬÉÏ´«¹¦ÄÜÔõôÅäÖÃѽ
ÄܸøÎÒ·¢¸öÄÜÓÃFCKÔÚÏ߱༭Âð£¿Ò»¶¨ÄÜÉÏ´«Í¼Æ¬¹¦ÄܵÄѽ£¬¼±Ñ½
Ö±½Óµ½¹Ù·½Íøվȥϸö¾Í¿ÉÒÔÁË£¬¹ØÓÚÉèÖÃô£¬Ö±½ÓGOOGLEÒ»ÏÂÄãµÄ°æ±¾ºÅ¾Í¿ÉÒÔÕÒµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ