How to change the table name in visual studio 2013 in design mode?

前端 未结 8 569
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-29 04:41

I created a SQL database table in Visual Studio 2013. I want to rename it but the name property is disabled. How can I change the table name?

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-29 05:13

    You can change table name in T-SQL part as showin in image as follows..

    CREATE TABLE{dbo].[t1]{
    {
       ...
       ...
    }
    

    to

    CREATE TABLE{dbo].[t2]{
    {
       ...
       ...
    }
    

    ans then press "Update" button present above...

提交回复
热议问题