SSMA for Sybase truncating image data type to 32768

Tahir Khalil 61 Reputation points
2024-10-22T21:05:20.3966667+00:00

Hi,

I am using SSMA for Sybase to migrate Sybase ASE 16 database to MS SQL Server 2022 on Linux.

A table with image type column is migrated but the data in this column limited to 32768. I believe if this data migration program is using bcp - it might be the limitation of that, but I am not sure.

Can someone help in this? I try to figure out the setting, but could not find anything related to image data type.

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.
14,223 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
542 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. LiHongMSFT-4306 29,516 Reputation points
    2024-10-23T03:19:46.8333333+00:00

    Hi @Tahir Khalil

    How about change the column type to VARBINARY(MAX):

    CAST(ColumnName AS VARBINARY(MAX))
    

    Best regards,

    Cosmog


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

  2. Pieter Coene 0 Reputation points
    2024-12-16T13:03:21.09+00:00

    Same issue here, did you find a solution for this problem?

    Greetz
    Pieter


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.