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 > Stored Proc's in DB2 8.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-04, 16:21
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Angry Stored Proc's in DB2 8.1

Hi,

I want to create some stored procedures in DB2 8.1 (Win XP / Win200). The stored procedures are pure SQL. But may be something else.
When I try to compile the procedure I get an nmake error and the built process is rolled back.

I checked some thing on the web and it seems I need VC/C++ to have nmake. I'm familiar with Informix to create stored procedures and I'm very suprised to see I need to buy and install C/C++ on a (production) server to create stored procedures. I'm sure I'm making a big mistake because this can't be true. Kan anybody tell what I'm doing wrong.
Reply With Quote
  #2 (permalink)  
Old 06-16-04, 16:43
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Yes, you do need a C/C++ compiler to make SQL Stored Procedures. But it only needs to be on the development server. You can export and import SP definitions (with some restrictions) using the GET and PUT ROUTINE Stored Procedures.

I understand that in Stinger, this requirement has been eliminated.

HTH

Andy
Reply With Quote
  #3 (permalink)  
Old 06-17-04, 02:12
antti antti is offline
Registered User
 
Join Date: May 2004
Posts: 11
Hi

This article at DeveloperWorks might help (if you dont have for example VC++ compiler): http://www-106.ibm.com/developerwork...306haungs.html

It worked fine for us (we installed it in Win2003 development server).

Regards,
Antti
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