In this video we will learn how to refresh the definition of a view. When you use Select * in the view definition and columns will be added to base table/s later, the view will present the columns those were available at point of view creation. It will not include newly columns even you are using "*" in your query.
To include those columns in the view, we need to refresh the view definition after adding column/s to table/s. Below script can be used to learn step by step how this works and finally refresh the view by using sp_refreshview stored procedure.
link for blog with scripts used in the video
http://sqlage.blogspot.com/2015/02/re...
Sur cette page du site, vous pouvez voir la vidéo en ligne Refresh View Definition in SQL Server - SQL Server Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur TechBrothersIT 21 février 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,470 fois et il a aimé 36 téléspectateurs. Bon visionnage!