Click here to Skip to main content
15,885,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I ma trying to create the view in sqlserver.
SQL
Create view v_test
as
select * from Test


When I run ,its throwing the error like Msg 15135, Level 16, State 8, Procedure sp_addextendedproperty, Line 37
Object is invalid. Extended properties are not permitted on 'dbo.v_test', or the object does not exist.
The statement has been terminated.


Can anyoone help me?
Posted
Comments
Mike Meinz 24-Jan-13 13:15pm    
There is no Line 37 in the code that you provided in your question. You're not showing us everything we need to solve this problem. I tried the exact syntax above on my SQL Server and it works fine.
Tharaka MTR 24-Jan-13 22:01pm    
Yes, please share your complete sql

1 solution

There are 2 possibilities for your problem

1. you may not have rights to create view

2. table may not be there in your table

Note: Your syntax is 100% correct.so verify the above 2 steps mention by me.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900