【问题标题】:How to restore a SQL Server database from a Schema Objects folder?如何从 Schema Objects 文件夹中恢复 SQL Server 数据库?
【发布时间】:2011-12-30 00:26:25
【问题描述】:

我收到了这样的 Schema Objects 文件夹:

Schema Objects 
|-- Tables 
  |-- Constraints
  |-- Indexes
  |-- Keys
  |-- Statistics
  |-- Triggers
  |-- ..and all the SQL scripts to create the tables

除了逐个脚本运行之外,我如何将此数据库恢复到 SQL Server?

【问题讨论】:

  • 如果您有 Visual Studio Pro 或更高版本,您应该能够将文件添加到数据库项目中,然后使用 VS 部署数据库选项在空数据库中创建架构,只需单击几下鼠标

标签: sql-server schema database-restore


【解决方案1】:

如果你有 Visual Studio Pro 或更高版本,你应该能够将文件添加到数据库项目中,然后使用 VS 部署数据库选项在空数据库中创建架构,只需单击几下鼠标

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-04-19
    • 1970-01-01
    • 2010-10-20
    • 1970-01-01
    • 1970-01-01
    • 2016-03-11
    • 1970-01-01
    相关资源
    最近更新 更多