²ÎÊý»¯Ö´ÐÐsql£¬ÈçºÎ·µ»ØÍêÕûµÄsql£¿ - .NET¼¼Êõ / C#
Êý¾Ý¿âµÄ²Ù×÷¶¼ÊÇʹÓõIJÎÊý»¯À´Ö´ÐУ¬ÏÖÔÚÐèÒª¼Ç¼ÈÕÖ¾£¬ÔòÐèÒª¼Ç¼ÏÂÀ´ÍêÕûÖ´ÐеÄsqlÓï¾ä¡£ÕâÑù²ÎÊý»¯µÄ¾ÍµÃ²»µ½ÍêÕûµÄsqlÓï¾ä¶¼ÊDzÎÊý£¬Ã»ÓÐÖµ£¬ÎÒ²ÉÓÃ×Ô¼ºÆ´½ÓµÄ·½Ê½£¬µ«Êǹ¤³ÌÁ¿Ì«´óÁË£¬ÎÒ¸öÈ˾õµÃ¼´Ê¹ÊDzÎÊý»¯µÄÖ´Ðз½Ê½£¬µ½µ×À´Ëµ»¹ÊÇÖ´ÐеÄsql£¬adoÖÐÓ¦¸Ã¿ÉÒÔ»ñÈ¡µÄ£¬ÇëÖ¸½Ì£¿
×Ô¼º¶¥ÉÏÀ´¡£
²ÎÊý»¯µÄsqlÓï¾ä±È½ÏºÃ£¬ÄãµÄÈÕÖ¾¿ÉÒÔ°ÑsqlÓï¾ä+²ÎÊýµÄÖµÒ»Æð±£´æÏÂÀ´Ñ½
http://topic.csdn.net/u/20091128/11/7d4ccb82-5f6f-4615-b226-a1678c597d32.html
ÔõôÕâôÉî°Â°¡£¬´ÓÀ´Ã»ÓÐÓùýÈÕÖ¾Îļþ£¬ÕâÓÐʲôÓð¡
´ò¿ªsql profiler,Ñ¡ÖС°±£´æµ½Îļþ¡±Ñ¡ÏȻºó×Ô¼º·ÖÎö¡£Õâ¸ö¹¤¾ß»¹ÓÐÆäËû·á¸»µÄÑ¡ÏÕâ¸öÁ¬½ÓÎÒ¾õµÃ˵µÄÒѾ±È½ÏÇå³þÁË(Ó¢ÎÄ)£º
ÅäÖÃsql profiler
ÁíÍ⻹¿É¿´Áª»ú´ÔÊéµÈ
(¡Ño¡Ñ)¡ ÓÐÒâ˼ ¹Ø×¢
´ø²ÎÊýµÄsqlÖ´Ðв»ÊÇÖ±½Ó·¢ÄãÏëÒªµÄsqlÓï¾ä£¬¹À¼ÆÖ»ÄÜ×Ô¼ºÈ¡²ÎÊýֵƴ½Ó¡£
·ñÔòÔÚSQL ServerµÄ·þÎñÆ÷¶Ë±à³ÌÁË¡£
¹Ø×¢
¹Ø×¢
¶¥Ò»¸ö
Ïà¹ØÎÊ´ð£º
¿ÉÄÜÒòΪ¹¤×÷µÄÔÒò ½Ó´¥Êý¾Ý¿âÕâ¿é±È½ÏÉÙ£¬Ö®Ç°¶¼ÊÇ×ö³ÌÐòÕâ¿é£¬Êý¾Ý¿âÕâ¿é¶¼ÓÐרÃŵÄÈËÀ´×ö ·Ö¹¤¶¼ºÜÃ÷ϸ ËùÒÔ¶ÔÊý¾Ý¿âÕâÒ»¿éÍêÈ«²»Á˽⡣ǰ¶Îʱ¼ä È¥ÃæÊÔÁ˼¸¼Ò¹«Ë¾ ¼¸ºõ¶¼ÊÇÔÚÊý¾Ý¿âÕâ¿é¹ÒµôµÄ Á¬¸ö¼òµ¥µÄSQ ......
sqlµÄÈí¼þÔÚÄÄÀï¿ÉÒÔÏ°¡£¡ÔÚÍøÉÏÕÒÁËÂù¶à¶¼Óò»ÁË°¡
Ëæ±ã¸ãÒ»D°æ°É£¬
ѸÀ×µÚÒ»¸ö¾Í¿ÉÒÔÓÃ
2000,2005¶¼ÕâÑù
http://119.147.41.16/down?cid=0698C2D64D7D637D90A6D2482298E6717D4F15CD&t=2&fmt=-1 ......
ÐèÇóÈçÏ£º
ѧԺ academy£¨aid,aname£©
°à¼¶ class£¨cid,cname,aid£©
ѧÉú stu(sid,sname,aid,cid)
סËÞÇø region(rid,rname)
ËÞÉáÂ¥ build(bid,rid,bnote) bnoteÊÇ¡®ÄС¯/¡®Å®¡¯
ËÞÉá dorm(did,rid,bid£¬bedn ......
½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡
¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡
Ö±½ÓÖ´ÐоÍÐÐÁË
exec ......
Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿
ÖÁÉٵø½¼Óµ½sqlserverÉÏ
¾ßÌåÔõôŪ°¡ ÎҵıÏÒµÉè¼ÆµÄÊý¾Ý¿âÊÇ´ÓÍøÉÏdownÏÂÀ´µÄ£¿£¿
Ä㻹²»ÈçÖ±½ÓÓÃsqlserverÄØ
º¯Êý¡¢´æ´¢¹ý³Ì¶¼µÃ¸ÄÁË¡£
sqlserverûÔõôÓùý¡£Ò²Ã»Óа²× ......