TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server Transact Basic to Expert - Query to refresh a View Definition as module
Karthikeyan Anbarasan
Jun 09, 2011
2.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Query to refresh a View Definition as module
This blog show how to query and refresh a view definition using the query analyer and its not only used for Views but also can be used for Stored procedures, functions etc
Syntax:
EXEC sys.sp_refreshsqlmodule @name = 'Schema.ViewName'
Example:
EXEC sys.sp_refreshsqlmodule @name = 'dbo.vemptable'
SQL Server Transact Basic to Expert - Query to refresh a View Definition as module
Next Recommended Reading
SQL Server Transact Basic to Expert - Select Query using basic Where condition