Home Forums SQL Server 2005 SQL Server 2005 General Discussion How can I Select a View's Creation SQLfrom Information_Schema? RE: How can I Select a View's Creation SQLfrom Information_Schema?
John Mitchell-245523
SSC Guru
Points: 148809
More actions
April 18, 2008 at 4:26 am
#804206
sp_helptext should give you what you're looking for. But you may have to grant your user higher permissions than it already has - check out the Permissions section of the sp_helptext topic in Books Online.
John