Zeal Posted June 13, 2020 Share Posted June 13, 2020 I have a database and i am able to read write the data in tables of database. Now i want all tables name in DAQFactory. so, how to get table name in String Channel using sql query? Following query i try but not work qr = db.Query(dbase,"SELECT name FROM sys.Tables") Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted June 15, 2020 Share Posted June 15, 2020 That is going to depend on the database you are using, not DAQFactory. Test your select statement in your databases user interface / command line tool first to make sure it works, then try it in DAQFactory. Also, I recommend using db.queryToClass() instead of db.Query(). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.