December 11, 2012 at 4:55 pm
Hi, I have encountered an unusual issue where the option to 'Script View as' is missing, however the option to script out other objects exists.
I am aware of the work around (found here :-)) where I can right-click on the DB and select Tasks -> Generate Scripts, but I would like to know why the 'Script View as' option is missing.
Thanks,
December 11, 2012 at 5:37 pm
tom.moore.777 89426 (12/11/2012)
Hi, I have encountered an unusual issue where the option to 'Script View as' is missing, however the option to script out other objects exists.I am aware of the work around (found here :-)) where I can right-click on the DB and select Tasks -> Generate Scripts, but I would like to know why the 'Script View as' option is missing.
Thanks,
Are you talking about when you right click on a view in Object Explorer in SSMS?
December 11, 2012 at 5:40 pm
Yes that's correct Lynn, when I right click on a view in Object Explorer in SSMS?
December 11, 2012 at 5:40 pm
December 11, 2012 at 5:46 pm
What permissions does the user of the database you are using have?
December 11, 2012 at 5:52 pm
It's not a System View, and yes I agree you should be able to 'Script View as' on user defined views, but the option is missing.
December 11, 2012 at 5:55 pm
The user has the same permissions as other users who are able to see 'Script View as'.
They can even script out other objects (Tables, Functions, Stored Procs etc), however the option is missing for Views 🙁
December 11, 2012 at 6:01 pm
tom.moore.777 89426 (12/11/2012)
The user has the same permissions as other users who are able to see 'Script View as'.They can even script out other objects (Tables, Functions, Stored Procs etc), however the option is missing for Views 🙁
Check the permissions. It really sounds like this user doesn't rights to VIEW DEFINITION.
December 11, 2012 at 6:07 pm
December 11, 2012 at 6:33 pm
Lynn Pettis (12/11/2012)
tom.moore.777 89426 (12/11/2012)
The user has the same permissions as other users who are able to see 'Script View as'.They can even script out other objects (Tables, Functions, Stored Procs etc), however the option is missing for Views 🙁
Check the permissions. It really sounds like this user doesn't rights to VIEW DEFINITION.
I have granted VIEW ANY DEFINITION TO <User>, but no change....
Thanks for trying though, I think I settle for the workaround, Right-Click DB -> tasks -> Generate Scripts
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply