If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > anonymus SQL block in db2 udb v8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-04, 11:46
VasjaChlen VasjaChlen is offline
Registered User
 
Join Date: Dec 2003
Posts: 9
anonymus SQL block in db2 udb v8

Hi all,

Is it possible to have an anonymus SQL block in DB2??

Like in Oracle:

DECLARE
BEGIN
END;

How can I execute anonymus SQL block in db2?

Thanks

Vasja Chlen
Reply With Quote
  #2 (permalink)  
Old 02-03-04, 10:27
VasjaChlen VasjaChlen is offline
Registered User
 
Join Date: Dec 2003
Posts: 9
Hi All,

I don't see any answers.
Does it mean nobody performed migration from Oracle to Db2? :-)

Thanks,

Vasja Chlen
Reply With Quote
  #3 (permalink)  
Old 02-03-04, 11:54
famudba famudba is offline
Registered User
 
Join Date: Jan 2004
Location: Tallahassee, FL, USA
Posts: 96
yes I migrated DB from Oracle8i to DB2 UDBV8,

you can

use SQL block in db2 V8 as DB2 stored procedure


from run , type db2dc , that will take you to development center , you build SQL stored procedures or JAVA, in DB2 UDB V8 , you can use even VB



Let me know , if you need any syntax


Lekharaju Ennam
Certified Oracle8i & DB2 UDB DBA
Florida A&M University
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On