cancel
Showing results for 
Search instead for 
Did you mean: 

Reading registry from sql

Former Member
2,425

Hello All,

  1. Is it possible to read registry from sql query ? If Yes then please give sample query
  2. Is it possible to find path of running DataBase file(.db files)?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

graeme_perrow
Advisor
Advisor
  1. Possible but not simple. You'd have to do it in another language (python, perl, C, etc.) and then create a procedure that references it. You didn't say which version of SQL Anywhere you're using, but here is the syntax for creating such a procedure in v12.0.1.

  2. select db_property('file')

Former Member
0 Kudos

Thank you very much !.I am using SQL 11 But any way I think 2nd solution is enough for me.

Answers (0)