Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
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
13y
2.9
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
Up Next
SQL Server Transact Basic to Expert - Create basic View with Encryption
Ebook Download
View all
Functions in SQL Server: Practical Guide
Read by 9k people
Download Now!
Learn
View all
Membership not found