Database name, logical name, physical name Difference

Source: Internet
Author: User

Question: Or, create a database has three names, one is the one behind create, one is the name=, the other is the filename=, what is the difference between the three names, what are the different roles,


Answer: Database name
This is the name of the new repository. The database name must be unique within the instance of SQL Server and must conform to the rules of the identification code.
Database logical Name
This is the logical name that is used in SQL Server when referencing the archive. Logical_file_name must be unique in the database and must conform to the rules of the identification code.

Physical file name
Refers to the name of the database file, which can be divided into data and log file names

Database name, logical name, physical name Difference

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.