In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Database Binary Primary Key how to retain full length with out SQL CONVERT Function

kosie-snyman
7 - Meteor

Good day

 

I am not getting the correct results when importing Data from a database that use Binary field type as a primary key.

 

kosiesnyman_0-1659495136511.png

 

Server Collation = Latin1_General_CI_AS

 

Using Alteryx Connect In-DB to extract data for the Field of which StatsdbbN.oid field is the Primary Key set as Binary (6) in SQL with Server Collation = Latin1_General_CI_AS.

kosiesnyman_1-1659495136880.png

 

 

I get the following results

kosiesnyman_4-1659495190212.png

 

 

The Primary Key should be 14 characters long, as displayed in the SSMS query below

 

kosiesnyman_5-1659495216181.png

 

 

 

I can resolve the issue using File Input and then CONVERT the Binary field to VARCHAR 14, but would like to not do that. Any advice on how to resolve will be appreciated.

1 REPLY 1
Nay376
5 - Atom

Hi Kosi-Snyman, did you ever resolve this? I have the same issue and was hoping you could help advise a resolution

Labels
Top Solution Authors