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

°ïæ¿´¿´ÕâÌõsqlÓï¾ä - .NET¼¼Êõ / ASP.NET

string selectSql = "select * from class_user_xpnews where spmc like '%" + this.txtSpName.Text.Trim() + "%' and sssq='" + businessSquareId + "' and zxqk='" + fitmentid + "'or key like '%"+"ÊÇ"+"%' ";
Ìáʾkey¹Ø¼ü×Ö¸½½üÓдíÎó¡£

string selectSql = "select * from class_user_xpnews where spmc like '%" + this.txtSpName.Text.Trim() + "%' and sssq='" + businessSquareId + "' and zxqk='" + fitmentid + "'or key like '%"+"ÊÇ"+"%' ";
Ìáʾkey¹Ø¼ü×Ö¸½½üÓдíÎó
Äã¸ø¶¨µÄÌõ¼þÂß¼­ÓÐÎÊÌâ

¹ÛÍûÂ¥Ö÷µÄ½áÌùÂÊ

string selectSql = "select * from class_user_xpnews where spmc like '%" + this.txtSpName.Text.Trim() + "%' and sssq='" + businessSquareId + "' and zxqk='" + fitmentid + "'or [key] like '%"+"ÊÇ"+"%' ";

2 3 Â¥ ¶¼ÕýÈ·

ºÃÁË£¬Ð»Ð»kuroroloveÁË

ÒýÓÃ
keyÊÇsql±£Áô¹Ø¼ü×Ö£¬±ðÓÃËüµ±Êý¾Ý¿â×Ö¶ÎÃû

ͬÒâ

KeyÊÇSQL ±£Áô¹Ø¼ü×Ö£¡

°ï¶¥£¡£¡£¡£¡£¡£¡£¡£¡£¡

[key]

key¶¼ÓÃÉÏÁË£¬Àúº¦

key ÊÇsql ±£Áô×Ö ÄãºóÃæÄǾä orÌõ¼þ¸ø¸öÀ¨ºÅ

ÒýÓÃ
string selectSql = "select * from class_user_xpnews where spmc like '%" + this.txtSpName.Text.Trim() + "%' and sssq='" + businessSquareId + "' and zxqk='" + fitmentid + "'o


Ïà¹ØÎÊ´ð£º

ÇóÒ»sqlÓï¾ä - MS-SQL Server / ÒÉÄÑÎÊÌâ

ÏÖÔÚÓÐÁ½ÕÅ±í£ºÎÄÕÂÖ÷±íA(articleId,articleTitle)£¬ÎÄÕÂÆÀÂÛ±íB(commentId,articleId,commentTitle)
ÏÖÔÚÎÒÏëʵÏÖÕâÑùµÄ¹¦ÄÜ£ºÁгöÎÄÕÂÁÐ±í£¬ÆäÖÐÿƪÎÄÕ±êÌâÏÂÃæÁгö´ËÎÄÕµÄÇ°2¸öÎÄÕÂÆÀÂÛ£¬ÇëÎÊsqlÓï¾äÔõôд°¡ ......

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

ÇóÒ»¸ö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 ......

¹ØÓÚSqlµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡


¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡

Ö±½ÓÖ´ÐоÍÐÐÁË

exec ......

Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿ - MS-SQL Server / »ù´¡Àà

Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿
ÖÁÉٵø½¼Óµ½sqlserverÉÏ

¾ßÌåÔõôŪ°¡ ÎҵıÏÒµÉè¼ÆµÄÊý¾Ý¿âÊÇ´ÓÍøÉÏdownÏÂÀ´µÄ£¿£¿

Ä㻹²»ÈçÖ±½ÓÓÃsqlserverÄØ

º¯Êý¡¢´æ´¢¹ý³Ì¶¼µÃ¸ÄÁË¡£

sqlserverûÔõôÓùý¡£Ò²Ã»Óа²× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ