Viewing 15 posts - 16 through 30 (of 31 total)
Yup,
that was it. My table has way more that 8 fields. I followed the BOL which is evidently wrong.
Thanks for info, Jay. I thought that I was going crazy.
Again, thanks...
July 24, 2002 at 10:03 am
Nope,
That did not work either.
This is plain vanilla SQL installation. It should work just fine, what is wrong with it?
Jakub
July 23, 2002 at 9:30 am
I found out hot to enable nested triggers in BOL.
DUH 🙂
Should I have them enabled? I thought that triggers fire once per row, regardless how many rows are updated.
Jakub
July 10, 2002 at 8:06 am
Probably not.
how can I tell if I have them enabled?
Thanks,
Jakub
July 10, 2002 at 7:54 am
I got it now, slower wire here 🙂
Thanks.
It only works for the five day interval, if I wanted to build a generic function I would have to account for all...
June 27, 2002 at 6:33 pm
I am probably little dense, but 5,6,7,8 days?
I am not sure what do you mean.
What if the start day is friday and I need to add 2 days
i.e. DateAdd(day, 2,...
June 27, 2002 at 5:43 pm
Figured it out!
The note field in the trigger was null. SP did not like that.
It is firing now.
Thank you all for help 🙂
April 9, 2002 at 12:52 pm
The identity value is already available in the trigger. I send myself an email from the trigger (code below) and it has the right value. So no need for scope_identity()
I...
April 9, 2002 at 11:34 am
I tried that but it dosent work. The LogID is an identity column. Is it available as part of insert values or do I have to get it with 'SELECT...
April 9, 2002 at 8:01 am
Duh??? It runs fine today. I have no idea why. I run the Maint. Plan on the server over the Weekend, that's the only change.
Thanks for all your help 🙂
...
April 8, 2002 at 8:25 am
I fixed if. Just a conversion:
SELECT @Note_10 = @Note_10 + CAST(WONo AS varchar(15)) + ', ' FROM PELDMS.dbo.ImportLog1 WHERE Profile = @Profile_3
BUT still no update
Debugger stops on the UPDATE...
April 5, 2002 at 1:54 pm
Antares686,
I tried your slick code but it fails on the SELECT statement with:
Server: Msg 245, Level 16, State 1, Procedure sProfLogActiveSDGs, Line 13
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the...
April 5, 2002 at 1:47 pm
quote:
This will give you the exact same output-----------------------------------------------------
SET @Note_10 = @Note_10 + '----'
SELECT @Note_10 = @Note_10 + WONo + ', '...
April 5, 2002 at 1:27 pm
quote:
Why you are using 'EXEC (@SQLs)', why can't you update directly with your Update statement?Are you sure that your LogID is...
April 5, 2002 at 1:24 pm
Viewing 15 posts - 16 through 30 (of 31 total)