PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Need to upgrade users from access db to SQL Server db through code...

Reply

Need to upgrade users from access db to SQL Server db through code...

 
Thread Tools Rate Thread
Old 11-09-2006, 07:13 PM   #1
0to60
Guest
 
Posts: n/a
Default Need to upgrade users from access db to SQL Server db through code...


I want to roll out an update that will update my users databases from Access
to SQL Server. Now, I have the scripts all written that will create all my
tables and relationships and such, but I need to copy the data over. What
is the recommended way to do this in code?


  Reply With Quote
Old 12-09-2006, 01:59 PM   #2
Cowboy \(Gregory A. Beamer\)
Guest
 
Posts: n/a
Default Re: Need to upgrade users from access db to SQL Server db through code...

If you have the option, use DTS (SSIS in SQL Server). You can also export to
a CSV and use one of the SQL Server bulk loading methods. Or, you can create
a DataSet in code, populate from Access and update SQL Server with it. It is
a bit trickier this way, but uses a syntax you would understand if you have
done a lot of ADO.NET.

The longevity of the code is one of the keys. Is this a one time thing or do
you need this to be done from time to time? If this is perpetuaal code, I
would spend the time to set up DTS/SSIS if it were me. This can be expensive
(time wise) on a one shot deal.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"0to60" <holeshot60_nospam_@yahoo.com> wrote in message
news:Owpwz3c1GHA.1288@TK2MSFTNGP03.phx.gbl...
>I want to roll out an update that will update my users databases from
>Access to SQL Server. Now, I have the scripts all written that will create
>all my tables and relationships and such, but I need to copy the data over.
>What is the recommended way to do this in code?
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off