Posted By

claudiodev on 10/20/12


Tagged

sql delete db2 range


Versions (?)

Delete a limited set of rows in a DB2 database


 / Published in: SQL
 

Delete a defined number of rows from a db2 database table

  1. DELETE FROM <table> WHERE <column> IN (
  2. SELECT <column> FROM <table> WHERE <condition> FETCH FIRST <N> ROWS ONLY
  3. )

Report this snippet  

You need to login to post a comment.