Re: View to drop or not?
From: Armando (blba2k_at_nospamyahoo.com)
Date: 03/04/04
- Next message: Heather Homeniuk: "SYSFOREIGNKEYS - need more info"
- Previous message: Karl Gram: "RE: T-SQL @@Identity"
- In reply to: Shaleen Chugh: "View to drop or not?"
- Next in thread: Rohtash Kapoor: "Re: View to drop or not?"
- Reply: Rohtash Kapoor: "Re: View to drop or not?"
- Reply: Louis Davidson: "Re: View to drop or not?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 4 Mar 2004 11:02:39 -0500
Views are dynamic and the data gets pulled together as needed.
If you're using a SELECT * on the table, the column will show up. If you're
SELECTing individual columns, then you'll need to ALTER the view in
order to make the column appear. I recommend ALTERing over
DROP and CREATE so you don't have to re-apply any permissions.
"Shaleen Chugh" <shaleen.chugh@the-web-works-co.uk> wrote in message
news:eAr1SDgAEHA.2292@TK2MSFTNGP12.phx.gbl...
> I have a view in SQL Server 2000 which uses 10 table joins.I have modified
> one table by adding a column to it.Does the view get refreshed on its own
or
> do I have to drop and recreate it?
> Its a simple view with no options used.
> Pls let me know.
>
> Thanks and Regards,
>
> Shaleen
>
>
- Next message: Heather Homeniuk: "SYSFOREIGNKEYS - need more info"
- Previous message: Karl Gram: "RE: T-SQL @@Identity"
- In reply to: Shaleen Chugh: "View to drop or not?"
- Next in thread: Rohtash Kapoor: "Re: View to drop or not?"
- Reply: Rohtash Kapoor: "Re: View to drop or not?"
- Reply: Louis Davidson: "Re: View to drop or not?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|