DB2 - SELECT - INTO Statement
This is a discussion on DB2 - SELECT - INTO Statement within the DB2 forums, part of the Database category; Hello Members I need correct syntax for writing SELECT - INTO statement with ORDER BY clause. Can anyone of you ...
-
02-17-2006, 02:29 AM #1
- Join Date
- Jan 2006
- Answers
- 20
DB2 - SELECT - INTO Statement
Hello Members
I need correct syntax for writing SELECT - INTO statement with ORDER BY clause. Can anyone of you please help me. Does DB2 support such SELECT Statement.
Awaiting your early response.
Regards
Allen
-
Hello,
DB2 Support select into.... here is an example...
INSERT INTO table1
SELECT field1, field2 FROM table2
WHERE field3='test';
Hope this helps...
Thanks,
-
02-17-2006, 12:19 PM #3
- Join Date
- Jan 2006
- Answers
- 20
Hello Senereddy
Thanks for your quick response,
I would like to confirm again the SELECT Statement with an Order By Clause.
After you send me the syntax, I will try to test it on my system.
I am asking very simple syntax, Hope you wont mind.
Thanks again.
Cheers
Allen
-
Sponsored Ads


Reply With Quote





