<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'SQL Server' and 'Management'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=SQL+Server,Management&amp;orTags=0</link><description>Search results matching tags 'SQL Server' and 'Management'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>The SQL Server Health Check</title><link>http://sqlblog.com/blogs/buck_woody/archive/2010/02/11/the-sql-server-health-check.aspx</link><pubDate>Thu, 11 Feb 2010 14:16:05 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:22161</guid><dc:creator>BuckWoody</dc:creator><description>&lt;p&gt;My friend Brent Ozar, who is a top-notch SQL Server Professional, mentioned on his blog (&lt;a href="http://www.brentozar.com/archive/2007/04/sql-server-health-check/comment-page-1/#comment-17520"&gt;http://www.brentozar.com/archive/2007/04/sql-server-health-check/comment-page-1/#comment-17520&lt;/a&gt;) that he brought in Microsoft Support to do a “Health Check”. There were some questions about what this actually entails – so I thought I would post that description here.&lt;/p&gt;  &lt;p&gt;A SQL Server Health Check from Microsoft is an offering provided through our support and consulting branches. If you’ve purchased a Premier support agreement, you can use the hours you pay for to have someone come out and check out your systems using two basic vectors: standard best practices, and the best practices for your environment. Let me explain that a little further.&lt;/p&gt;  &lt;p&gt;Microsoft Consulting Services (MCS) has an advanced set of tools and techniques to reach deep into your systems to evaluate them against a set of criteria that we establish for the best performance, safety and reliability for SQL Server. But your SQL Server Instances will be different than someone else’s, so the consultant will also spend some time in an interview with various teams to find out how you’re using the system. They’ll consult with experts in that area back at Redmond, and at the end of the engagement you get what I feel is the most valuable part of the exercise – the report. The report shows what was done, how it was done, what the findings are and what recommendations the consultant makes. It’s a thing of beauty.&lt;/p&gt;  &lt;p&gt;You don’t have to have a Premier agreement to get a SQL Server Health Check, and companies other than Microsoft have versions of this as well. The prices vary, so if you want a Microsoft person then contact your local Microsoft office and ask for the Consulting Manager for your area. They will get you to the right person and you can work out the costs from there. If you take a hard look, most of the time the cost is well justified.&lt;/p&gt;  &lt;p&gt;On a related note, I think it’s fantastic that Brent has the foresight to bring in “another pair of eyes” on his systems. Brent is actually in the program to gain a SQL Server “Master” certification – something only a few people in the world have. He works for a software development firm that creates fantastic products for – wait for it – SQL Server! He could evaluate his own systems, and of course he does. But he realizes that there’s always something more to learn, and someone out there may know one more little detail that he doesn’t. This is the mark of a very bright person.&lt;/p&gt;</description></item><item><title>How Does Microsoft Do IT?</title><link>http://sqlblog.com/blogs/buck_woody/archive/2010/02/03/how-does-microsoft-do-it.aspx</link><pubDate>Wed, 03 Feb 2010 14:17:24 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:21774</guid><dc:creator>BuckWoody</dc:creator><description>&lt;p&gt;Microsoft is a big company – and of course we have a lot of IT infrastructure that we have to manage. It might surprise you to learn that we have an IT group, just like at your company. We have a networking team, a server hardware team, software teams, DBA’s, the whole bit. In fact, we have more Mac computers than just about anyone (other than that company down south from here) and we write some of the best-selling Apple software. We have a Linux lab. &lt;/p&gt;  &lt;p&gt;How do we do that? How do you manage 80,000+ seats, especially when most of your company are a bunch of tech-savvy geeks? It’s a tough job, but the neat thing is that we tell you how we’re doing it – everything – right here: &lt;a href="http://technet.microsoft.com/en-us/library/bb687780.aspx"&gt;http://technet.microsoft.com/en-us/library/bb687780.aspx&lt;/a&gt;. If you want to focus in on just SQL Server, just check here: &lt;a href="http://technet.microsoft.com/en-us/library/bb687798.aspx"&gt;http://technet.microsoft.com/en-us/library/bb687798.aspx&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;(By the way - I *totally* should be doing our marketing – isn’t that title catchy? My catch-phrases and product names would be a lot better than what we normally come up with. I’m just sayin’.)&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Tools and Processes for “Fitting it all in”</title><link>http://sqlblog.com/blogs/buck_woody/archive/2010/01/18/tools-and-processes-for-fitting-it-all-in.aspx</link><pubDate>Mon, 18 Jan 2010 14:42:05 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:21147</guid><dc:creator>BuckWoody</dc:creator><description>&lt;p&gt;Most data professionals I’ve met work in two modes: we plan for our day, and we react to the situations around us. I’m staring at my list of things that I need to do today right now, which is my planned work. Of course, I have no idea how much of that will really get done – it’s optimistic to be sure. On the other hand I have several systems I manage, and at any moment one of them or the people that interface with them may “change state” such that I need to give them some attention.&lt;/p&gt;  &lt;p&gt;So how do I meld the two? Sometimes it can be quite difficult. I’m constantly working through my list in my mind, re-arranging what I’m focusing on based on what I perceive as the highest need. There are, however, some tools that I use each day to help me manage the workflow.&lt;/p&gt;  &lt;p&gt;I use Outlook for tracking everything, since it has a task list (my primary tracking), a calendar, mail and so on. Also I can share the information, it’s on-line so I can see it anywhere, and I can even take it offline onto the plane this week when I fly out of town. &lt;/p&gt;  &lt;p&gt;For the “ad-hoc” work, I rely on a script library, which I keep as SQL Server Management Studio projects. I keep those scripts and projects backed using Microsoft Live Mesh, which synchronizes those files (along with a few other critical files and my IE Favorites) across not only my laptop and primary systems, but even with my Virtual Machines. &lt;/p&gt;  &lt;p&gt;Also for my SQL Server systems I use the Standard Reports I’ve blogged about here. I also use Greg Larsen’s Database Dashboard, and a series of PowerShell scripts that work across my systems, alerting me to any problems. Of course I’m using SQL Server Agent Jobs quite a bit, and I also use Alerts and some Perfmon automation for my monthly baselining.&lt;/p&gt;  &lt;p&gt;So – is this your experience as well? Do you get driven by both planned and unplanned work? What tools and processes do you use to keep it all straight with your SQL Server Instances?&lt;/p&gt;</description></item><item><title>T-SQL Tuesday: Easy Extended Properties</title><link>http://sqlblog.com/blogs/michael_coles/archive/2010/01/12/t-sql-tuesday-easy-extended-properties.aspx</link><pubDate>Tue, 12 Jan 2010 05:18:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:20901</guid><dc:creator>Mike C</dc:creator><description>&lt;P&gt;Ahhh, attention to detail.&amp;nbsp;I misread &lt;A href="http://sqlblog.com/blogs/adam_machanic/archive/2010/01/04/invitation-for-t-sql-tuesday-002-a-puzzling-situation.aspx"&gt;Adam's T-SQL Tuesday&lt;/A&gt; rules and posted early.&amp;nbsp;So here I go again :)&amp;nbsp;This time the puzzle is how to add and update metadata via extended properties in the database with minimal headaches.&lt;/P&gt;
&lt;P&gt;SQL Server supports a great feature for storing database object metadata in the database in the form of&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/ms190243.aspx"&gt;extended properties&lt;/A&gt;. The main benefits of extended properties over custom solutions are: (1) extended properties are managed and&amp;nbsp;stored internally by SQL Server; (2) many third-party applications retrieve/use extended properties. Perhaps the best known extended property is the "&lt;EM&gt;MS_Description&lt;/EM&gt;" property, which is set by the "&lt;EM&gt;Description&lt;/EM&gt;" field in the SSMS designer pages (shown below):&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH:582px;HEIGHT:314px;" title="Setting MS_Description property in SSMS" alt="Setting MS_Description property in SSMS" src="http://e60ybw.bay.livefilestore.com/y1pU1-SwphvYGZJq1pYzlS2CJ0JtfHcJxLiBqlztLmlWg3WC9-upPogOMkBsvk768lrUsZSONLG3tPqOd0W40cvOzkCV7I7UNB1/extended.property.description.png" width=951 height=445&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extended properties are created as user-defined key/value pairs assigned to database objects. You can define the extended propery keys and their associated values to be anything you like, although there are a few commonly used ones (like "&lt;EM&gt;MS_Description&lt;/EM&gt;"). The values are defined as sql_variant data types. Here are some sample key/value pairs:&lt;/P&gt;
&lt;DIV align=center&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV align=center&gt;
&lt;TABLE style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;BORDER-COLLAPSE:collapse;BORDER-TOP:medium none;BORDER-RIGHT:medium none;mso-border-top-alt:solid #4F81BD 1.0pt;mso-border-top-themecolor:accent1;mso-border-bottom-alt:solid #4F81BD 1.0pt;mso-border-bottom-themecolor:accent1;mso-yfti-tbllook:1184;mso-padding-alt:0in 5.4pt 0in 5.4pt;" class=MsoTableLightShadingAccent1 cellSpacing=0 cellPadding=0&gt;

&lt;TR style="mso-yfti-irow:-1;mso-yfti-firstrow:yes;"&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:131.4pt;PADDING-RIGHT:5.4pt;BORDER-TOP:#4f81bd 1pt solid;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-top-themecolor:accent1;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:5;" class=MsoNormal&gt;&lt;B&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;Key&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BORDER-TOP:#4f81bd 1pt solid;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-top-themecolor:accent1;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:1;" class=MsoNormal&gt;&lt;B&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;Value&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:0;"&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:131.4pt;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:68;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;MS_Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:64;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;This table represents the culmination of a lifelong dream.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:1;"&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:131.4pt;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:4;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;Caption&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;GrandTotal Column&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:2;"&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:131.4pt;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:68;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;Last_Update&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:64;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;2009-07-09&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:3;mso-yfti-lastrow:yes;"&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:131.4pt;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:4;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;Version&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Cambria&gt;1.0.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/DIV&gt;
&lt;P&gt;Extended properties allow you to store metadata in the database closely tied to database objects. So what's the downside to extended properties? Basically the only real issue with them is the nonintuitive syntax. In order to use extended properties you have to use stored procedures like &lt;STRONG&gt;sp_addextendedproperty&lt;/STRONG&gt;. The following stored procedure call sets the &lt;EM&gt;MS_Description&lt;/EM&gt; extended property on the &lt;EM&gt;&lt;STRONG&gt;bar&lt;/STRONG&gt;&lt;/EM&gt; column of the &lt;STRONG&gt;&lt;EM&gt;dbo.foo&lt;/EM&gt;&lt;/STRONG&gt; table:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EXECUTE sys.sp_addextendedproperty&lt;BR&gt;&amp;nbsp; @name = N'MS_Description',&lt;BR&gt;&amp;nbsp; @value = N'This is the bar column',&lt;BR&gt;&amp;nbsp; @level0type = N'SCHEMA',&lt;BR&gt;&amp;nbsp; @level0name = N'dbo',&lt;BR&gt;&amp;nbsp; @level1type = N'TABLE',&lt;BR&gt;&amp;nbsp; @level1name = N'foo',&lt;BR&gt;&amp;nbsp; @level2type = N'COLUMN',&lt;BR&gt;&amp;nbsp; @level2name = N'bar';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As you can see in the example, this syntax requires you to specify not only the extended property name/value pair and the individual components of the column's fully-qualified name, but also the types of each object.&amp;nbsp;Updating and deleting extended properties using the system stored procedures requires the same type of information.&amp;nbsp;A painful process to say the least.&lt;/P&gt;
&lt;P&gt;The attached code sample creates an extended properties management schema named &lt;STRONG&gt;ExtProps&lt;/STRONG&gt;. The &lt;STRONG&gt;ExtProps&lt;/STRONG&gt; schema contains stored procedures that make it easier to add, update and delete extended properties. With these procedures you specify the object&amp;nbsp;name using the standard SQL Server 1-, 2-, or&amp;nbsp;3-part naming convention along with the extended property name/value pair. The procedure will automatically figure out what type of object you're referencing. The following sample performs the same function as the previous example:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EXECUTE&amp;nbsp;ExtProps.PropInsert N'dbo.foo.bar',&lt;BR&gt;&amp;nbsp; N'MS_Description',&lt;BR&gt;&amp;nbsp; N'This is the bar column';&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;ExtProps.PropInsert&lt;/STRONG&gt;, &lt;STRONG&gt;ExtProps.PropDelete&lt;/STRONG&gt; and &lt;STRONG&gt;ExtProps.PropUpdate&lt;/STRONG&gt; procedures use the object name you pass in to narrow down the type of object you're referencing. They then use the SQL Server catalog views to figure out exactly which object it should modify the extended properties on. The following table lists the types of object and the names expected by the procedures:&lt;/P&gt;
&lt;P&gt;
&lt;TABLE style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;BORDER-COLLAPSE:collapse;BORDER-TOP:medium none;BORDER-RIGHT:medium none;mso-border-top-alt:solid #4F81BD 1.0pt;mso-border-top-themecolor:accent1;mso-border-bottom-alt:solid #4F81BD 1.0pt;mso-border-bottom-themecolor:accent1;mso-yfti-tbllook:1184;mso-padding-alt:0in 5.4pt 0in 5.4pt;" class=MsoTableLightShadingAccent1 cellSpacing=0 cellPadding=0&gt;

&lt;TR style="mso-yfti-irow:-1;mso-yfti-firstrow:yes;"&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:162.9pt;PADDING-RIGHT:5.4pt;BORDER-TOP:#4f81bd 1pt solid;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-top-themecolor:accent1;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:5;" class=MsoNormal&gt;&lt;B&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;Name&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BORDER-TOP:#4f81bd 1pt solid;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-top-themecolor:accent1;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:1;" class=MsoNormal&gt;&lt;B&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;Object Type&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:0;"&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:162.9pt;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:68;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;NULL&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:64;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;Current database&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:1;"&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:162.9pt;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:4;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;1-part&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;Schema&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:2;"&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:162.9pt;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:68;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;2-part (&lt;I style="mso-bidi-font-style:normal;"&gt;schema.object&lt;/I&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#f0f0f0;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BACKGROUND:#d3dfee;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-background-themecolor:accent1;mso-background-themetint:63;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:64;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;Table, View, Procedure, Function, Aggregate, Synonym, Queue&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow:3;mso-yfti-lastrow:yes;"&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:162.9pt;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;mso-yfti-cnfc:4;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;mso-bidi-font-weight:bold;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;3-part (&lt;I style="mso-bidi-font-style:normal;"&gt;schema.object.column&lt;/I&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM:#4f81bd 1pt solid;BORDER-LEFT:#f0f0f0;PADDING-BOTTOM:0in;BACKGROUND-COLOR:transparent;PADDING-LEFT:5.4pt;WIDTH:2.5in;PADDING-RIGHT:5.4pt;BORDER-TOP:#f0f0f0;BORDER-RIGHT:#f0f0f0;PADDING-TOP:0in;mso-border-bottom-themecolor:accent1;"&gt;
&lt;P style="LINE-HEIGHT:normal;MARGIN:0in 0in 0pt;" class=MsoNormal&gt;&lt;SPAN style="COLOR:#365f91;mso-themecolor:accent1;mso-themeshade:191;"&gt;&lt;FONT face=Cambria&gt;&lt;FONT size=3&gt;Column&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P&gt;Note that these procedures do not yet handle all the different objects to which you can assign extended properties. For instance, it does not currently handle extended properties for procedure parameters, event notifications, and a handful of others.&lt;/P&gt;
&lt;P&gt;When you want to retrieve extended properties from the database you can use the standard system view, &lt;STRONG&gt;sys.extended_properties&lt;/STRONG&gt;, or the &lt;STRONG&gt;fn_listextendedproperty&lt;/STRONG&gt; system function. As an alternative, the &lt;STRONG&gt;ExtProps&lt;/STRONG&gt; schema includes a new view -- &lt;STRONG&gt;ExtProps.Properties&lt;/STRONG&gt;. This view has two advantages over the built-in system views:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV&gt;In addition to all the data returned by the &lt;STRONG&gt;sys.extended_properties&lt;/STRONG&gt; view the &lt;STRONG&gt;ExtProps.Properties&lt;/STRONG&gt; view also includes schema, object, and column names.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;The &lt;STRONG&gt;ExtProps.Properties&lt;/STRONG&gt; view has triggers built on it that allow you to insert, delete, and update extended properties using standard SQL DML statements. The triggers actually call the relevant stored procedures, once for each row of extended property data being modified.&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The figure below show sample output from the &lt;STRONG&gt;ExtProps.Properties&lt;/STRONG&gt; view:&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH:706px;HEIGHT:230px;" title="ExtProps.Properties View" alt="ExtProps.Properties View" src="http://e60ybw.bay.livefilestore.com/y1pVXI1Cqet03aAPUr1YX_VFtvoL6dU1i97dqeG3XMQE9RXSxUcgvTG9BcCqa7X3PQl9ptAQ_oNk1ld4r37aca9PXEGj4wOQSW1/extended-properties-view.png" width=1204 height=352&gt;&lt;/P&gt;
&lt;P&gt;The script attached to this posting creates the &lt;STRONG&gt;ExtProps&lt;/STRONG&gt; schema, procedures and view.&lt;/P&gt;</description></item></channel></rss>