简体   繁体   English

如何在SQL Server 2017中导出数据

[英]How to export data in SQL Server 2017

I need to export SQL Server 2017 database; 我需要导出SQL Server 2017数据库; can anyone please help me where I can find this? 谁能帮我在哪里找到这个?

Right click on a database ► Tasks ► Generate Scripts... 右键单击数据库►任务►生成脚本...
Select Script entire database and all database objects . 选择“ Script entire database and all database objects Next like there is no tomorrow. Next就像没有明天。
If you would like to include data as well, on the second step there is Advanced button. 如果您还想包含数据,则在第二步中有“ Advanced按钮。 Find Types of data to script , then you can include data to schema as well. 查找Types of data to script ,然后您还可以将数据包括到架构中。 But there are more efficient ways to copy data exist. 但是存在更有效的复制数据的方法。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM