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 procedure problem with values containing a delimiter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-10, 09:23
cooky4me cooky4me is offline
Registered User
 
Join Date: Dec 2010
Posts: 1
Question Stored procedure problem with values containing a delimiter

Hello,

In our current situation we're quering our DB2 UDB 9.7 on Windows 2008 64-bit through .Net webpages using dynamic SQL. So far no problems.

We're now rewriting the dynamic SQL to stored procedures and that's where the trouble started. Running the sp's on DB2 works fine, but when called them from the .Net webpage we don't get an empty resultset.

After some testing we noticed that resultsets with rounden values are getting through. But when the resultset contains values with a delimiter . of , the resultset in .Net is empty.

Furthermore we found that on some of our local development machines the recordsets are allright but on others empty. All machines we tested are idintical and running Windows 7 64 bit.

First thing that comes to mind are the regional and currancy stettings, but those are the same on the db2 and the webserver.

Are we missing somthing???
Can't seem to find anything on this matter.
Reply With Quote
Reply

Tags
delimiter, empty, recordset, stored 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