Solved

Reading Sybase Dump File without Sybase

Posted on 2004-09-29
5
762 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
Comment Utility
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
Comment Utility
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
Comment Utility
ChrisKing, I think you got it right the first time.
0
 
LVL 6

Expert Comment

by:ChrisKing
Comment Utility
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
Comment Utility
I agree, I think it may be a simple case of misunderstanding of what the DBA implied by a "dump". :)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to query constraints in Sybase 3 1,442
SyBase SQL Query 7 142
sql anywhere query 5 134
I need expert Sybase Sql help with a query 3 45
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
A procedure for exporting installed hotfix details of remote computers using powershell
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now