Unable to import Sybase ASE native data file using bcp

ssalun 26 Reputation points
2020-08-21T15:09:39.523+00:00

Hi,

I have a requirement to import native BCP file from Sybase ASE to SQL Server.
Can anyone please advise on this?

Thanks.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,850 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Erland Sommarskog 102.1K Reputation points MVP
    2020-08-21T21:59:59.7+00:00

    Didn't you ask a related question the other day, and didn't I tell you to use character format?

    I don't know about what the native format from Sybase looks like these days, but you would need to have quite bit of luck if you could import them directly with the BCP from SQL Server.

    If you insist on using native files, you will have to write your own program. That is, you will have to find out what the native format from Sybase looks like. If you need help with that, you need a Sybase forum.

    Well, who knows, maybe someone has written that program, but I am not going to Google that for you. My recommendation is that you use character files.

    1 person found this answer helpful.
    0 comments No comments

  2. m 4,271 Reputation points
    2020-08-24T08:21:56.503+00:00

    Hi @SwapnilSalunke-4731

    I have a requirement to import native BCP file from Sybase ASE to SQL Server.Can anyone please advise on this?

    Check this whether is helpful: https://www.red-gate.com/simple-talk/sql/database-administration/working-with-the-bcp-command-line-utility/, http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc30191.1600/doc/html/san1367605061117.html
    You can also reference @Erland Sommarskog ’s reply or try to search in google for more replies of similar issues.

    BR,
    Mia
    If the reply is helped, please do “Accept Answer” .

    0 comments No comments

  3. m 4,271 Reputation points
    2020-08-25T01:19:54.93+00:00

    Hi @SwapnilSalunke-4731,

    Is the reply helpful?

    BR,
    Mia
    If the reply is helped,please do "Accept Answer".--Mia

    0 comments No comments

  4. m 4,271 Reputation points
    2020-08-26T01:23:31.433+00:00

    Hi @SwapnilSalunke-4731,

    Is the reply helpful?

    BR,
    Mia
    If the reply is helped,please do "Accept Answer".--Mia

    0 comments No comments

  5. m 4,271 Reputation points
    2020-08-28T01:32:01.563+00:00

    Hi @SwapnilSalunke-4731,

    Is the reply helpful?

    BR,
    Mia
    If the reply is helped,please do "Accept Answer".--Mia

    0 comments No comments