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

ÈçºÎÉèÖÃSqlserverÊý¾Ý¿âÈÕÖ¾Ôö³¤·½Ê½

ÈçÌâ¡£
ÎÒÏ붨ÆÚÖ´ÐгÌÐò£¬É¾³ý²»ÓõÄÊý¾Ý£¬ÊÕËõÒ»ÏÂÊý¾Ý¿â£¬Æ½Ê±Ê¹ÓõÄʱºò£¬ÈÕÖ¾×î´óÎļþ´óСΪÏÞÖÆ200MB£¬
µ«ÊÇÊÕËõµÄʱºò£¬»á²úÉú´óÁ¿ÈÕÖ¾£¬Èç¹û³¬¹ýÏÞÖÆ£¬ÔòÊÕËõÊý¾Ý¿âʱ»áʧ°Ü£¬ÎÒÏë¸ÄΪ×î´óÎļþ´óС²»ÊÜÏÞÖÆ£¬
È»ºóÊÕËõÍê³Éºó£¬ÔٸĻØÔ­À´µÄÉèÖã¬ÈçºÎÓÃSQLÓï¾äʵÏÖ£¿Ð»Ð»
ûÓа²×°sql server ÔÚÄãµÄsql serverÖÐÏÈÊÔÊÔ

USE master;
GO
ALTER DATABASE db
MODIFY FILE
    (NAME = dblogfile,
    MAXSIZE = UNLIMITED);
GO

ÇëÊý¾Ý¿âÑ¡ÏîÉèÖÃΪ£º×Ô¶¯ÊÕËõ

È»ºó¶¨ÆÚÖ´ÐÐÈçÏÂÓï¾ä£º

DUMP TRANSACTION yourdbname WITH NO_LOG

BACKUP LOG yourdbname WITH NO_LOG

DBCC SHRINKDATABASE(yourdbname)



Ïà¹ØÎÊ´ð£º

ACCESS·±ÌåÁ¬½Ó¼òÌåsqlserver2000

  ÎÒµÄÊý¾Ý¿âÊǼòÌåsqlserver2000 ,ÎÒÏëÔÚ·±ÌåaccessÏÂÁ¬½Ó,ͨ¹ýodbcÊÇ¿ÉÒÔÁË,µ«ÔÚaccessϳöÏÖ´ò¿ªµÄ±íÈ«ÖÐ"#ÒÑɾ³ý"
²»ÖªµÀÒªÔõô²Ù×÷²Å¿ÉÒÔÓÃACCESS·±ÌåÁ¬½Ó¼òÌåsqlserver2000.лл!!!
´ó¼Ò¶¼ ......

sqlserver¶Ôij¸ö±í²Ù×÷¼Ó¸öÓû§

sqlserver,Èç¹û¼Ó¸öÓû§,ȨÏÞÊǶÁËùÓÐ±í£¬µ«Ö»ÄÜÐÞ¸Äij¸ö±íµÄ×Ö¶ÎÊôÐÔ
ûÕâ¸ö˵·¨.

Ö»¸øSELECT ,

UPDATEµÄÖ»¸øijЩ±í

¸ö²»»á

µ«Ö»ÄÜÐÞ¸Äij¸ö±íµÄ×Ö¶ÎÊôÐÔ Õâ¸öÄѸã

Òª¼ÓȨÏÞµÃÕë¶Ôij¸öÊý¾Ý¿â
......

oracleÓësqlserverµÄ²ÎÊý¸ñʽ²»Ò»Ö£¬Âé·³

Èç¹ûÒ»¸ö³ÌÐòÏëÖ§³ÖsqlserverÓëoracleÊý¾Ý¿âµÄ»°¡£³ýÁËdbhelperÀàÐèÒª¸Ä±äÖ®Í⣬²ÎÊý´«µÝÒ²ÊǸöÎÊÌâ¡£

sqlserverµÄ²ÎÊýǰ׺ÊÇ ¡°@¡±£¬¶øoracleÊÇ ¡°:¡±

ÇëÎÊÓÐûÓÐʲôͨÓýâ¾ö·½·¨£¿ÎÒ²»ÏëÒ»¸öselect ......

¹ØÓÚÊý¾Ý¿âsqlserver´Ó2005תΪ2000ºó³öÏÖ´íÎó

¾Ü¾øÁ˶ԶÔÏó 'sp_sdidebug'£¨Êý¾Ý¿â 'master'£¬ËùÓÐÕß 'dbo'£©µÄ EXECUTE ȨÏÞ¡£
ÁíÍ⻹ÓÐһЩ´íÎ󣬵½µ×ÊÇʲôԭÒò¡£½«Êý¾Ý¿âתΪ2000ºó»¹ÓÐʲôÎÊÌâÐèҪעÒâµÄ£¿
´ÓµÍµ½¸ß¼òµ¥ ´Ó¸ßµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ