Manu Varghese
Manu Varghese

Reputation: 811

Copy/clone SQL Server database schema and some data programmatically

I am developing a point-of-sale Windows Forms application which handling multiple companies. When user creating a new company, I want programmatically clone an existing database with some of the data (some master tables). I am using SQL Server Express and C#.

Upvotes: 0

Views: 787

Answers (1)

Mark Redman
Mark Redman

Reputation: 24515

Instead of copying a database, could you not prepare a backup of an empty database with the data required, then restore that to a new database?

Upvotes: 1

Related Questions