8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SQL Server 用の sqldump

Last updated at Posted at 2014-03-29

MySQL では、データベースの内容をSQL形式でバックアップを取ることができますが、SQL Server にはありません。

普通にバックアップを取ると bak 形式となり、テキストエディタでは読めなくて不便なので、SQL形式にする関数を作りました。

DumpSQLServer - GitHub

なお、gDB.ExecuteSQL() 関数は、String 型の引数 で受け取った SQL 文を実行して、 DataTable 型の結果を返すという関数です。

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?