Posted by Martijn Tonies on 03/01/06 18:30
Hi,
> I am new to using SQL. I want to be able to exucute a query that I
> place in a view.
You don't execute queries inside views. You just get to use the
view as if it were a table.
Why would you want to "execute the query"?
--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
>I want this views to be executed every time a value
> change in one of the table in a particular field. So my guess was to
> use a trigger that will call the views every time the data change in
> the selected table. Is this the proper way of doing thing? Should I
> use other SQL tools to achive this. I search for exemple of trigger
> executing views but did not found anything as of yet. Let's use this
> dummy name for the exemple:
>
> Database: DB1
> Table: Tbl1
> Special field in Tbl1: flag
> Views name: views_01
[Back to original message]
|