Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to move triggers into their own file in an SSDT project?

I have a Visual Studio database project or SSDT of my companies database.

I have folders for Tables, Views, Stored Procedures etc and I was wondering if it is possible to have a folder for Triggers.

Currently Triggers are stored in the same file as the table definition and I would like to separate them out if possible.

like image 230
Simon Foster Avatar asked Oct 19 '22 09:10

Simon Foster


1 Answers

Yes, it is possible to put triggers in separate files. There is no automatic way to do this though so you will have to create these separate files manually.

like image 171
Keith Avatar answered Nov 15 '22 07:11

Keith