Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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