Turn off Journaling in Sql Server/ T-SQL

2019-02-26 00:48发布

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条回答
再贱就再见
2楼-- · 2019-02-26 01:15

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
查看更多
登录 后发表回答