.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...

  1. go deploy tab of project properties
  2. click edit 'deployment configuration file'
  3. uncheck 'always re-create database'
  4. uncheck generate drop statements objects in target database not in database project.

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -