DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 14th, 2007, 04:45 PM
PeterNg PeterNg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2007
Posts: 1 PeterNg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 8 sec
Reputation Power: 0
Define Array Data Type In Stored Proc

Hi,
I'm trying to define a passing parm as ARRAY but could not get any luck. Please Help!

Here is what I have:

CREATE PROCEDURE NCSS_SEL_P100N (
IN p_startdate DATE,
IN p_enddate DATE,
IN p_user VARCHAR(32)
)
LANGUAGE SQL
RESULT SETS 1
P1: BEGIN
...
...
END P1;

And I'm trying to do:

CREATE PROCEDURE NCSS_SEL_P100N (
IN p_startdate DATE,
IN p_enddate DATE,
IN p_user[100] VARCHAR(32) -- ???? WANT p_user an ARRAY but could Not find a way ?????
)
LANGUAGE SQL
RESULT SETS 1
P1: BEGIN
...
...
END P1;

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Define Array Data Type In Stored Proc


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway