Viewing 8 posts - 16 through 23 (of 23 total)
Ok ok fine. but im not getting the value for the following query
set sqlqry = 'select' + @oc +'from inserted'
exec(sqlqry)
September 6, 2010 at 11:14 pm
yA MY DEAR FRND I KNOW THAT 🙂 🙂 bUT I COMMENTED THOSE LINES. sRY FOR POSTING INCLUDING MY COMMENTED LINES
September 6, 2010 at 10:58 pm
Thanks for the link, but i need to do the operation using QUERIES
August 27, 2010 at 1:09 am
select B.Name as TableName,A.name as TriggerName
from sysobjects A,sysobjects B
where A.xtype='TR'
AND A.parent_obj = B.id
Make use of the abocve query and check for other triggers that are involved in the table.
August 26, 2010 at 3:27 am
SELECT EMPNAME,
AMOUNT,
RECIVEDDATE
FROM Table_Name A
WHERE RECIVEDDATE = (SELECT MAX(Reciveddate) FROM Table_Name B WHERE A.RecivedDate = B.RecivedDate)
Plz let me knw, whther this query solved your...
August 25, 2010 at 11:37 pm
ALTER TRIGGER INSERTTRIGGER ON dbo.opportunitybase
AFTER INSERT
AS
BEGIN
DECLARE @Operation int
DECLARE @opp_Name varchar(100)
DECLARE @EstiCloseValue varchar(100)
DECLARE @Opp_id uniqueidentifier
SET @opp_Name = (SELECT NAME FROM INSERTED)
SET @EstiCloseValue = (SELECT ModifiedOn FROM INSERTED)
SET @Opp_id = (SELECT...
August 25, 2010 at 11:22 pm
Hi ,
I too faced the similar problems and i came up with a solution. But before telling that, i would like 2 ask the following questions,
1. Did you...
August 25, 2010 at 10:49 pm
Can you send me the sample datas. And also please send me the script for creating the tables with sample data's.
August 25, 2010 at 10:40 pm
Viewing 8 posts - 16 through 23 (of 23 total)