Viewing 3 posts - 1 through 3 (of 3 total)
Thanks for your replies guys, however, I am having problems getting triggers and SP's to work even when there IS a connection. The following senario seems to get the system...
April 6, 2005 at 3:44 am
#550723
Sussed it..
DECLARE @TableName varchar(256)
SELECT @TableName=s2.[name]
FROM sysobjects s
INNER JOIN sysobjects s2 ON s2.id=s.parent_obj
WHERE s.id=@@PROCID AND s.type='tr' AND s.name='[[name of trigger]]'
April 1, 2005 at 3:52 am
#550036
Has anybody got any further ideas on this? its something I am trying to do as well, but with little success.
April 1, 2005 at 3:27 am
#550035