Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored procs., packages and synonyms

Status
Not open for further replies.

aldovalerio

Programmer
Mar 29, 2001
36
CH
I'm migrating from SQL Server to Oracle, and would like to leave my Visual Basic code untouched, to the point of leaving my stored proc. calls (via ADO) with the same names. Due to the different way recordsets are returned betwen SQL Server and Oracle, I've had to put my stored procs. in packages to use Ref Cursors. I'd now like to create synonyms which reference the {package name}.{stored proc. name}. When I try to create such a synonym, Oracle thinks I'm prefixing the stored proc. with a user name. E.g., CREATE SYNONYM select_supplier FOR pack_supplier.select_supplier

Is what I'm attempting possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top