问题
how can I by using Ado.net rename existing column in a table and changing a column's data type?
回答1:
You can call stored procedure for that, as follows
EXEC sp_rename 'MyTable.OldColumnName', 'NewColumnName'
see section: Renaming a Column in this Article
来源:https://stackoverflow.com/questions/2450800/rename-columnname-and-change-columns-data-type-in-a-table-by-using-ado-net