다음을 통해 공유


FileName Element for FileSpec (ADF)

Specifies the file name and path of a physical data file used by the application database.

구문

<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

FileSpec Element (ADF)

Child elements

None.

주의

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.

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>

참고 항목

참조

Application Definition File Reference

관련 자료

응용 프로그램 데이터베이스 정의
인스턴스 및 응용 프로그램 업데이트
CREATE DATABASE(Transact-SQL)

도움말 및 정보

SQL Server 2005 지원 받기