Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSERT using SELECT Clause and FETCH FIRST Clause

Status
Not open for further replies.

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.
 
Kumud,
Could you post the SQL you are running and details of the error message.
Thanks
Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top