visual studio - Database project deployment -
i have database project in visual studio 2010. has tables views stored procedures etc. have created full text index on view , in stored procedure using this:
create proc myproc select * view contains(tblperson.fname,'steve') end
when deploy, error can't use contains view not full text indexed. want know if there sequence in database project deployed ? means first stored proc deployed or views deployed. can change sequence.
please suggest.
the visual studio database projects great! have migrated db_deploy integrated svn tfs visual studio database projects. database projects work creating self contained db schema file , when use vsdbcmd command deployment, schema comparison between project schema , database schema generate delta script you. order in comparison takes place tables, procs views, ...
i suggest apply script direct on database , use schema comparison database project soak in changes. way visual studio database project create script you. read more db comparison , walkthrough on msdn http://msdn.microsoft.com/en-us/library/aa833435.aspx.
ps - how managing deployments of db project? have automated entire deployment suit, interested know how others doing it.
hth.
cheers, tarun
Comments
Post a Comment