sql server - Sql dacpacs exporting data -
from understanding when extracting sql database dacpac includes data structure views/procs etc no data. bacpac includes structure , data cannot upgraded.
i read dacpacs can include data cannot find anywhere shows how that. possible?
yes, possible! easy way include data in dacpac use sql server database project
in visual studio:
add data post-deployment script (
insert
command etc.).build project - gaves dacpac file.
go sql server management studio.
execute
databases -> deploy data-tier application
command:
now have new database data single dacpac file!
Comments
Post a Comment