Sql server Commit

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Sql server Commit

Post by snt_ds »

In sqlserver target, how to commit records all at once (single commit)

Thanks in Advance
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What stage type are you using? Usually this is by setting transaction size to 0 (which means "all rows are one transaction").
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

We are using SqlServer Enterprise stage.
so please let me know what options to use and where?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

An environment variable governs transaction size. A search will find its name for you.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

I coudn't find any ENV variable for the SQL server Transcation commit.

In SqlServer Enterprise stage there is a option (Insert Array Size).
If I define Insert Array Size below 1 job is getting aborted.

Thanks in Advance
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Array Size != Transaction Size.
-craig

"You can never have too many knives" -- Logan Nine Fingers
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

Can any please let me know how to commit all transaction at once in Sql Server.

any Environment variable.

Thanks in Advance
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

Hello Every one,

Is there any Environment variable to commit all records at once (Single Commit) in SQL SERVER.

I have gone through the documentation but I could n't find any information regarding the single commit.

Can any one please let me know how to do single commit on sql server.

Thanks in Advance
Post Reply