Jun 16, 2002 #1 belacourt Programmer Jun 16, 2002 1 CA Hi, I am trying to use an INSERT Statement using a SELECT and the SELECT has FETCH FIRST N ROWS. The SQL is failing. I am using DB2 Ver 9. Can I use INSERT with SELECt and FETCH FIRST N ROWS in DB2 SQL? Is there a way around this ?. Kumud.
Hi, I am trying to use an INSERT Statement using a SELECT and the SELECT has FETCH FIRST N ROWS. The SQL is failing. I am using DB2 Ver 9. Can I use INSERT with SELECt and FETCH FIRST N ROWS in DB2 SQL? Is there a way around this ?. Kumud.
Jun 17, 2002 #2 MarcLodge Programmer Feb 26, 2002 1,886 GB Kumud, Could you post the SQL you are running and details of the error message. Thanks Marc Upvote 0 Downvote