Lazarus
Programming => Databases => Topic started by: talorigomat on October 27, 2015, 06:42:09 pm
-
I have created a simple view in Firebird. I have tried using the following statement in a TSQLQuery
"Select * from my_view"
and I get the following message: "Table Unknown my_view".
What is the correct statament to use to get data displayed from a view?
-
It is correct statement :)
So problem must be somewhere else.
-
Try to browse from view(my_view) with some usual tools(Flamerobin etc.).Correct result?
p.c. Check connection and your settings(TSQLquery) and then run query
-
Thanks for the help. Realised the problem was I had set TIBConnection component to the wrong version of the database :)