Quantcast
Channel: Für Entwickler: SQL Server Forum
Viewing all articles
Browse latest Browse all 1772

SAL Server 2016 / DB erstellen / Automatische Vergrößerung -> unbegrenzt

$
0
0

Hallo zusammen,

ich möchte eine Datenbank erzeugen wo das Daten-File und das Log-File mit einer unbegrenzt vergrößerbaren Datei erzeugt wird.

Ich mach das wie folgt:

CREATE DATABASE [MyDataBase]
 CONTAINMENT = NONE
 ON  PRIMARY 
( NAME = N'MyDataBase_Data', FILENAME = N'X:\MSSQL\DATA\MyDataBase_Data.MDF' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'MyDataBase_log', FILENAME = N'Y:\MSSQL\Log\MyDataBase_log.ldf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 COLLATE Latin1_General_CI_AS
GO

Wenn ich mir die Eigenschafte des Log-Files nach Erstellung ansehe ist das File aber auf eine Größe beschränkt.

Hardcopy Datentateien nach Erstellung

Wo liegt das Problem? Was mache ich falsch?


Viewing all articles
Browse latest Browse all 1772

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>