8000 fisql: throws "Requested data conversion does not exist" for sql_variant columns · Issue #484 · FreeTDS/freetds · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fisql: throws "Requested data conversion does not exist" for sql_variant columns #484

New issue

Have a q 807B uestion 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

Open
jnahmias opened this issue Mar 2, 2023 · 0 comments

Comments

@jnahmias
Copy link
jnahmias commented Mar 2, 2023

Using freetds 1.3.17+ds-2 on Debian GNU/Linux connected to MS SQL Server 2016.
Some test cases:

$ fisql -S $DB_HOSTNAME -U $DB_USERNAME -P $DB_PASSWORD
Changed database context to 'tempdb'.
Changed language setting to us_english.
1>> SELECT CONNECTIONPROPERTY('net_transport') AS protocol;
2>> GO
protocol
--------
DB-LIBRARY error:
        Requested data conversion does not exist
Operating-system error:
        Success
--------

(1 rows affected)
$ fisql -S $DB_HOSTNAME -U $DB_USERNAME -P $DB_PASSWORD
Changed database context to 'tempdb'.
Changed language setting to us_english.
1>> SELECT CAST( 'hello' AS sql_variant ) AS test2;
2>> GO
test2
-----
DB-LIBRARY error:
        Requested data conversion does not exist
Operating-system error:
        Success
-----

(1 rows affected)
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

1 participant
0