Overview of Sybase SQL language

Source: Internet
Author: User
Tags sybase table name

SQL (Structured Query language) is a kind of international standard of relational database language, it is a kind of non procedural language. By writing SQL, we can implement all the operations on the relational database.

Data definition Language (DDL)--building and managing database objects

Data manipulation Language (DML)--for querying and updating data

Data Control Language (DCL)--Control of data security

The T-SQL language is an extension of Sybase's standard for SQL92, which adds three features: its own data type/unique SQL function/Process Control function

Description of identifiers used in T-sql:

(1) An identifier is composed of 1-30 characters or digits, but the first character must be a letter. The table name of a temporary table begins with a # and cannot exceed 13 characters in length.

(2) Examples of identification methods for database objects

Database.owner.tablename.columnname

To execute a remote stored procedure:

EXEC Server.db.owner.proc_name

When executing a statement at the beginning of a batch, exec can omit it.

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.