Database-Basic Concepts

Source: Internet
Author: User

Database-Basic Concepts
a basic concept
Table:
Columns are called fields
Rows are called records

Second System database
Master: All the system information, the location of all the other databases

tempdb: Temporary worksheets, each restart rebuild

Model: models, creating blank databases as templates

MSDB: Provides a database agent, Dispatches alerts, Jobs, and records operations that are used by

The system database is self-brought and must exist

Three database files:
A database file can have one or more transaction log files
Primary database File
Secondary database file

two transaction log files:
One transaction log file has only one database file

three file groups
Primary filegroup and Secondary filegroup

Four common binary data types
Binary (50): Fixed length
varbinary (MAX): variable length
Image: Storing the binary of an image

five commonly used text data types
Text: Long text information
ntext: Long text with variable length
CHAR (10): fixed length, 8000
varchar (MAX): variable-length non-Unicode data
nvarchar (MAX): variable-length Unicode data
NCHAR (10): fixed-length Unicode data
Datatime: Date Time

Copyright NOTICE: Welcome to Exchange, QQ872785786

Database-Basic Concepts

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.