加入收藏 | 设为首页 | 会员中心 | 我要投稿 核心网 (https://www.hxwgxz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程 > 正文

sql-server – 用于sql server的mysqldump

发布时间:2020-12-25 18:27:16 所属栏目:编程 来源:网络整理
导读:我已经在 mysql数据库上多次使用 mysqldump,并熟悉它是如何工作的.有谁知道是否有类似的工具可以在SQL Server数据库上使用. 我知道sql server可以备份它的数据库,但是如果可能的话我想把所有的sql insert语句都放到一个文本文件中. 解决方法 有一个免费软件从

我已经在 mysql数据库上多次使用 mysqldump,并熟悉它是如何工作的.有谁知道是否有类似的工具可以在SQL Server数据库上使用.

我知道sql server可以备份它的数据库,但是如果可能的话我想把所有的sql insert语句都放到一个文本文件中.

解决方法

有一个免费软件从表的数据创建SQL插入语句:

[SQL Dumper](主持人注意:由于受恶意软件侵扰的网站而删除了链接)

SQL Server Dumper enables you to dump selected SQL Server database tables into SQL INSERT
statements,that are saved as local
.sql files and contain all the data
required to create a duplicate table,
or to be used for backup purposes. You
can choose to create an individual
.sql file for each table,or combine
all selected tables into a single
file.

This program implements the following
special features:

  • Foreign Keys order tables in text file in order to insert data without
    colisions/errors
  • Primary Key IDENTITY guarantees the value of the IDENTITY field
  • Reference to itself eliminates the constraint and at the end create it
    again

将它与SQL Server的内置模式生成(对象脚本)结合使用.

(编辑:核心网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读