|
-
Jan 8th, 2009, 11:21 AM
#1
Thread Starter
Lively Member
How to enable/disable Triiger in SQL2005 Using C# code
Hi guys
Any idea on how can I enable/disable Triiger in SQL2005 Using C# code?
Thanks any help will be well appreciated.
-
Jan 8th, 2009, 11:29 AM
#2
Re: How to enable/disable Triiger in SQL2005 Using C# code
You use SQL command then pass to the DB using a connection and command oject. Use ExecuteNonQuery
DISABLE TRIGGER Schema.TriggerName ON Schema.TableName;
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jan 8th, 2009, 03:25 PM
#3
Re: How to enable/disable Triiger in SQL2005 Using C# code
-
Jan 8th, 2009, 03:27 PM
#4
Re: How to enable/disable Triiger in SQL2005 Using C# code
-
Jan 8th, 2009, 05:40 PM
#5
Thread Starter
Lively Member
Re: How to enable/disable Triiger in SQL2005 Using C# code
yup thanks i already figured it out...but anyways thanks for the reply
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|