From: Rajesh on
I want to drop all the tables and in a database and repopulate with the tables exist in the other server.
What is the best method that i can do?

While i am trying to drop the object i am getting error if it has dependencies how and i drop all the tables including all the dependicies.

From: vinu on
Rajesh

if you using sql 2000 then you can use DTS
DTS has the facility to truncate the destination table and re-populate it

vinu


vinu
<Rajesh Kallakuri> wrote in message news:20087165157rajinvizag(a)gmail.com...
>I want to drop all the tables and in a database and repopulate with the
>tables exist in the other server.
> What is the best method that i can do?
>
> While i am trying to drop the object i am getting error if it has
> dependencies how and i drop all the tables including all the dependicies.
>


From: Uri Dimant on
Hi
I use RedGate tool and very happy with.
You have to drop all constraints just before truncating and re-create after
importing the data

Take a look at Export/Import option in SQL Server, SSIS/DTS --transfer
objects



<Rajesh Kallakuri> wrote in message news:20087165157rajinvizag(a)gmail.com...
>I want to drop all the tables and in a database and repopulate with the
>tables exist in the other server.
> What is the best method that i can do?
>
> While i am trying to drop the object i am getting error if it has
> dependencies how and i drop all the tables including all the dependicies.
>


From: Alex Kuznetsov on
On Jul 1, 5:51 am, Rajesh Kallakuri wrote:
> I want to drop all the tables and in a database and repopulate with the tables exist in the other server.
> What is the best method that i can do?
>
> While i am trying to drop the object i am getting error if it has dependencies how and i drop all the tables including all the dependicies.

you can drop the database, create a new one, create and populate your
tables, and finally create constraints.
From: Bob on
If you're dropping everything, why not just backup and restore? Surely this
is the safest and simplest method.

"Rajesh Kallakuri" wrote:

> I want to drop all the tables and in a database and repopulate with the tables exist in the other server.
> What is the best method that i can do?
>
> While i am trying to drop the object i am getting error if it has dependencies how and i drop all the tables including all the dependicies.
>
>