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_fill', N'P') is not null drop procedure dbo.tables_fill go create procedure dbo.tables_fill as begin set nocount on end go execute dbo.tables_fill