Viewing 4 posts - 1 through 4 (of 4 total)
Agreed...for SQL 7 and 2000, the second way is better and faster. What about 6.5, any idea?? Haaha...
September 6, 2004 at 1:32 am
Sorry.... your insert is not enough values
the getdate do not return any value ...are you using 6.5? the solution applied to SQL7 or 2000
try add @ed datetime
Declare @RecordNo Int, @UserName Varchar...
September 6, 2004 at 1:13 am
SIMPLE Trigger to DELETE and add the deleted to the different tables two or more
Create trigger trgDeltblA
On tblA
For Delete
As
Declare @UserName Varchar(500), @Title Varchar(50),
@ID int
Select @UserName =User,@ID = BiodataID From Deleted
Begin
insert into...
September 5, 2004 at 11:21 pm
Thanks to all of you guys... your info(s) make me happy. Now i get the idea to move from 6.5 to 7 or 2000.
But still sad bcoz i have to...
September 5, 2004 at 10:23 pm
Viewing 4 posts - 1 through 4 (of 4 total)