Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 24th, 2004, 02:16 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default exporting access database to sql server

Hi,

Could anybody give any suggession of how i can export access database to sql server programmatically using VB including the indexes and default values
 
Old December 24th, 2004, 09:32 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

You can create a DTS package to transfer from access to SQL

Jaime E. Maccou
 
Old December 29th, 2004, 04:06 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Anantsharma Send a message via Yahoo to Anantsharma
Default

HI,

I am not sure if u want to perform thi task on daily basis or its a one time job.

Well If u go with DTS of sql server, u will get an option to save your DTS pacakage as Visaul basic Script. Choose that and sql will generate all the necessary code for you. U may have to do a little modification withing that code using VB IDE.

Gud luck

B. Anant





Similar Threads
Thread Thread Starter Forum Replies Last Post
Access database/SQL Server backend Question vbJupiter Access VBA 1 October 6th, 2006 07:59 PM
SQL Server Database Locking with Access thatoneguy SQL Server 2000 3 September 7th, 2005 08:05 PM
Migrating Access database to SQL Server lryckman SQL Server 2000 3 April 10th, 2005 02:19 PM
Exporting access database to Excel .xls Squall Leonhart Classic ASP Databases 5 December 2nd, 2003 07:42 PM
exporting sql server database to access pankaj_daga SQL Server 2000 4 October 31st, 2003 12:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.