Turn off Journaling in Sql Server/ T-SQL

2019-02-26 01:08发布

问题:

I need to turn off journaling in Sql Server/T-SQL to write to a file/table in as400. I have found that you can do it in SQLite with Pragma. However, I have discovered that doesn't exist in T-SQL. Any ideas?

Thanks!

回答1:

You need to disable commitment control on the link. Which provider are you using?

.NET

DefaultIsolationLevel=Chaos

OLEDB (IBMDA400)

Extended Properties="Default Isolation Level=NC;Auto Commit Mode=True"

ODBC

CommitMode=0