Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off Journaling in Sql Server/ T-SQL

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!

like image 345
Loganj99 Avatar asked Mar 15 '26 06:03

Loganj99


1 Answers

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
like image 122
James Allman Avatar answered Mar 18 '26 03:03

James Allman