crismartins
MIS
Hello,
I have in my database, an object without owner.
The object in this case is a view, and I have different results:
- When I run the procedure sp_changeobjectowner, I receive the message:
sp_changeobjectowner 'VIEW1', 'dbo'
go
Server: Msg 15001, Level 16, State 1, Procedure sp_changeobjectowner,
Line 38
Object 'view1' does not exist or is not a valid object for this operation.
- select name,xtype,uid from sysobjects where name like 'view1'
view1 V 33
- SELECT * FROM INFORMATION_SCHEMA.VIEWS
where table_name = 'view1'
mydata NULL gsis_utilizacao
create view view1 as select nome,sum (consultas) as quantidade from consutasDia NONE NO
- So in my sysusers table I have no uid 33.
What I can do? I can't delete neither change the owner :-(
Thanks a lot
I have in my database, an object without owner.
The object in this case is a view, and I have different results:
- When I run the procedure sp_changeobjectowner, I receive the message:
sp_changeobjectowner 'VIEW1', 'dbo'
go
Server: Msg 15001, Level 16, State 1, Procedure sp_changeobjectowner,
Line 38
Object 'view1' does not exist or is not a valid object for this operation.
- select name,xtype,uid from sysobjects where name like 'view1'
view1 V 33
- SELECT * FROM INFORMATION_SCHEMA.VIEWS
where table_name = 'view1'
mydata NULL gsis_utilizacao
create view view1 as select nome,sum (consultas) as quantidade from consutasDia NONE NO
- So in my sysusers table I have no uid 33.
What I can do? I can't delete neither change the owner :-(
Thanks a lot