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
jayakrishnan Morayur
NA
193
257.7k
Create script of trigger
Mar 10 2011 6:08 AM
i want generate script trigger as bellow
i want generate script trigger as bellow
IF
NOT
EXISTS
(
SELECT
*
FROM
sys.triggers
WHERE
object_id
=
OBJECT_ID
(
N
'[dbo].[TriStockadjustmentDelete]'
))
EXEC
CREATE TRIGGER [dbo].[Sample]
ON [dbo].[customerTable]
AFTER delete
AS
BEGIN
.......
END '
dbo
.
sp_executesql
@statement
=
N
'
Using c sharp code my code uploaded
Attachment:
scriptgenerate.zip
Reply
Answers (
2
)
Identity insert off
How to copy Data from One table to another database tabe using parameters