Problem with Renaming a Column in SQL Server

前端 未结 4 1860
我寻月下人不归
我寻月下人不归 2020-12-19 13:49

So I was trying to rename a column in my table from Conversion_Fee_PerShare to just Conversion Fee.

I looked up online and found the syntax

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-19 14:47

    To fix this:

    sp_RENAME 'dbo.AllocationDetails.[[Conversion_Fee]]]' , 'Conversion_Fee', 'COLUMN'
    

提交回复
热议问题