skip to main
|
skip to sidebar
For beginners
Monday, January 12
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
▼
2009
(24)
▼
January
(24)
Error: Request for the permission of type ' ' fail...
Webpart option in Visual Studio 2008
Custom Webpart in SharePoint
Metastorm BPM™ Architecture
SharePoint Web Services
Web services in a SharePoint Site
Adding Validation to a Custom List Control in Shar...
Lambda Expressions in C# 3.0
Delegates in .Net
Creating Custom User Groups in SharePoint
Introduction to Geneva Framework
creating trigger in sql server 2005 for an insert ...
Error: Select scope_identity() function
How to get current time and date in SQL Server 2005
Visual Studio 2008 won't debug Web Applications or...
Using Stored Procedure in NHibernate 2.0
Error: No persister for ' '
Could not find the dialect in the configuration
NHibernate 1.2 to 2.0 Breaking Changes
Could not find the dialect in the configuration
Pros and Cons of site definitions over custom temp...
Custom site definition of collaboration portal Tem...
Overview of Custom Templates
Creating a Site Definition from an Existing Site D...
►
2008
(20)
►
December
(20)
About Me
Gisha Kuriakose
Passionate to gain knowledge.........
View my complete profile
No comments:
Post a Comment