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 > What is native sql procedure in db2 ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-10, 06:37
sramesh sramesh is offline
Registered User
 
Join Date: Jun 2005
Location: Chennai
Posts: 16
What is native sql procedure in db2 ?

Stored Procedures Types
1. External high level language procedures – COBOL, PL/I, C, C++, Assembler, REXX, and Java
2. External SQL language procedures
3. Native SQL language stored procedures – Introduced by DB2 9 for z/OS

  • What is Native sql procedure ?
  • What is the difference between External and Native SQL procedures?
__________________
Learning, Keep on learning.....
Reply With Quote
  #2 (permalink)  
Old 02-15-10, 08:13
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
In DB2 z/OS, a procedure created with LANGUAGE SQL resulting in the generated of code (I don't know which programming language, though). You had to bind a DBRM for that. With DB2 V9 for z/OS, DB2 stores the procedure in the DB2 catalog and executes it directly - such a "native" procedure has no longer the step over an external module and DBRM.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Tags
db2, native. procedure

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