Reading Sybase Dump File without Sybase

Posted on 2004-09-29
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.
Question by:scottseitz
  • 3
  • 2

Accepted Solution

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.

Expert Comment

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
LVL 29

Expert Comment

ID: 12181148
ChrisKing, I think you got it right the first time.

Expert Comment

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

Expert Comment

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

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

Suggested Solutions

Title # Comments Views Activity
SQL Sybase - Convert Rows to Columns 10 544
Return results from Sybase DB Query with Powershell 7 1,741
sybase T-sql different 2 123
remote logins for proxy table in sybase 5 61
Facebook has became the #1 social media platform. People share many funny videos there, yet you don't know how to download them? Now you can download Videos from Facebook in just 3 simple steps.
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…

730 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