Solved

Transfer of data from Access to Sybase

Posted on 2000-03-08
6
247 Views
Last Modified: 2008-03-10
I just wanted a summary of the steps involved in transferring data from an access database to sybase database. Are there certain issues that one has to be aware of? I am looking for problems, or concern that may arise from this conversion. Thank you,
Hasan
0
Comment
Question by:Hasan030800
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 

Expert Comment

by:samphi
ID: 2597170
Humm, I'm not sure that:

The field "Memo" on Ms.Access don't function with Sybase.
Convert field Memo to Text before convert your table to Sybase.

Phil.
0
 
LVL 9

Expert Comment

by:david_levine
ID: 2598592
Do you need to just do this once or is this an ongoing need?

You can export the table data in Access to a tab delimited flat-file (column separator = Tab and Sting Deliminter = {None}.

The use the Sybase BCP program to load the data.

If this solution sounds viable I can give specifics on each step if you need assistance.

David
0
 

Author Comment

by:Hasan030800
ID: 2600391
Adjusted points to 100
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 

Author Comment

by:Hasan030800
ID: 2600392
David,
Thank you very much for your response. It is a one time thing and I would greatly sppreciate if you could give me some specifics on the steps. Thank you
0
 
LVL 9

Accepted Solution

by:
david_levine earned 100 total points
ID: 2600604
In Access, open the table you want to get into Sybase and click on File / Export. In the window that opens select the location and the name of the exported file and select Text Files in the Save As Type list and then click Save All. Another window will open. Verify that Delimited is checked at the top and click Next. Change the delimiter to Tab and the Text Qualifier to {None}. Click next, verify the location of the file and click the Finish button. You now have a tab-separated file.

In Sybase, create an exact copy of the Access table but use the appropriate Sybase datatypes. Once the table is created, from a DOS command prompt, type something like the following:

bcp db_name..table_name in x:\subdir\flat_file.tab -c -Uuserid -Ppassword -Sserver_name

where db_name is your Sybase database, table_name is the table you created to load the data into, x:\subdir\flat_file.tab is the path and file-name of the exported Access flat file, userid & password are your Sybase id & password and server_name is the Sybase server you are connecting to.

Let me know if you run into any snags.

David
0
 

Author Comment

by:Hasan030800
ID: 2600621
Thank you. I will letb you know if there is a problem (which I do not anticipate).
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Multi-threading long-running processes can have a significant increase in overall performance and drastically decrease over time it takes for a process to complete. Unfortunately, not all applications support native multi-threading, some by design a…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question