- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Is it possible to update a CURSOR in which we have used JOIN on 2 tables ORDERS and TRANSACTIONS? Why or Why not? How can we proceed to UPDATE any of these tables?
When we use JOIN on one (self join) or more table inside a cursor declaration then a read-only cursor will be created. We cannot update the read-only cursor.
If we want to update any of the tables used in the JOIN then we have to declare a separate cursor for all the tables and an individual logic has to be built in order to update each DB2 table.
- Related Articles
- What is update operation on the cursor having JOIN between 2 tables?
- Why we should not use tables for HTML Layout?
- How can we update any value in MySQL view as we can update the values in MySQL table?
- How can we see MySQL temporary tables in the list of tables?
- How can we update a large Python 2 codebase to Python 3?
- Why is it important to update all the software to have better security?
- How can we update a record in MongoDB?
- How to Update Two Tables in One Statement in SQL Server?
- How can we update columns values on multiple rows with a single MySQL UPDATE statement?
- How can we update values in a MySQL table?
- How can we compare data in two MySQL tables?
- How to join tables in SAP system
- How we can update a Python tuple element value?
- How we can update a Python list element value?
- How can we access tables through MySQL stored procedures?

Advertisements