Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Trigger View
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

petek
Posting Yak Master

United Kingdom
192 Posts

Posted - 01/20/2009 :  07:08:07  Show Profile  Reply with Quote
Hi all,

I am trying to create a trigger in a view but am getting the following error:

Msg 8197, Level 16, State 6, Procedure Incident_Alert, Line 1
The object 'DB1.dbo.incidents' does not exist or is invalid for this operation.

I know the object exists and i have access to it.

any ideas

Kind Regards

Pete.

ra.shinde
Posting Yak Master

India
103 Posts

Posted - 01/20/2009 :  07:11:29  Show Profile  Reply with Quote
in a view or on a view?

Rahul Shinde
Go to Top of Page

ra.shinde
Posting Yak Master

India
103 Posts

Posted - 01/20/2009 :  07:13:00  Show Profile  Reply with Quote
in a view or on a view?

Rahul Shinde
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 01/20/2009 :  08:39:44  Show Profile  Reply with Quote
are you sure you're connected to right server?also check if incidents exists in dbo schema.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000