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

mysqlÖÐÖ´ÐÐsqlÓï¾äʱ³ö´í - MS-SQL Server / »ù´¡Àà


ÔÚ MySQLÖÐÖ´ÐÐÈçÏÂÓï¾ä

delete t from (select top 2 * from use_table) t

ʱ³ö´í£º


SQL Ö´ÐдíÎó#1064.´ÓÊý¾Ý¿âµÄÏìÓ¦£º

You hava an error in your SQL syntax ; check the manual that corresponds to your MySQL server for the right

syntax to use near '2 * from use_table) t' at line 1
SQL code:
mysql ÀïÃæ¿ÉÒÔÕâÑùдô£¿£¿²»¶®£¬°ï¶¥...
delete t from (select top 2 * from use_table) t



delete t from t where ¹Ø¼ü×Ö in (select top 2 ¹Ø¼ü×Ö from use_table)

ÒýÓÃ
ÔÚ MySQLÖÐÖ´ÐÐÈçÏÂÓï¾ä

delete t from (select top 2 * from use_table) t

ʱ³ö´í£º


SQL Ö´ÐдíÎó#1064.´ÓÊý¾Ý¿âµÄÏìÓ¦£º

You hava an error in your SQL syntax ; check the manual that corresponds to your MySQL server f¡­¡­

ÎÒµÄmysql-5.0.22-win32ÀïÊÔÁË£¬Ã»ÓÐÕâ¸öÓï·¨

SQL code:
delete from ±íÃû where Ìõ¼þ in (select top 2 Ìõ¼þ from ±íÃû )


code=SQL]delete from use_table limit 2;[[/code]
{{


Ïà¹ØÎÊ´ð£º

mysqlÁ¬½Ótomcat - Java / Web ¿ª·¢

ÎÒÒѾ­°´Õս̳ÌÉÏÅäÖÃtomcatµÄserver.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......

netbeans Á¬mysql - Web ¿ª·¢ / HTML(CSS)

ÎÒÓõÄÊÇÁ¬½Ó³Ø×öµÄ£¬ÅäÁ¬½Ó³ØµÄ·½·¨Ó¦¸ÃûÓÐ´í£¬ÎªÊ²¾ÍÊdzöÏÖÕâÖÖÎÊÌâ
javax.servlet.ServletException: javax.naming.NameNotFoundException: No object bound to name java:comp/env/test
ÇëÎÊ´óÏÀÃÇÕâÊÇÔ ......

ÇóÒ»SQL - MS-SQL Server / »ù´¡Àà

tab1 ×Ö¶Î:billdate,goodsid,incount,inmoney,outcount,outmoney,endprice,endcount,endamt
tab2 ×Ö¶Î:goodsid,goodskind£¨ÉÌÆ·ÀàÐÍ£©
tab3 ×Ö¶Î:goodskind£¨ÉÌÆ·ÀàÐÍ£©,kindname
½á¹û£º
µÃµ½ÉÌÆ·ÀàÐÍÔÚÒ»¶Îʱ¼ä ......

ÇóÒ»¸öSQLÓï¾ä - MS-SQL Server / »ù´¡Àà

×Ö¶Î1,×Ö¶Î2.....×Ö¶ÎN,Status,ParentID
1,Name1....test1,1,99
1,Name1....test1,3,99
1,Name2....test2,1,101
1,Name2....test2,3,101
1,Name3....test3,2,101
1,Name1....test1,4,101
ÏëÒªµÄ½á¹ûÊÇ:
1,Na ......

Çë½ÌSQLSERVERµÄÁ½¸öÎÊÌâ - MS-SQL Server / ÒÉÄÑÎÊÌâ

1¡£ÔõÑùʹxp_cmdshellÄÜÍêÕûÊä³ö³¬¹ý255¸ö×Ö·ûµÄ×Ö·û´®¡£
2¡£select ʱ£¬¼ìË÷ËÙ¶ÈÊÇÓëfromºóµÄ TABLE˳ÐòÓйأ¬»¹ÊÇÓëwhereÌõ¼þµÄ˳ÐòÓйØ(TABLEÊý¾Ý¶àÉÙ )
ÔÚϵͳÊôÐÔÉ趨ÀïÓиöÑ¡Ïî,¿ÉÒÔÐ޸ĵ¥×Ö¶ÎÊä³ö×ÖÊýÏÞÖÆ. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ