How to drop all extended properties on SQL Server in a scriptable way?
相关问题
- sql execution latency when assign to a variable
- What is the best way to cache a table from a (SQL)
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
- SQL to Parse a Key-Value String
相关文章
- Entity Framework 4.3.1 failing to create (/open) a
- Code for inserting data into SQL Server database u
- SQL Server 2008 Change Data Capture, who made the
- Delete Every Alternate Row in SQL
- Linux based PHP install connecting to MsSQL Server
- SQL Azure Reset autoincrement
- How do we alias a Sql Server instance name used in
- Is recursion good in SQL Server?
Please see the Below URL to drop the extended property:
http://msdn.microsoft.com/en-us/library/ms178595.aspx
I tried running the scripts and nothing seemed to work for me. I did however find that I could delete the extended properties by going to my tables/views in
Object Explorer
and doing to following:use this script
Source:drop extended property
If you want a script that will drop all extended properties in one go then use a script that Jamie Thomson has created that will generate drops for all extended properties. You can download it from this article.
I've pasted his script here (in full with acknowledgements in-case the article is removed):