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

sql²éѯ ÎÊÌâ ÐÂÊÖÈëÃÅ¡­¡­ - .NET¼¼Êõ / ASP.NET

ÃèÊö£ºÊý¾Ý¿âÖÐ×ֶκÍÊý×ÖÈçÏÂËùʾÏêÇé
ÆäÖÐstatus×ֶΣºo´ú±íδÇå¡¢l´ú±íËðʧ¡¢w´ú±íӮȡ
cardcode------------------cardcaname-------------status
c00001----------------------ÐÂΡ¶ë-----------------o
c00001----------------------ÐÂΡ¶ë-----------------o
c00001----------------------ÐÂΡ¶ë-----------------l
c00001----------------------ÐÂΡ¶ë-----------------w
c00002----------------------ÃÀµÛ------------------l
c00002----------------------ÃÀµÛ------------------w
c00003---------------------»ªÏÄ-------------------w
c00003---------------------»ªÏÄ-------------------w

ÓÃsqlÓï¾äµÃµ½ÈçϽá¹û£º
»ï°é´úÂë-----------------»ï°éÃû³Æ---------------×ܼÆ-----------δÇå×ܼÆ----------Ӯȡ×ܼÆ--------Ëðʧ×ܼÆ
c00001-------------------ÐÂΡ¶ë-----------------4----------------2----------------1----------------1
c00002-------------------ÃÀµÛ-------------------2----------------0----------------1----------------1
c00003-------------------»ªÏÄ-------------------2----------------0----------------2----------------0

ÇóÏê½â¡£¸÷λ´óϺ°ï°ïæ¡£


Ò»¶¨Òª¶¥¶¥¶¥¶¥¶¥

û¿´¶®£¬ÊDz»ÊÇÔÚ×öÓÎÏ·£¿

caseÓï¾äÓ¦¸Ã¿ÉÒԸ㶨£¬×Ô¼ºÂýÂýÊÔÊÔ°É£¡

SQL code:
DECLARE @t TABLE (cardcode NVARCHAR(10),cardcaname NVARCHAR(10),STATUS NVARCHAR(10))
INSERT INTO @t
SELECT 'c00001','ÐÂΡ¶ë','o'
UNI


Ïà¹ØÎÊ´ð£º

sqlССµÄÒÉÎÊ - .NET¼¼Êõ / C#

¿ÉÄÜÒòΪ¹¤×÷µÄÔ­Òò ½Ó´¥Êý¾Ý¿âÕâ¿é±È½ÏÉÙ£¬Ö®Ç°¶¼ÊÇ×ö³ÌÐòÕâ¿é£¬Êý¾Ý¿âÕâ¿é¶¼ÓÐרÃŵÄÈËÀ´×ö ·Ö¹¤¶¼ºÜÃ÷ϸ ËùÒÔ¶ÔÊý¾Ý¿âÕâÒ»¿éÍêÈ«²»Á˽⡣ǰ¶Îʱ¼ä È¥ÃæÊÔÁ˼¸¼Ò¹«Ë¾ ¼¸ºõ¶¼ÊÇÔÚÊý¾Ý¿âÕâ¿é¹ÒµôµÄ Á¬¸ö¼òµ¥µÄSQ ......

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

WapµÄÒ»¸ö¾ÞÍ·ÌÛµÄÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌⶼ¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......

SQL·ÖÒ³ÓëOracle·ÖÒ³µÄÒÉÎÊ£¿ - Java / Web ¿ª·¢

ÕâÀïÏëÁ˽âÏ£¬¹ØÓÚSQL ServerÖзÖÒ³ºÍOracleÖзÖÒ³£»
ƽ³£Ð´Ó¦ÓóÌÐòµÄʱºò£¬±ÈÈçÓõÄÓïÑÔÊÇJava£¬ÓиöÁбíÒ³Ã棬ÐèÒª¶ÔÊý¾Ý·ÖÒ³ÏÔʾ£»
ÕâÀïÒª·ÖÒ³ÄѵÀ²»ÐèÒª½èÖúJava£¬¶øÖ±½ÓsqlÄÜÖªµÀ·ÖÒ³Âð£¬ÆðÂëÒ²Òª´«¸öÒ³Âë½ ......

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

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


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

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

exec ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ