if (select top 1 0 from sys.databases where name = 'NucelarMonitor') is null create database NucelarMonitor collate Latin1_General_100_CI_AS_SC_UTF8 go use NucelarMonitor if object_id(N'dbo.tables_update', N'P') is not null drop procedure dbo.tables_update go create procedure dbo.tables_update as begin set nocount on end go execute dbo.tables_update