Problem creating a database

  • i am getting a strange Issue when I try to create a database,  The Trans Log will not set to unlimited Growth!!!!!!!

    I can try to manually set it with SQL, or with the Management Studio.   It just will not set to unlimited growth

     

    When I run the follow script:

    CREATE DATABASE myDatabase

    ON

    ( NAME = 'myDatabase_Data',

      FILENAME = 'D:\Program Files\Microsoft SQL Server\data\myDatabase_Data.mdf',

      SIZE = 10MB,

      MAXSIZE = UNLIMITED,

      FILEGROWTH = 10% )

    LOG ON

    ( NAME = 'myDatabase_Log',

      FILENAME = 'D:\Program Files\Microsoft SQL Server\Data\myDatabase_Log.ldf',

      SIZE = 5MB,

      MAXSIZE = UNLIMITED,

      FILEGROWTH = 10% )

    GO

    Then when I check the properties:

    CREATE DATABASE [myDatabase] ON  PRIMARY

    ( NAME = N'myDatabase_Data', FILENAME = N'D:\Program Files\Microsoft SQL Server\data\myDatabase_Data.mdf' , SIZE = 10240KB , MAXSIZE = UNLIMITED, FILEGROWTH = 10%)

     LOG ON

    ( NAME = N'myDatabase_Log', FILENAME = N'D:\Program Files\Microsoft SQL Server\Data\myDatabase_Log.ldf' , SIZE = 5120KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)

     COLLATE SQL_Latin1_General_CP1_CI_AS

    GO

     

     

    Thanks,

    Dan

  • What Edition are you using? What version?

    Run this:

    SELECT ServerProperty('Edition'),

    ServerProperty('ProductLevel'),

    ServerProperty('ProductVersion')

    -SQLBill

  • hey SQLBill,

     

    Standard Edition (64-bit)

     SP1 9.00.2047.00

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply