<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; List All Stored Procedure in Database</title>
	<atom:link href="http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kiran</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-56477</link>
		<dc:creator>kiran</dc:creator>
		<pubDate>Tue, 06 Oct 2009 16:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-56477</guid>
		<description>how to structure a table for view n sir one question i want to apply for dba traning for 6 months  bt me heard about no training giving in dba  is it true or not plz revert me me doing mca(5 sem)</description>
		<content:encoded><![CDATA[<p>how to structure a table for view n sir one question i want to apply for dba traning for 6 months  bt me heard about no training giving in dba  is it true or not plz revert me me doing mca(5 sem)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doc</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-56020</link>
		<dc:creator>doc</dc:creator>
		<pubDate>Mon, 21 Sep 2009 19:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-56020</guid>
		<description>How do I get the database name that a stored procedure is located in if the SQL Server is 2000?</description>
		<content:encoded><![CDATA[<p>How do I get the database name that a stored procedure is located in if the SQL Server is 2000?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-53592</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 10 Jul 2009 03:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-53592</guid>
		<description>@Manoj,

Select	SO.Name [Stored Procedure Name] 
from	sysobjects SO
		join Syscomments SC on SO.id = SC.id
where	SO.type = &#039;P&#039;
		AND SC.encrypted = 1 

Ex: Create a procedure with encryption and check, 

Create Procedure USP_Ex1
with encryption
as
select * from sysobjects

go 


Select	SO.Name [Stored Procedure Name] 
from	sysobjects SO
		join Syscomments SC on SO.id = SC.id
where	SO.type = &#039;P&#039;
		AND SC.encrypted = 1 

go

drop procedure USP_Ex1


~ IM.</description>
		<content:encoded><![CDATA[<p>@Manoj,</p>
<p>Select	SO.Name [Stored Procedure Name]<br />
from	sysobjects SO<br />
		join Syscomments SC on SO.id = SC.id<br />
where	SO.type = &#8216;P&#8217;<br />
		AND SC.encrypted = 1 </p>
<p>Ex: Create a procedure with encryption and check, </p>
<p>Create Procedure USP_Ex1<br />
with encryption<br />
as<br />
select * from sysobjects</p>
<p>go </p>
<p>Select	SO.Name [Stored Procedure Name]<br />
from	sysobjects SO<br />
		join Syscomments SC on SO.id = SC.id<br />
where	SO.type = &#8216;P&#8217;<br />
		AND SC.encrypted = 1 </p>
<p>go</p>
<p>drop procedure USP_Ex1</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manoj Gambhir</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-53570</link>
		<dc:creator>Manoj Gambhir</dc:creator>
		<pubDate>Thu, 09 Jul 2009 11:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-53570</guid>
		<description>Hi,
Can we list down all the stored procedures which are encrypted.

Regards,
Manoj Gambhir</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can we list down all the stored procedures which are encrypted.</p>
<p>Regards,<br />
Manoj Gambhir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patricio Carpio</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-52879</link>
		<dc:creator>Patricio Carpio</dc:creator>
		<pubDate>Tue, 09 Jun 2009 15:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-52879</guid>
		<description>SELECT * FROM sysobjects WHERE xtype = &#039;P&#039;</description>
		<content:encoded><![CDATA[<p>SELECT * FROM sysobjects WHERE xtype = &#8216;P&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srinivasan Kumar</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-50187</link>
		<dc:creator>Srinivasan Kumar</dc:creator>
		<pubDate>Mon, 30 Mar 2009 05:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-50187</guid>
		<description>Display all stored procedures in SQL 2000:

select * from sysobjects where xtype=&#039;p&#039; order by name</description>
		<content:encoded><![CDATA[<p>Display all stored procedures in SQL 2000:</p>
<p>select * from sysobjects where xtype=&#8217;p&#8217; order by name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Priyanka</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-45657</link>
		<dc:creator>Priyanka</dc:creator>
		<pubDate>Fri, 16 Jan 2009 00:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-45657</guid>
		<description>How to Identify fregmentation of the table,meand how much table is fregmented.</description>
		<content:encoded><![CDATA[<p>How to Identify fregmentation of the table,meand how much table is fregmented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carol</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42945</link>
		<dc:creator>Carol</dc:creator>
		<pubDate>Thu, 18 Sep 2008 15:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42945</guid>
		<description>Is there a way to do this using SS2k?</description>
		<content:encoded><![CDATA[<p>Is there a way to do this using SS2k?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atul</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42909</link>
		<dc:creator>atul</dc:creator>
		<pubDate>Wed, 17 Sep 2008 20:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42909</guid>
		<description>Hi How we can view the stored procedure in query anlyzer 
 which was written previousely.
what is the sytax to review that procedure.</description>
		<content:encoded><![CDATA[<p>Hi How we can view the stored procedure in query anlyzer<br />
 which was written previousely.<br />
what is the sytax to review that procedure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42703</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Thu, 11 Sep 2008 22:16:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42703</guid>
		<description>you guys are all crazy:
(from SQL Sever 2005 Management Studio)

SELECT * FROM sys.procedures
Msg 208, Level 16, State 1, Line 1
Invalid object name &#039;sys.procedures&#039;.

Select * from all_objects where object_type=&#039;PROCEDURE&#039;
Msg 208, Level 16, State 1, Line 1
Invalid object name &#039;all_objects&#039;.

Probably because it&#039;s a SQL Server 2000 database.</description>
		<content:encoded><![CDATA[<p>you guys are all crazy:<br />
(from SQL Sever 2005 Management Studio)</p>
<p>SELECT * FROM sys.procedures<br />
Msg 208, Level 16, State 1, Line 1<br />
Invalid object name &#8217;sys.procedures&#8217;.</p>
<p>Select * from all_objects where object_type=&#8217;PROCEDURE&#8217;<br />
Msg 208, Level 16, State 1, Line 1<br />
Invalid object name &#8216;all_objects&#8217;.</p>
<p>Probably because it&#8217;s a SQL Server 2000 database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42626</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Wed, 10 Sep 2008 06:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42626</guid>
		<description>Can anyone tell me where stored procedure is stored in SQL Server 2005?</description>
		<content:encoded><![CDATA[<p>Can anyone tell me where stored procedure is stored in SQL Server 2005?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben GU</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42347</link>
		<dc:creator>Ben GU</dc:creator>
		<pubDate>Wed, 03 Sep 2008 05:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42347</guid>
		<description>in sql 2005

SELECT     name, object_id, principal_id, schema_id, parent_object_id, type, type_desc, create_date, modify_date, is_ms_shipped, is_published, 
                      is_schema_published
FROM         sys.all_objects
WHERE     (is_ms_shipped = 0) AND (type_desc = N&#039;SQL_STORED_PROCEDURE&#039;)</description>
		<content:encoded><![CDATA[<p>in sql 2005</p>
<p>SELECT     name, object_id, principal_id, schema_id, parent_object_id, type, type_desc, create_date, modify_date, is_ms_shipped, is_published,<br />
                      is_schema_published<br />
FROM         sys.all_objects<br />
WHERE     (is_ms_shipped = 0) AND (type_desc = N&#8217;SQL_STORED_PROCEDURE&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hanuman</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42196</link>
		<dc:creator>Hanuman</dc:creator>
		<pubDate>Sat, 30 Aug 2008 10:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-42196</guid>
		<description>We can  get  all procedures in the follwoing way . 
I tried its working ...


Select * from all_objects where object_type=&#039;PROCEDURE&#039;&#039;;</description>
		<content:encoded><![CDATA[<p>We can  get  all procedures in the follwoing way .<br />
I tried its working &#8230;</p>
<p>Select * from all_objects where object_type=&#8217;PROCEDURE&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eruntale</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-39917</link>
		<dc:creator>eruntale</dc:creator>
		<pubDate>Tue, 08 Jul 2008 16:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-39917</guid>
		<description>how do I do this for SQL server 2000?</description>
		<content:encoded><![CDATA[<p>how do I do this for SQL server 2000?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amol Kagde</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-39369</link>
		<dc:creator>Amol Kagde</dc:creator>
		<pubDate>Fri, 20 Jun 2008 03:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-39369</guid>
		<description>hi tushar,

Yes this is possible using one stored procedure , that insert different data fields in diffrent tables.

Create Proc name
(
Declare here all fields
 )
as 
Write here different insert query statement for differrent tables simultaneously it will fire and exe.


ok bye</description>
		<content:encoded><![CDATA[<p>hi tushar,</p>
<p>Yes this is possible using one stored procedure , that insert different data fields in diffrent tables.</p>
<p>Create Proc name<br />
(<br />
Declare here all fields<br />
 )<br />
as<br />
Write here different insert query statement for differrent tables simultaneously it will fire and exe.</p>
<p>ok bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tushar</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-39282</link>
		<dc:creator>tushar</dc:creator>
		<pubDate>Tue, 17 Jun 2008 06:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-39282</guid>
		<description>Is it possible to insert data using Stored procedure in number of tables with different fields number of fields</description>
		<content:encoded><![CDATA[<p>Is it possible to insert data using Stored procedure in number of tables with different fields number of fields</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumon</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34784</link>
		<dc:creator>Sumon</dc:creator>
		<pubDate>Wed, 02 Apr 2008 08:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34784</guid>
		<description>We can find the Stored Procedures of a data base like this:

select * from dbo.sysobjects where xtype=&#039;p&#039; and OBJECTPROPERTY(id, N&#039;IsProcedure&#039;) = 1</description>
		<content:encoded><![CDATA[<p>We can find the Stored Procedures of a data base like this:</p>
<p>select * from dbo.sysobjects where xtype=&#8217;p&#8217; and OBJECTPROPERTY(id, N&#8217;IsProcedure&#8217;) = 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AgnesLoyola</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34744</link>
		<dc:creator>AgnesLoyola</dc:creator>
		<pubDate>Tue, 01 Apr 2008 08:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34744</guid>
		<description>Hi Savitha


You can use use the below query to list  all User Defined Stored procedures in a database:

Select * from sys.procedures where [type] = &#039;P&#039; and is_ms_shipped = 0 and [name] not like &#039;sp[_]%diagram%&#039;

OR

Select * from sys.objects where type=&#039;p&#039; and is_ms_shipped=0 and [name] not like &#039;sp[_]%diagram%&#039;

&#039;NOT LIKE&#039; part is added to get rid of stored procedures created during database installation.

i have taken this from  http://vadivel.blogspot.com/2006/10/listing-dropping-all-stored-procedures.html</description>
		<content:encoded><![CDATA[<p>Hi Savitha</p>
<p>You can use use the below query to list  all User Defined Stored procedures in a database:</p>
<p>Select * from sys.procedures where [type] = &#8216;P&#8217; and is_ms_shipped = 0 and [name] not like &#8217;sp[_]%diagram%&#8217;</p>
<p>OR</p>
<p>Select * from sys.objects where type=&#8217;p&#8217; and is_ms_shipped=0 and [name] not like &#8217;sp[_]%diagram%&#8217;</p>
<p>&#8216;NOT LIKE&#8217; part is added to get rid of stored procedures created during database installation.</p>
<p>i have taken this from  <a href="http://vadivel.blogspot.com/2006/10/listing-dropping-all-stored-procedures.html" rel="nofollow">http://vadivel.blogspot.com/2006/10/listing-dropping-all-stored-procedures.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAVITHA</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34509</link>
		<dc:creator>SAVITHA</dc:creator>
		<pubDate>Sat, 22 Mar 2008 12:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34509</guid>
		<description>how can i  get only user defined procedure...</description>
		<content:encoded><![CDATA[<p>how can i  get only user defined procedure&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preethi</title>
		<link>http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34343</link>
		<dc:creator>Preethi</dc:creator>
		<pubDate>Fri, 14 Mar 2008 11:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/11/27/sql-server-2005-list-all-stored-procedure-in-database/#comment-34343</guid>
		<description>Hello

how to find the rate of interest - using stored procedure concept in sql server.</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>how to find the rate of interest &#8211; using stored procedure concept in sql server.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
