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 file name and path of a physical data file used by the application database.
Syntax
<Database>
<NamedFileGroup>
...
<FileSpec>
...
<FileName>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
string, between 1 and 260 characters in length. |
Default value |
None. |
Occurrence |
Required once per FileSpec element. |
Updateable |
Cannot be added, deleted, or modified when updating the application. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
None. |
Hinweise
Specify the full path and file name for the named filegroup in the FileName element.
For more information, see os_file_name parameter in the CREATE DATABASE (Transact-SQL) topic.
Beispiel
The following example shows how to specify that the application database data file is in the C:\SQLData folder and is named StockPrimary.mdf.
<FileName>C:\SQLData\StockPrimary.mdf</FileName>
Siehe auch
Verweis
Application Definition File Reference
Andere Ressourcen
Definieren der Anwendungsdatenbank
Aktualisieren von Instanzen und Anwendungen
CREATE DATABASE (Transact-SQL)