<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ms Sql Server on Christopher Tyler</title><link>https://cetyler.github.io/tags/ms-sql-server/</link><description>Recent content in Ms Sql Server on Christopher Tyler</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 31 Dec 2024 21:47:58 -0600</lastBuildDate><atom:link href="https://cetyler.github.io/tags/ms-sql-server/index.xml" rel="self" type="application/rss+xml"/><item><title>View Code of Stored Procedure</title><link>https://cetyler.github.io/til/2023/20230817111325/</link><pubDate>Tue, 28 Nov 2023 14:00:00 -0500</pubDate><guid>https://cetyler.github.io/til/2023/20230817111325/</guid><description>&lt;p&gt;I needed to see the code of a stored procedure in MS SQL Server at work so that
I could create a modified query.
I normally don&amp;rsquo;t use
&lt;a href="https://stackoverflow.com/questions/8733088/how-to-view-the-stored-procedure-code-in-sql-server-management-studio"&gt;Stack Overflow&lt;/a&gt;
much anymore but this was actually useful and well described.&lt;/p&gt;
&lt;p&gt;Using SQL Server Management Studio do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Go to Database -&amp;gt; Programmmability -&amp;gt; Stored Procedure.&lt;/li&gt;
&lt;li&gt;Right click on the procedure you want to view and click &lt;strong&gt;Modify&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Be careful not to modify it when you only want to view it.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>