How to install an existing SQL-Server database?
Posted: Tue Oct 16, 2007 9:28 am
Hello,
I'm using IA V6.22 and I want my Setup to install an existing SQL-Server Database (mdf/ldf-file are present) to a local SQL-Server 2005 database system. I have already managed to create a new database by integrating a new (empty) MS SQL Script and checking "Create database if absent". Then I tried to generate a SQL-Script that contains the whole database layout (tables...) and the whole content, but that seems a little bit too complex and inefficient to me.
Is there an easier way to add an existing SQL-Server Database to a (local) SQL-Server using the IA Installer, e.g. by copying and somehow adding the mdf/ldf-files to the (locally installed) SQL-Server instead of transforming the whole database into a script?
Thanks in advance...
I'm using IA V6.22 and I want my Setup to install an existing SQL-Server Database (mdf/ldf-file are present) to a local SQL-Server 2005 database system. I have already managed to create a new database by integrating a new (empty) MS SQL Script and checking "Create database if absent". Then I tried to generate a SQL-Script that contains the whole database layout (tables...) and the whole content, but that seems a little bit too complex and inefficient to me.
Is there an easier way to add an existing SQL-Server Database to a (local) SQL-Server using the IA Installer, e.g. by copying and somehow adding the mdf/ldf-files to the (locally installed) SQL-Server instead of transforming the whole database into a script?
Thanks in advance...