Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS Access
SQL Scripts & Samples
» Database Forum
» Slideshows
Free Newsletters:

News Via RSS Feed

Database Journal |DBA Support |SQLCourse |SQLCourse2

Featured Database Articles

Database News

Posted Oct 16, 2002

SQL Basics: Deleting from Child Tables

By DatabaseJournal.com Staff

[From Builder.com]

The latest "SQL Basics" article from Builder.com and author Shelley Doll steps the reader through the process of deleting rows from tables that are dependent on criteria from other tables. The solution lies in a clever, but completely SQL92-compliant application of subselect, or subquery statements.

The article's solution should function for most databases; however, you should always consult your documentation if your results vary. Although a query may be compliant, various database manufacturers implement SQL with different syntax support. Also, because the query deals with the DELETE statement, readers should test the query on test data before using it in a production environment.

The complete article is available at http://builder.com.com/article.jhtml?id=u00320021014dol01.htm&page=1&vf=tt.

Back to Database Journal Home

Database News Archives

Latest Forum Threads
Database News Forum
Topic By Replies Updated
Efficient SQL Server Indexing by Design lcole 0 April 30th, 12:38 PM
Mine Oracle Database, SQL Server and Other Databases with Monarch Data Pump Pro V10.5 lcole 0 April 30th, 12:37 PM
Oracle Database and Oracle Fusion Middleware for Private Social Network Application lcole 0 April 30th, 12:31 PM
Oracle Database Maintains a Stronghold in the DBMS Market lcole 0 April 30th, 12:30 PM