Extended Properties Are Your Friend

SQL Server Best Practices
SQL Server Best Practices
It’s nice to have friends, why aren’t you a friend of extended properties? They can make your like so much easier by helping to document your databases and objects.

Take a basic table create statement


Pretty simple and we can infer a lot of the information about the table, but we mention size, are we measuring in inches, feet, yards?

We can add extended properties that will help to provide that sort of guidance for someone to reference later on.

We can also add properties at the table level:

And at the database level:

You can even add extended properties to other objects, like stored procedures:

Continue reading on SirSQL.net.

54321
(0 votes. Average 0 of 5)