|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here! |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Okay, I have a customer who sends over Access db. I upload it to his site and then run ColdFusion script to extract data from it and update a MSSQL 2005 db.
What I am wondering is -- is it possible to write t-sql to connect to the mdb and pull the data? I've never tried odbc with t-sql. Is it possible?
__________________
Freelancers Gone Wild | Take your advertising to the next level | BLASTOFF! To make money and save money |
|
||||
|
You can setup the Replication service to do that. I have done it in the past to take data off a proprietary system and update MSSQL 2005. Could even schedule it!
__________________
Follow me on Twitter! On the Trail with SOSG How I became a Social Media Convert and Twitter and Agents of Influence and now regular poster at Cloudmixer where We're Mixing New Media Ideas. |
|
|||
|
There are two ways of tackling the upgrade. In Access using the Upsizing wizard should be the you first port of call.
Tools > Database Utilities > Upsizing wizard Follow the prompts and all should be bright and breazy. Well maybe not quite. After the upsize has happened, Access creates a nifty report that tells you what was converted and if there were any errors. For those tables that Access couldn’t upsize, you can try re-upsizing until you are blue in the face, but it just won’t happen. For those “problem” tables you are going to have to take alternate action. Excel to the rescue! In Access, right click on a “problem” table, and click Export… Save the table as a Microsoft Excel file. Rinse and repeat for every “problem” table. (For those of you that might think that you will have millions of tables that might not upsize, out of our +-1000 Access tables we had less than 10 “problem” tables.) Now that you have all the “problem” tables as Excel files, we are going to import them into [tag]MSSQL 2005[/tag] using Data Transformation Services. Right click on the Database in the object explorer of MSSQL 2005 that you are going to import the “problem” tables into and click Tasks > Import Data… and follow the prompts. That should solve any problems Access was having upsizing and exporting the different datatypes. Seems Access has problems with importing datetime fields, but going through Excel, everything seems to work just fine. As a tip, you might want to drop the “problem” tables in MSSQL 2005 that Access created before importing from Excel as those tables would be dataless. So there you have it. My first tutorial outside of the web. Want to check out my web tutorials? The Internet Series part1 and part2 are still there… |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual Studio .Net 2005 Launch is November 10th 2005 !! | collusion | IT Discussion Forum | 0 | 10-30-2005 12:55 AM |
| Daily SearchCast, Sept. 20, 2005: Google's Internet Access | WPW_Feedbot | Search Engine Optimization Forum | 0 | 09-20-2005 04:00 PM |
| help with a MSSQL correlated subquery for update query..? :/ | JayDrake | Database Discussion Forum | 0 | 04-10-2005 02:07 AM |
| Microsoft Delays Visual Studio 2005, SQL Server 2005 Yet Ag | WPW_Feedbot | IT Discussion Forum | 0 | 03-22-2005 03:30 PM |
| Copy MSSQL DB Between 2 servers | M0rtym0use | Database Discussion Forum | 4 | 06-25-2004 06:58 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |