Hi All,
I have to read and write data in same table with timeId change we have to append same records in table. could you please let me know it is possible in same job without having locks and other issues. i am using sql server database.
Thanks
Mallikharjuna Reddy
Reading and Writing in same table
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 81
- Joined: Thu Nov 30, 2006 7:46 am
- Location: india
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Almost certainly NO.
This is what is called a "blocking operation", and would thwart pipeline parallelism, so it is banned in parallel jobs.
It may be possible, provided that the writing stage uses auto-commit, and the reading stage is far enough downstream for the commits to have taken effect. But I don't really recommend this approach.
Server jobs can use blocking operations.
This is what is called a "blocking operation", and would thwart pipeline parallelism, so it is banned in parallel jobs.
It may be possible, provided that the writing stage uses auto-commit, and the reading stage is far enough downstream for the commits to have taken effect. But I don't really recommend this approach.
Server jobs can use blocking operations.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: