Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

stored procedure to change name of column for all dependent tables and views

EXECUTE sp_rename 'Sales.SalesTerritory.TerritoryID', 'TerrID', 'COLUMN';
Source by solutioncenter.apexsql.com #
 
PREVIOUS NEXT
Tagged: #stored #procedure #change #column #dependent #tables #views
ADD COMMENT
Topic
Name
8+3 =