-- Create PlanetDB_2800
IF NOT EXISTS (SELECT name FROM sys.databases WHERE name = 'PlanetDB_2800')
BEGIN
    PRINT 'Creating PlanetDB_2800...'
    CREATE DATABASE PlanetDB_2800
    PRINT 'PlanetDB_2800 created successfully.'
END
ELSE
BEGIN
    PRINT 'PlanetDB_2800 already exists.'
END
GO

-- Create SharedDB_2800
IF NOT EXISTS (SELECT name FROM sys.databases WHERE name = 'SharedDB_2800')
BEGIN
    PRINT 'Creating SharedDB_2800...'
    CREATE DATABASE SharedDB_2800
    PRINT 'SharedDB_2800 created successfully.'
END
ELSE
BEGIN
    PRINT 'SharedDB_2800 already exists.'
END
GO

-- Create CollectionDB_2800
IF NOT EXISTS (SELECT name FROM sys.databases WHERE name = 'CollectionDB_2800')
BEGIN
    PRINT 'Creating CollectionDB_2800...'
    CREATE DATABASE CollectionDB_2800
    PRINT 'CollectionDB_2800 created successfully.'
END
ELSE
BEGIN
    PRINT 'CollectionDB_2800 already exists.'
END
GO

-- Create LogDB_2800
IF NOT EXISTS (SELECT name FROM sys.databases WHERE name = 'LogDB_2800')
BEGIN
    PRINT 'Creating LogDB_2800...'
    CREATE DATABASE LogDB_2800
    PRINT 'LogDB_2800 created successfully.'
END
ELSE
BEGIN
    PRINT 'LogDB_2800 already exists.'
END
GO

-- End of script