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
xml datatype not supported in reflection on MS SQL Server #3973
Comments
Michael Bayer (@zzzeek) wrote: hello - can you please supply the CREATE TABLE syntax for this table? Also, as far as the code you're running, I am reverse-engineering your error message that it is something like this:
These are details that should be included with bug reports otherwise I have to spend lots of extra effort guessing what is already in front of you, thanks! |
David Johansen (@daveisfera) wrote: Sorry, I assumed that this was a small/simple enough change that it didn't need the normal reproducer steps. I've attached a patch with the fix and here's the reproducer steps for completeness.
|
David Johansen (@daveisfera) wrote: Add |
Changes by David Johansen (@daveisfera):
|
Michael Bayer (@zzzeek) wrote: thanks! |
Michael Bayer (@zzzeek) wrote: ok |
Changes by Michael Bayer (@zzzeek):
|
Changes by Michael Bayer (@zzzeek):
|
Michael Bayer (@zzzeek) wrote: why would you want to reflect the "xml' datatype and then go around and emit CREATE TABLE using TEXT ? we would need to add "XML" as a type here which then implies round trip support too. |
David Johansen (@daveisfera) wrote: If there's a better solution, then I'm all for implementing that. I was just going for for "low risk/I know this will work" in the patch. |
Michael Bayer (@zzzeek) wrote: Add placeholder XML support Added a placeholder type :class: Change-Id: I651fa729bd8e9b31a0b5effe0839aff077d77c46 → b1369b4 |
Michael Bayer (@zzzeek) wrote: Add placeholder XML support Added a placeholder type :class: Change-Id: I651fa729bd8e9b31a0b5effe0839aff077d77c46 → b264ec0 |
Changes by Michael Bayer (@zzzeek):
|
Migrated issue, originally created by David Johansen (@daveisfera)
This error is output:
It appears that it should be mapped to
LONGVARCHAR
based on the documentation:https://docs.microsoft.com/en-us/sql/t-sql/xml/xml-transact-sql
https://documentation.progress.com/output/DataDirect/DataDirectCloud/index.html#page/queries/microsoft-sql-server-data-types.html
Attachments: mssql_xml.patch
The text was updated successfully, but these errors were encountered: