From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I manipulate the ODBC settings through SQL ?

What Im trying to do:
-Define a Database in ODBC through SQL.
-Delete a Database in ODBC through SQL.(Just the connection of course).

Is there an example somewhere ? link ?

Thanks a lot, David.
0 Kudos
Message 1 of 2
(2,619 Views)
No you can't because ODBC is not a functionnality of SQL. You can use the ODBC api to do what you want.
Another way is to connect to a database without DSN. You have to pass the parameter in the connection string.
Message 2 of 2
(2,619 Views)