Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


suggestion to copy data from Sql Server into Access database


suggestion to copy data from Sql Server into Access database

Author
Message
sal21
sal21
Forum God
Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)

Group: Forum Members
Posts: 20, Visits: 63
Situation:
I have a Sql Server in Rome and a shared server dir (with the access database) on a Server in New York.

I have permission on sever dir and databse.

The database on sql Server have exactlly the same structure of Access database. (the table on Sql Server have 200.000 records and 48 columns).

Now i want to recopy all records from Rome to NewYork.

Wath is the best way in terms of time to recopy records from Sql Server to acces Table?

note:
I want to use in my app the ADO jET drive.

Edited
12/11/2009 by sal21
Destroyer
Destroyer
Forum God
Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)Forum God (42K reputation)

Group: Forum Members
Posts: 244, Visits: 188
I believe the best way would be to use SQL Server's Enterprise Manager to import your Access Database into your SQL Server Database.

Destroyer Smooooth
sal21
sal21
Forum God
Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)Forum God (4.4K reputation)

Group: Forum Members
Posts: 20, Visits: 63
Destroyer (12/12/2009)
I believe the best way would be to use SQL Server's Enterprise Manager to import your Access Database into your SQL Server Database.




yes i know this way but i need al in vb6 and ado, possible?
sangay
sangay
Forum God
Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)Forum God (676 reputation)

Group: Forum Members
Posts: 2, Visits: 2
To copy one by one is one of the tedious job. So as suggested by others.. Use SQL Enterprise Manager to import your database to SQL server by which it can copy all your tables, queires and reports directly into it.

Open SQL Enterprise manager, create new database as the name of the access dbase name,  to view and click to import and select the database and you need to give the server name as the name given for SQL Server. after the you need to give path and after that it will ask you to copy tables, tables and queries and so on. After that you can copy the tables wihout any hindrance. Choose the dbase name that you gave earlier or created.

Try this and it works.

sangay

vb5prgrmr
vb5prgrmr
Forum God
Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)Forum God (39K reputation)

Group: Forum Members
Posts: 167, Visits: 786
One way in which to accomplish this and do it fairly fast is to issue the detach database command through an sql statement under a user/psw that has admin priv. Then copy data and log file to local sql server. Once done, reattach... then shift focus to local and attach. Then you could run through on local system very fast. Otherwise, forever will be an understatement...

 

Good Luck

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search