Correct inDel view and related user defined function. Create new test project for sql server db project.