Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing a default NT SQL Server in a stored procedure
Message
From
24/02/2000 09:35:37
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00336489
Message ID:
00336704
Views:
29
The same metaphor does not hold for SQL Server. A stored procedure is owned by a specific database. There is one exception: any stored proceduret that begins with sp_ is considered a system stored procedure. It has visibility across all databases. They exist within the master database but affect the database where they're being called from.

Now, you can reference an object in another database by qualifying the object with the database name: database.owner.object_name

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform