August 1, 2005 at 3:20 am
Hello everybody, I want to create a view with the option 'schema binding'.What is the problem in my statement
create view checks with schemabinding as select sno from test,
I receive an error msg as,
Cannot schema bind view 'checks' because name 'test' is invalid for schema binding. Names must be in two-part format and an object cannot reference itself.
August 1, 2005 at 4:26 am
You need to qualify the object with it's owner name.
create view dbo.checks with schemabinding as select sno from dbo.test
Should do it
August 8, 2005 at 3:01 am
Thanq mike, now only i saw ur reply n thans once again
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy