Unix Technical Forum

SqlServer data to Access database

This is a discussion on SqlServer data to Access database within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Is there an easy way to read a database table from a SqlServer database and save it to an ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:43 PM
=?Utf-8?B?bXlsZXNy?=
 
Posts: n/a
Default SqlServer data to Access database

Is there an easy way to read a database table from a SqlServer database and
save it to an Access database? I have tried reading the data into a dataset
(using .NET with C#). This part works fine, but then I can't seem to get the
dataset to update or create a file in the Access database.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:43 PM
Mary Chipman [MSFT]
 
Posts: n/a
Default Re: SqlServer data to Access database

If you're looking for easy, then you can do this from the Access UI
from the Import menu or by writing a couple of queries. You can do it
from SQL Server using DTS. The hard/slow way from .NET would be to
write code to create the table in the Access mdb (Access supports the
CREATE TABLE syntax), create the DataTable in your code, then iterate
through it, executing a separate INSERT statement for each row.

--Mary

On Fri, 6 May 2005 20:42:13 -0700, mylesr
<mylesr@discussions.microsoft.com> wrote:

>Is there an easy way to read a database table from a SqlServer database and
>save it to an Access database? I have tried reading the data into a dataset
>(using .NET with C#). This part works fine, but then I can't seem to get the
>dataset to update or create a file in the Access database.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:44 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com