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

²ÎÊý»¯Ö´ÐÐ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µÄ·þÎñÆ÷¶Ë±à³ÌÁË¡£

¹Ø×¢
¹Ø×¢

ÒýÓÃ
/// <summary> ¸ÅÊö£º½«Ò»¸öÃüÁî¶ÔÏóµÄÐÅÏ¢Êä³öµ½µ÷ÊÔÃæ°å¡£½öÓÃÓÚ¡¾DEBUG¡¿Ä£Ê½¡£
/// </summary>
/// <param name="message">Ö´ÐС¾DbCommand¡¿µÄº¯ÊýÃû¡£</param>
/// <param name="command">ÃüÁî¶ÔÏó¡£</param>
/// <param name="ret">Ö´ÐС¾DbComm¡­¡­


¶¥Ò»¸ö


ÒýÓÃ
C# code
using System;
using System.Data;
using System.Data.SqlClient;

namespace ConsoleApplication1
{
class Program


Ïà¹ØÎÊ´ð£º

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

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

sql - MS-SQL Server / ÒÉÄÑÎÊÌâ

sqlµÄÈí¼þÔÚÄÄÀï¿ÉÒÔÏ°¡£¡ÔÚÍøÉÏÕÒÁËÂù¶à¶¼Óò»ÁË°¡

Ëæ±ã¸ãÒ»D°æ°É£¬

ѸÀ×µÚÒ»¸ö¾Í¿ÉÒÔÓÃ
2000,2005¶¼ÕâÑù

http://119.147.41.16/down?cid=0698C2D64D7D637D90A6D2482298E6717D4F15CD&t=2&fmt=-1 ......

sql ÎÊÌâ - MS-SQL Server / »ù´¡Àà

ÐèÇóÈçÏ£º
ѧԺ 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 ......

¹ØÓÚ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ºÅ