¹ØÓÚSqlµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET
½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º DECLARE @STR NVARCHAR(MAX) SET @STR='SELECT * from SALE_PROD' ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿ Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡
¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡ Ö±½ÓÖ´ÐоÍÐÐÁË exec sp_executesql @STR exec(@STR) exec ÊÇÖ´ÐÐÃüÁîÒýÓà exec(@STR) ¹ýÀ´Ñ§Ï°µÄ¡£ exec ¹ýÀ´Ôø·ÖµÄ¡£ exec(@STR) »¹ÓÐÒ»¸öÎÊÌ⣺Èç¹û²éѯÓï¾ä¹ý³¤µÄ»°£¬ÄÇôÎÒ¶¨ÒåµÄÄǸö±äÁ¿£¬¸ÃÊÇʲôÀàÐ͵ÄÄØ sqlserver05µÄ»° ¿ÉÒÔÊÇtextµÄ°É? ²»¹ývarcahrÓ¦¸Ã¹»ÓÃÁË°É? ÎÒÊÔÁËһϣ¬¿ÉÊÇtext²»Ðа¡£¬²»ÖªµÀ»¹ÓÐûÓÐÆäËûµÄ°¡ exec Ö´ÐÐ ÕâλÊÇÏÀ½ãÄØ»¹ÊÇÈÊÐÖÄØ Ê¹ÓÃsp_executesql SQL code: DECLARE @STR NVARCHAR(MAX) SET @STR=N'SELECT @count=count(*) from Category' declare @count int exec sp_executesql @STR,N'@count int output', @count output select @count ²Î¿¼ ºÃµÄ£¬Ð»Ð» ÎÒ¿´´íÌâÄ¿ÁË ÎÒÈÕ Ö´ÐÐËû Ö±½Óexec¾ÍºÃ varchar×ºÃÏñÊÇ7000£¨ÓпÉÄÜ¼Ç´í£©£¬Èç¹ûʵÔÚ³¬³¤£¬¿ÉÓÃnvarchar(max)
Ïà¹ØÎÊ´ð£º
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌⶼ¸ÄºÃÁË£¬ ¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
sqlµÄÈí¼þÔÚÄÄÀï¿ÉÒÔÏ°¡£¡ÔÚÍøÉÏÕÒÁËÂù¶à¶¼Óò»ÁË°¡ Ëæ±ã¸ãÒ»D°æ°É£¬ ѸÀ×µÚÒ»¸ö¾Í¿ÉÒÔÓà 2000,2005¶¼ÕâÑù http://119.147.41.16/down?cid=0698C2D64D7D637D90A6D2482298E6717D4F15CD&t=2&fmt=-1 ......
´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл ajax_http.js ------------- function getXMLHTTP() { var xmlhttp; if (window.ActiveXObject) { //IE try { ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂ𣿠Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 3Q´ó¼Ò htmlÒ³Ãæ. Õâ¸ö,¼ÈÈ»Ö÷Ò ......
ÏÖÔÚÓÐÒ»¸ö²¿Ãűídept£¨²¿ÃÅÃû³Æ£¬²¿Ãźš£¡££©ÓÐÒ»¸öÈËÔ±±íemp£¨ÐÕÃû£¬ÈËÔ±±àºÅ£¬Ö°Î»£¬Ð½×Ê£¬²¿ÃÅ£© emp±íÖеÄÄÚÈÝÊÇÕâÑùµÄ£º a 1 ¹¤³Ìʦ 3000 Èí¼þ²¿ b 2 ÆÕͨԱ¹¤ 2000 Ó²¼þ²¿ c 3 ¹¤³Ìʦ 4000 Ó²¼þ²¿ d ......