C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Server Transact Basic to Expert - Query to refresh a View Definition as module
WhatsApp
Karthikeyan Anbarasan
14y
3
k
0
0
25
Blog
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
People also reading
Membership not found