Solved

Reading Sybase Dump File without Sybase

Posted on 2004-09-29
5
799 Views
Last Modified: 2012-08-14
My problem: I'm an ETL devloper and one of my new data sources is a Sybase database.  I don't have a Sybase server and I can't get query access against the production server.  The plan is to send a copy of the Sybase backup/dump file to me each night.  

I'm not at all familiar with the backup/dump format (or for that matter Sybase).  Will I be able to parse this file with Perl or some other tool to pull all of the data back or will the file only be valuable if I can first load it to a Sybase server and then extract what I need?

Any comments or suggestions would be appreciated.

Thank you.
0
Comment
Question by:scottseitz
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
ChrisKing earned 50 total points
ID: 12178620
tell them that you don't want a dump of the database, you want a BCP extract.

BCP can be formatted with any field delimiter and any row delimiter that you want. eg a comma/newline combination would give you as BASIC csv format, but it will not quote string containing commas, so choose your delimiter carefully.
0
 
LVL 6

Expert Comment

by:ChrisKing
ID: 12178635
hang 5... I am reading you request too literally
what they are suggesting is that they want you to restore that DUMP to a local sybase server and do your stuff from there
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 12181148
ChrisKing, I think you got it right the first time.
0
 
LVL 6

Expert Comment

by:ChrisKing
ID: 12181207
leonstryker, that is just TOO SCARY to think that DBA would ask someone to decode a dump file   :)
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 12181631
I agree, I think it may be a simple case of misunderstanding of what the DBA implied by a "dump". :)
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This problem is more common than not and I will show you some things to check to solve this problem.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

825 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