Home | Advertising Info78 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: cant update oracle database thru stored procedure.
From: glenn venzke
Date: 8/3/2000 11:43:28 AM
IP: 64.16.202.131



 

I am trying to update an oracle database through a stored procedure written by our database administrator. As I understand it, stored procedures can only be accessed in ASP through the Oracle drivers. When I run the following code, it executes w/o raising an error, but the record Im trying to change never gets updated. I have a deadline coming up and would like to have this solved ASAP.

The stored procedure on the database side is as follows:

CREATE OR REPLACE PROCEDURE DB_OWNER.BG_MOVE_SECTION (iUID in number, iParent in number, iOrder in number) AS
i number;
iOldParent ITB_BUYERS_GUIDE_T.SECTION_UID%TYPE;
iOldOrder ITB_BUYERS_GUIDE_T.ORDER_NBR%TYPE;
cOldParentText ITB_BUYERS_GUIDE_T.LOOKUP_TEXT%TYPE;
cNewParentText ITB_BUYERS_GUIDE_T.LOOKUP_TEXT%TYPE;
iNewLevel ITB_BUYERS_GUIDE_T.LEVEL_NBR%TYPE;
BEGIN

-- Check if child and Parent UID exists

select parent_uid, order_nbr INTO iOldParent, iOldOrder from itb_buyers_guide_t where section_uid = iUID;
select LOOKUP_TEXT, LEVEL_NBR + 1 into cNewParentText, iNewLevel from itb_buyers_guide_t where section_uid = iParent;
select LOOKUP_TEXT into cOldParentText from itb_buyers_guide_t where section_uid = iOldParent;

-- Compact Old section
update itb_buyers_guide_t
set lookup_text = cOldParentText || . || ltrim(to_char(order_nbr - 1,00)),
order_nbr = order_nbr - 1
where parent_uid = iOldParent
and order_nbr > iOldOrder;

-- Make Room in New Section

update itb_buyers_guide_t
set lookup_text = cNewParentText || . || ltrim(to_char(order_


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com