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.

asked 14 Aug '13, 08:53

CrystalB's gravatar image

CrystalB
1065511
accept rate: 0%

edited 14 Aug '13, 10:02

Graeme%20Perrow's gravatar image

Graeme Perrow
8.7k374112


  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')

permanent link

answered 14 Aug '13, 10:05

Graeme%20Perrow's gravatar image

Graeme Perrow
8.7k374112
accept rate: 51%

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

(16 Aug '13, 04:48) CrystalB
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×44

question asked: 14 Aug '13, 08:53

question was seen: 779 times

last updated: 16 Aug '13, 04:48