Informatics People - SharePoint developer
Pages
(Move to ...)
Home
Photos
Sharepoint-Interview Question And Answer
36 steps to success as technical lead
▼
Tuesday, June 29, 2010
creating trigger in sql server 2005
creating trigger in sql server 2005 for an insert into a table after an insert to another table
Hope this will help you.......
Create TRIGGER
on
after insert
as
begin
set nocount on
DECLARE @empid=SELECT empid FROM inserted
insert into secondtableName(field1,field2,field3)
values (@empid, 'Not Set', 'Not Set')
end
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment