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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sabari T
NA
19
9.7k
INSERT QUERY of TRIGGER?..
Sep 14 2012 8:02 AM
how to give a variable name of trigger as table name in INSERT QUERY of TRIGGER?..
create trigger tg on TABLE_NAME
Declare @var;
select @var=i.tg from inserted i;
insert into '+@var+' values('xzxcvdf','dvfdf');
go
i Got a error on this.....Anyone can help me
Reply
Answers (
1
)
Sql server 2005 stored procedure varchar is not supporting
How To create Table and How to mearge in multiple table with where clause.