TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Create Insert Trigger
Vithal Wadje
Oct 30
2014
Code
913
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Create trigger emp on YorTableName
for
insert
as
begin
Declare @InsertparamName varchar(20)
//storing inserted value into varriable
select @InsertparamName =i.Namefrom inserted i;
//inserting above first table records into second table
insert into secondTable(City)values(@InsertparamName )
End
insert trigger
trigger
sql