Link to home
Start Free TrialLog in
Avatar of VBSMerlin
VBSMerlin

asked on

Creating SQL Trigger via Code

Does anyone know how to manage trigger via code, I'm more interested in being able to delete and create triggers from within my application (VB.Net).

VBSMerlin
Avatar of RacinRan
RacinRan

If it's SQL Server ... send the database drop trigger and create trigger statements.

Racin


Avatar of VBSMerlin

ASKER

but how would i send that from code just as a regular sql command??? or is there something in the framework that can take care of that?

VBS
Should be able to just send as a regular sql command.
RacinRan,  I will leave this open for about 2 hours to see if i get any other comment otherwise the points are yours

VBSMerlin
ASKER CERTIFIED SOLUTION
Avatar of natloz
natloz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial