sql server - To Get Trigger script source from VB6? -
i want trigger script source vb6. database using sql server2000. have trigger in table. want trigger script @ run time vb6. possible? if yes please can me. advance in thanks
you can triggers on table (or view) this
select name sysobjects parent_obj = object_id('mytablename') , xtype = 'tr'
than can source t-sql of trigger (or stored procedure) using this
exec sp_helptext 'mytriggername'
Comments
Post a Comment