CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000
    Posts
    36

    SQL Server to MSAccess

    How can I convert a SQL Server database to an MSAccess database programatically.
    thanks


  2. #2
    Join Date
    Aug 2000
    Location
    Namibia
    Posts
    139

    Re: SQL Server to MSAccess

    I'm not going to go into detail here, just give you some direction.

    To create the MDB file you'll need to reference the ADOX library. This library also provides objects with methods to create the tables etc.

    You could/may reference the ADODB library and use the recordset object method 'openschema' (with appropriate parameter). This way you may not have things as easy, more coding will be required, but SQL is powerful. You could, for instance, use the execute method of the connection object to CREATE TABLE etc.

    Trust this is helpful - atleast a little


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured