SQL Server Forums
Profile | Register | 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
 New Topic  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
52325 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000