Unix Technical Forum

ASP and Oracle

This is a discussion on ASP and Oracle within the Oracle Miscellaneous forums, part of the Oracle Database category; --> I have been asked to look into porting an ASP system to an Oracle DB. Currently, they are using ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 09:00 AM
Michael Rothwell
 
Posts: n/a
Default ASP and Oracle

I have been asked to look into porting an ASP system to an Oracle DB.
Currently, they are using SQL Server and retrieving data via stored procs. I
know how to migrate the DB, but what work will have to be done to the ASP code
to be able to access the Oracle DB as well as the SQL Server DB?
--
Michael Rothwell

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 09:03 AM
Niall Litchfield
 
Posts: n/a
Default Re: ASP and Oracle

"Michael Rothwell" <marothwell@yahoo.com> wrote in message
news:bf4pv1$b8d13$1@ID-131223.news.uni-berlin.de...
> I have been asked to look into porting an ASP system to an Oracle DB.
> Currently, they are using SQL Server and retrieving data via stored procs.

I
> know how to migrate the DB, but what work will have to be done to the ASP

code
> to be able to access the Oracle DB as well as the SQL Server DB?


It depends

You will presumably need to rewrite the stored procs with Oracle equivalents
return a ref cursor for a recordset and at the very least change the oledb
provider and install an Oracle client on the web server.


--
Niall Litchfield
Oracle DBA
Audit Commission UK


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 09:04 AM
Michael Vick
 
Posts: n/a
Default Re: ASP and Oracle

Hello, After reading the other 2 replies, I was thinking about the
autonumbering in SQL Server and the Sequences in Oracle. I had to chg a
fair amount of ASP code for this conversion. Please review that possibility.
for me in 2002, it was a little bit of a challenge. For more if requested.

PS: the 2 other replies are excellent ideas.

Michael Vick

"Niall Litchfield" <n-litchfield@audit-commission.gov.uk> wrote in message
news:3f1680b7$0$15037$ed9e5944@reading.news.pipex. net...
> "Michael Rothwell" <marothwell@yahoo.com> wrote in message
> news:bf4pv1$b8d13$1@ID-131223.news.uni-berlin.de...
> > I have been asked to look into porting an ASP system to an Oracle DB.
> > Currently, they are using SQL Server and retrieving data via stored

procs.
> I
> > know how to migrate the DB, but what work will have to be done to the

ASP
> code
> > to be able to access the Oracle DB as well as the SQL Server DB?

>
> It depends
>
> You will presumably need to rewrite the stored procs with Oracle

equivalents
> return a ref cursor for a recordset and at the very least change the oledb
> provider and install an Oracle client on the web server.
>
>
> --
> Niall Litchfield
> Oracle DBA
> Audit Commission UK
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 09:04 AM
Michael Rothwell
 
Posts: n/a
Default Re: ASP and Oracle

Daniel Morgan wrote:

> Michael Rothwell wrote:
>
>
>>I have been asked to look into porting an ASP system to an Oracle DB.
>>Currently, they are using SQL Server and retrieving data via stored procs. I
>>know how to migrate the DB, but what work will have to be done to the ASP code
>>to be able to access the Oracle DB as well as the SQL Server DB?
>>--
>>Michael Rothwell

>
>
> You do understand you will need to rewrite every proc to have a REF CURSOR as an
> OUT parameter?
>
> If connecting via ODBC and all SQL is in the procs ... essentially nothing need be
> changed. If the SQL is being
> passed through ... everything needs to be rewritten.


Yes, I am aware that I would have to re-write all the procs, and I had counted
on that.

All SQL is in the procs, so what I dont know is how ASP is written to make these
calls. After I change the procs and the ODBC connection, what needs to be done
to the ASP code?

>
> And if you don't take multi-versioning and the Oracle transaction model into
> account you will just make a huge,
> unscalable poorly performing mess.
> --
> Daniel Morgan
> http://www.outreach.washington.edu/e...ad/oad_crs.asp
> damorgan@x.washington.edu
> (replace 'x' with a 'u' to reply)
>
>


--
Michael Rothwell
Oracle/Sql Server DBA/Developer/Web Enabled DB's
HTTP://www.bdbinc.com/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com