Knowledge Framework of table in SQL Server

Source: Internet
Author: User

The following content is required to understand the table in SQL Server. As for the knowledge points, I will detail them one by one in future articles!

Table 1. Create Table:Create Table DBO. Customer (cust_id int, cust_name char (12), cust_phone char (11 )) Explanation: A. The full name of a table shoshould have three parts, in the following form: Database. schema. tablenameB. "DBO" represented Schema. 2. Data Types in SQL Server 2005:1) numeric data types2) Date and Time data types3) character data types4) miscellaneous data types5) binary data types6) Bit Data type7) Large Object Data types8) cursor data type9) rowversion data type10) SQL _variant data type11) Table Data type12) XML data type13) uniqueidentifier data type14) user-defined data types15) CLR Data Types 3. Identity Property 4. Internal Storage 5. Constrains1) Primary key2) Foreign key3) Unique key4) Check key5) default key
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.