Re: Packages
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 10/21/04
- Next message: /dev/null: "Re: Oracle linked server : won't run if driver AllowInProc is off"
- Previous message: Uri Dimant: "Re: Table Design Question"
- In reply to: Jon: "Packages"
- Next in thread: Jon: "RE: Packages"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 16:48:19 +0200
Unfortunately not (*). A database has a number of stored procedures. Period... :-)
But nothing stop you from having one procedure calling another or having a naming convention with
which you easier see some "grouping".
There actually is one way of grouping stored procedures, like below. Very rarely used, and my guess
is that this is on target list to be removed in the future.
CREATE PROC p;1 AS SELECT 1
CREATE PROC p;2 AS SELECT 2
EXEC p;1
EXEC p;2
DROP PROCEDURE p;1 --No can do
DROP PROCEDURE p --Drops all!!!
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "Jon" <Jon@discussions.microsoft.com> wrote in message news:BABA5A45-72F5-45D2-8318-7396FB095C0B@microsoft.com... > Hello all, > > Apologies if this is in the wrong group. > > I'm only just starting to use SQL Server 2000 after using Oracle for a > number of years. Can you tell me if Server 2000 has the concept of packages, > where I can package all associated stored procs togther. For example, all > stored procs to do with the Employee table? > > Thanks all, > > Jon
- Next message: /dev/null: "Re: Oracle linked server : won't run if driver AllowInProc is off"
- Previous message: Uri Dimant: "Re: Table Design Question"
- In reply to: Jon: "Packages"
- Next in thread: Jon: "RE: Packages"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|