SQL server--Add, delete, change, check.

Source: Internet
Author: User

Database: Hierarchical type, net type, relational type.

Sqlserver,oracle,db2,access,visual Foxpro,mysql

Several elements of data logging:

1. Server type--database engine

2. Server name--native. or (local), remote computer name or IP

3. Authentication--windows authentication (administrator use), SQL Server Authentication (developer)

4. User name: SA-Super admin

5. Password:

How do I turn on SQL Server authentication?

1. In the server properties, modify the authentication mode. SQL Server and Windows authentication.

2. Enable two features of the SA account: Grant access to the database. Enable login.

3. Modify the login password for SA

SQL Server three-tier structure:

1.. mdf in the Data folder of the hard drive. Where the data is stored.

2.SqlServer of service.

3. Database Management interface

First, create the database file type:

1. master data file:. MDF has only one

2. Secondary data file:. NDF can have multiple

3. log file:. LDF can have multiple

Data type:

int int smallint bigint tinyint

Double Float Real Decimal

BOOL Bit

string char varchar nchar nvarchar text

datetime datetime (1753-1-1,9999-12-31) smalldatetime (1900-1-1,2079-6-6)

Binnary image binary, large binary

Create database name--case insensitive

Second, delete the database

Drop database name

Modify database ALTER DATABASE name

Third, the establishment of the table

Iv. Change of table

V. Delete

Vi. data manipulation: increase, delete, change, check

SQL server--Add, delete, change, check.

Related Article

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.