Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Specifies the logical name of the log file.
Syntax
<Database>
...
<LogFile>
<LogicalName>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
string, between 1 and 260 characters in length (see Remarks). |
Default value |
None. |
Occurrence |
Required once per LogFile element. |
Updates |
Cannot be modified when updating the instance. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
None. |
Hinweise
The LogicalName element must be unique in the database and must conform to the rules for identifiers. Even though the LogicalName element accepts up to 260 characters, SQL Server identifiers are limited to 128 characters.
For more information about logical file names, see the logical_file_name description in CREATE DATABASE (Transact-SQL).
If you want to alter the instance database after creating the instance, use the SQL Server tools, such as SQL Server Management Studio.
Beispiel
This example shows how to specify that the logical name of a log file is StockLog.
<LogicalName>StockLog</LogicalName>
Siehe auch
Verweis
Application Definition File Reference
Konzepte
Instance Configuration File Reference
Andere Ressourcen
CREATE DATABASE (Transact-SQL)
Aktualisieren von Instanzen und Anwendungen