Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build action for sql script files in database projects (*.sqlproj)

For a sql script file in a database project, is there anything to be gained by using a Build Action of Build or Compile? I usually just use None, but wonder if Build or Compile do anything for a sql script e.g. perhaps some sort of additional syntax checking?

(We use our own custom deployment for scripts, so deployment options are not required.)

like image 983
Moe Sisko Avatar asked Aug 01 '26 10:08

Moe Sisko


1 Answers

When performing a schema compare, only .sql files with their build action set to Build are included.

like image 84
Aaroninus Avatar answered Aug 04 '26 19:08

Aaroninus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!