Hi Guys, Is it possible disble the transaction log for the dml stament for table? OR how can we avoid loging the data while creating the table? We do not want to change the database recovery model as simple.
Are you asking for DML statements or DDL statements? Creating a table via CREATE TABLE... would fall under the DDL category. Why don't you want table creation statements to be logged? You can't disable the t-log altogether. It is an integral part of SQL Server.
No, i did not asked for DDL statement. I asked for insert, delete, update statement in a table. I do not want to log those transaction. Is it possible?
No, that is not possible. INSERT, UPDATE & DELETE statement are always logged (either fully or minimally), regardless of the recovery model. However, you might want to check the chapter "Best Practices for Bulk Loading Data" here: http://msdn.microsoft.com/en-us/library/ms174335.aspx
Ajith Its like nothing but asking your heart not to pump while you are breathing...imagine, so Transaction log is like that for a DB. You can control the logging by reducing the recovery model methods.
Hi, It is not possible to disable the Transaction logs. You can set auto shrink the logs features so you may not face any issue of log file full and writing to database problem.