Oracle supports running multiple commands in the same database transaction. Learn about the semantics of processing multiple DELETE, UPDATE, or INSERT commands as part of a single database transaction and its implication for ROLLBACK or COMMIT operations.
- [Instructor] So now that we are familiar with the concept…of database transactions, and saw insert update and delete…DLM commands and actions.…Lets see what happens when we issue…multiple different distinct DLM commands…as part of a single database transaction.…So we'll start by deleting all records…from the test_table1 table.…So I'll type delete from test_table1.…Lets also insert a couple of new rows to the same table.…So I'll type insert into test_table1 values('new row!',1)…Lets also insert another record to our table.…
So we'll type the same command but specify…another new row as the first value…and two as the second value.…Lets execute this command…and verify that two rows have been inserted to the table.…Lets also update some data in our table.…So I'll type update test_table1 set col1=UPDATED!…Where col2=2.…Lets run this command…and see that one row has been updated.…
So in one transaction I have essentially…deleted two records, inserted two new records,…and updated one of these records.…This was all done in a single transaction.…
Note: This training course is appropriate for beginning database developers with no prior experience with SQL or Oracle.
- Using Oracle SQL*Developer, the free development environment
- Selecting data from tables
- Filtering data
- Using functions to manipulate data
- Joining data from tables
- Creating tables
- Updating values
- Truncating data
- Grouping and ordering result sets
- Working with primary keys
- Checking constraints
Skill Level Beginner
Database Foundations: Core Conceptswith Adam Wilbert2h 14m Beginner
Database Foundations: Administrationwith Adam Wilbert1h 14m Beginner
Oracle 12c Database: Administrationwith David Yahalom3h 58m Beginner
1. Introduction to SQL
2. Preparing the Course Environment
Downloading the course VM2m 16s
3. Using Oracle SQL Developer
4. Basic SELECT Queries
5. String, Number, and Date Functions
6. Joining Table Data
7. Manipulating Data
8. Grouping Data
9. Advanced Topics
Next steps1m 33s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.