To create a SQL Server database project
 
         
          
            	 
             
               		
               - Be sure that you have enabled SQL CLR and that you have created a SQL Server database. 
                  		
               
  
               	
               		
               - In Visual Studio, click 
                     			 . 
                  		
               
  
               		
               - In the 
                     				New Project dialog box, expand 
                     				. 
                  		
               
  
               		
               - Click the 
                  		  Database category. 
                  		
               
  
               		 
               		
               - Select 
                  		  SQL Server Database Project.
                  		
               
  
               		
               - From the drop-down list at the top of the center pane, select any .NET Framework version, including version 4 or 4.5. 
                  		
               
  
               		
               - Complete the 
                  		  Name and 
                  		  Location fields; then click 
                  		  OK.