Unix Technical Forum

Converting an SQL server table structure to an MS-Access table

This is a discussion on Converting an SQL server table structure to an MS-Access table within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I want to take an existing MS-SQL Server table in an SQL Server database and create an MS-Access table ...


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, 08:13 PM
Andrew Chalk
 
Posts: n/a
Default Converting an SQL server table structure to an MS-Access table

I want to take an existing MS-SQL Server table in an SQL Server database and
create an MS-Access table with the same structure. Is there a standard
utility to do this?

Many thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:13 PM
Mary Chipman
 
Posts: n/a
Default Re: Converting an SQL server table structure to an MS-Access table

Usually people are wanting to go the other way, from Access to SQLS.
No, there's no utility that I know of, but there's a couple of ways
you can go about it. You can create an Access database and link to the
SQLS one, then create a Make Table query. You'll need to manually put
in keys, indexes, and constraints as validation rules. A second way
would be to create a script using SEM's recording capabilities. You
could then revise it so that it is compatible with Access/Jet DDL. A
third way would be to use DAO, but you'd need to write the code.

-- Mary
Microsoft Access Developer's Guide to SQL Server
http://www.amazon.com/exec/obidos/ASIN/0672319446

On Mon, 14 Jul 2003 13:23:51 -0500, "Andrew Chalk"
<achalk@XXXmagnacartasoftware.com> wrote:

>I want to take an existing MS-SQL Server table in an SQL Server database and
>create an MS-Access table with the same structure. Is there a standard
>utility to do this?
>
>Many thanks.
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 08:13 PM
Matt Smith
 
Posts: n/a
Default Re: Converting an SQL server table structure to an MS-Access table

"Andrew Chalk" <achalk@XXXmagnacartasoftware.com> wrote in message
news:OUTSVUjSDHA.2316@tk2msftngp13.phx.gbl...
> I want to take an existing MS-SQL Server table in an SQL Server database

and
> create an MS-Access table with the same structure. Is there a standard
> utility to do this?
>
> Many thanks.
>
>


It isn't perfect but you could try using Microsoft Data Transformation
Services Wizard ("<SQL 7 Install Dir>\Binn\dtswiz.exe"). It comes with any
version of MSDE.

Matt


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 08:13 PM
Andrew Chalk
 
Posts: n/a
Default Re: Converting an SQL server table structure to an MS-Access table

Thanks. However, I need a programatic solution.

At the moment I copy an empty MDB to the target directory and then open the
SQL Server and Access dbs as ODBC data sources and SELECT and INSERT each
record in turn.

Regards.

"Matt Smith" <_matt@breathemail.net> wrote in message
news:bf11nc$col$1@sparta.btinternet.com...
> "Andrew Chalk" <achalk@XXXmagnacartasoftware.com> wrote in message
> news:OUTSVUjSDHA.2316@tk2msftngp13.phx.gbl...
> > I want to take an existing MS-SQL Server table in an SQL Server database

> and
> > create an MS-Access table with the same structure. Is there a standard
> > utility to do this?
> >
> > Many thanks.
> >
> >

>
> It isn't perfect but you could try using Microsoft Data Transformation
> Services Wizard ("<SQL 7 Install Dir>\Binn\dtswiz.exe"). It comes with any
> version of MSDE.
>
> Matt
>
>



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 03:32 AM.


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