SQL 2000
Hi All,
I have created a view as follows:
Then I run:
My question is, that if the vehicle type in the original vehicle_type table is amended or changed etc, then when I run the second code, the changes are not reflected. How do get it to 'refresh'?
If I drop and re-create the view then the changes are there, but this seems pointless as why have a view in the first place?
Many thanks.
Michael
Hi All,
I have created a view as follows:
Code:
Create View Cars
as
select *
from vehicles
where vehicle_type = '1'
Then I run:
Code:
select *
from cars
My question is, that if the vehicle type in the original vehicle_type table is amended or changed etc, then when I run the second code, the changes are not reflected. How do get it to 'refresh'?
If I drop and re-create the view then the changes are there, but this seems pointless as why have a view in the first place?
Many thanks.
Michael