ÈçºÎÉèÖÃ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)
Ïà¹ØÎÊ´ð£º
ÎÒµÄÊý¾Ý¿âÊǼòÌåsqlserver2000 ,ÎÒÏëÔÚ·±ÌåaccessÏÂÁ¬½Ó,ͨ¹ýodbcÊÇ¿ÉÒÔÁË,µ«ÔÚaccessϳöÏÖ´ò¿ªµÄ±íÈ«ÖÐ"#ÒÑɾ³ý"
²»ÖªµÀÒªÔõô²Ù×÷²Å¿ÉÒÔÓÃACCESS·±ÌåÁ¬½Ó¼òÌåsqlserver2000.лл!!!
´ó¼Ò¶¼ ......
sqlserver,Èç¹û¼Ó¸öÓû§,ȨÏÞÊǶÁËùÓÐ±í£¬µ«Ö»ÄÜÐÞ¸Äij¸ö±íµÄ×Ö¶ÎÊôÐÔ
ûÕâ¸ö˵·¨.
Ö»¸øSELECT ,
UPDATEµÄÖ»¸øijЩ±í
¸ö²»»á
µ«Ö»ÄÜÐÞ¸Äij¸ö±íµÄ×Ö¶ÎÊôÐÔ Õâ¸öÄѸã
Òª¼ÓȨÏÞµÃÕë¶Ôij¸öÊý¾Ý¿â
......
Èç¹ûÒ»¸ö³ÌÐòÏëÖ§³ÖsqlserverÓëoracleÊý¾Ý¿âµÄ»°¡£³ýÁËdbhelperÀàÐèÒª¸Ä±äÖ®Í⣬²ÎÊý´«µÝÒ²ÊǸöÎÊÌâ¡£
sqlserverµÄ²ÎÊýǰ׺ÊÇ ¡°@¡±£¬¶øoracleÊÇ ¡°:¡±
ÇëÎÊÓÐûÓÐʲôͨÓýâ¾ö·½·¨£¿ÎÒ²»ÏëÒ»¸öselect ......
¾Ü¾øÁ˶ԶÔÏó 'sp_sdidebug'£¨Êý¾Ý¿â 'master'£¬ËùÓÐÕß 'dbo'£©µÄ EXECUTE ȨÏÞ¡£
ÁíÍ⻹ÓÐһЩ´íÎ󣬵½µ×ÊÇʲôÔÒò¡£½«Êý¾Ý¿âתΪ2000ºó»¹ÓÐʲôÎÊÌâÐèҪעÒâµÄ£¿
´ÓµÍµ½¸ß¼òµ¥ ´Ó¸ßµ ......