PC Review


Reply
Thread Tools Rate Thread

Create SQL2005 trigger from C# form

 
 
sandi@e-axioma.com
Guest
Posts: n/a
 
      13th Jun 2006
Please Advice...

I need to create SqlServer2005 trigger from C# form. so all my trigger
can re-create if i push one button on my app.... i need to know how i
create and delete trigger from c# form and how to check if the trigger
already exist

regards

Sandi Antono

 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      13th Jun 2006
Hi,


You can do it by using DM-SQL , do this. go to the interprise manager of
SQL and select the DB you want, right click, all taks, generate sql script,
select generate drop & create and also the one for triggers.

you will get a script that will recreate your DB, you can check the script
and see how he does it, it's very interesting if you have never done it.


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Please Advice...
>
> I need to create SqlServer2005 trigger from C# form. so all my trigger
> can re-create if i push one button on my app.... i need to know how i
> create and delete trigger from c# form and how to check if the trigger
> already exist
>
> regards
>
> Sandi Antono
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Closing Access While Form Is In Print Preview Does Not Trigger Form Unload Event Stewart Berman Microsoft Access Form Coding 3 7th Jun 2010 03:15 AM
how do i create a trigger in access MDB? =?Utf-8?B?SlItTURC?= Microsoft Access 1 5th Feb 2007 11:06 PM
Create email trigger =?Utf-8?B?UHJveHlQcg==?= Microsoft Access Database Table Design 1 5th Sep 2005 03:43 PM
CLR create trigger simon Microsoft C# .NET 2 25th Oct 2004 03:06 PM
Create Oracle Trigger through C# Web service Yogesh Microsoft ASP .NET 0 6th Dec 2003 04:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:27 PM.