Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This error occurs if object type that is specified in the file name extension does not match the type of the object that is defined in the .sql file.
To correct this error
- Rename the file in Solution Explorer so that the extension matches the contents of the file.
Example
This error appears if you have a file that is named dbo.T1.view.sql and that contains the following example Transact-SQL (T-SQL):
CREATE TABLE T1(c1 int);