Learn how to use the ALTER TABLE SQL command to modify the structure of your database tables such as adding new columns or deleting existing columns.
- [Narrator] Another important Oracle SQL command…you should be familiar with is the truncate command.…Truncate is a DDL command which deletes…all data in a given table.…So let's start by seeing how many rows…we have in our test table…So I'll type select star from test table one.…Running this command will show me that…I currently have two records in my table.…If I want to quickly delete all my records…from my table, I can just type the…truncate table test underscore table one command.…
This command is a DDL command,…and not a DML command,…and it will basically delete…all records in the table.…The difference between running truncate table…versus a DML delete command is that…because truncate is a DDL command,…you cannot roll back the changes…after it has been performed.…So if I'll truncate all of the records…in my test underscore table one database table,…and let's verify that the table is now empty,…typing rollback will have…no affect whatsoever.…
As you can see, the table is still empty.…That's because truncate, as a DDL command,…
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
Oracle 12c Database: Administrationwith David Yahalom3h 58m Beginner
Database Foundations: Core Conceptswith Adam Wilbert2h 14m Beginner
Database Foundations: Administrationwith Adam Wilbert1h 14m Beginner
Learning Relational Databases (2014)with Adam Wilbert2h 39m 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.