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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Trigger from 2005 to 2008 doesnt work

Author  Topic 

kwikwisi
Constraint Violating Yak Guru

283 Posts

Posted - 2011-03-06 : 22:23:08
I wrote a trigger in sql 2005 to query some records from another database server which is sql 2008. It doesnt work but it works when I run it manully in Query window.
Is it version issue ?

If exists
(
select colA
from [server].[db].[owner].[table]
where ...
)

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2011-03-07 : 08:23:57
What does the error message say?

- Lumbago
My blog-> http://thefirstsql.com/2011/02/07/regular-expressions-advanced-string-matching-and-new-split-function-sql-server-2008-r2/
Go to Top of Page
   

- Advertisement -