Welcome to Sign in | Help

CREATE DATABASE - cale absoluta pentru FILENAME

  •  09-12-2008, 12:58 PM

    CREATE DATABASE - cale absoluta pentru FILENAME

    Am urmatoare definitie:

    CREATE DATABASE [zz_test] ON PRIMARY

    ( NAME = N'zz_test', FILENAME = N'E:\Data\zz_test.mdf' , SIZE = 51200KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ),

    FILEGROUP [zz_test_IRQ]

    ( NAME = N'zz_test_IRQ', FILENAME = N'E:\Data\zz_test_IRQ.ndf' , SIZE = 2048KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ),

    LOG ON

    ( NAME = N'zz_test_log', FILENAME = N'e:\Data\zz_test_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)

    GO

    Pentru FILENAME trebuie sa furnizez calea absoluta: 'E:\Data\zz_test.mdf' si asta ma deranjeaza.

    Intrebarea: am posibilitatea sa dau doar numele fisierului care sa se construiasca in "Database Default Locations"?

    Multumesc!


    Florin Cardasim
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems