Languages SQL Transactions  

Transactions

 
Records 1-4 of 4
Title  /  Popularity Revised  Rating Size
Insert the ampersand (&) via SQL*Plus
This short write-up examines the role of the ampersand (&) in SQL*Plus, and shows how you can easily turn it into just another text character when you need to insert it into a table.
February 28th 2010   1k
Update a table with itself, with one SQL statement
Sometimes you may need to update a table with its own data, typically when rows contain a link to values stored in other rows. The example SQL and narrative illustrate how to do this via an Update statement with a ...
January 21st 2010   2k
Delete duplicates in a table (using a FOR UPDATE cursor and PL/SQL control)
This PL/SQL block deletes duplicate rows in a table, using a FOR UPDATE cursor and program control. Clear, concise comments are interspersed in the code. A test execution is included.
May 7th 2006   4k
Delete duplicates in a table (cleanly and easily, using ROWID)
This simple SQL statement deletes duplicate rows in each set, using the pseudocolumn ROWID (row address), preserving the first inserted row of each duplicate set.
May 7th 2006   1k
New Code
Popular Code