Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handling of hierachyid datatype #708

Open
alanrenmsft opened this issue Oct 10, 2018 · 2 comments
Open

handling of hierachyid datatype #708

alanrenmsft opened this issue Oct 10, 2018 · 2 comments

Comments

@alanrenmsft
Copy link
Contributor

we are handling it as byte[] data type and as a result, when using Edit Data for a table with this type of columns in Azure Data Studio, we will get an error indicating cannot convert string to byte[].

this issue is found while editing the OrganizationNode column of HumanResources.Employee table in adventureWorks database.

BTW, SSMS handles this data type properly.

@benrr101
Copy link
Contributor

For the record, this was a feature that I didn't really understand at the time so I left it to be worked on later. Though I thought the logic for converting 0x* strings to byte[] was working correctly

@alanrenmsft
Copy link
Contributor Author

@benrr101 Thanks Ben for the context. I will send a PR shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants