.net - Why does my CLR function keep disappearing -
i rookie sql , here questions.
i have clr sql functions , procedures. when deploy 1st one, fine. after 2nd 1 deployed, first 1 disappear.
anyone can me out?
thanks lot
actually, create new sql project in vs, adding new function or stored procedure, click deploy, , can see new function in sql instance. close project , open new one, repeat above steps, ok, 2nd function there instance 1st 1 disappeared or replaced , no longer queryable use.
thank reply.
all these clr functions , procedures in same instance of database.
it sounds have 2 db projects associated same database. each db project saying 'make database project' , therefore deleting existing objects.
if you're using vs 2010 following might you...
- go deploy tab of project properties
- click edit 'deployment configuration file'
- uncheck 'always re-create database'
- uncheck generate drop statements objects in target database not in database project.
Comments
Post a Comment