database column names using keyword Resolution method

Source: Internet
Author: User

    • In Oracle , you can enclose the keyword in double quotes only.

But because the strings in the double quotation marks in Oracle are case-sensitive, Oracle turns the field names to all uppercase regardless of whether the table is created or the query, so unless the table is created in double quotation marks, the field names are all uppercase, and the SQL statement must be double-quoted at a later query. If not added, Oracle will turn the field name to uppercase to prompt an "invalid identifier."

Similarly, query ordinary fields can also be obtained by double quotation marks, but the field names within the double quotation marks must be all uppercase, for example, select "Any_field_name" from TableName

    • In SQL Server , you can enclose the keyword in square brackets [] or double quotation marks. Field names are not case-sensitive under any circumstances.
    • Enclose the table and column names in MySQL using ' (the key below Backticks,esc). Field names are also case insensitive.
    • in the in Access, you can enclose the keyword in square brackets []. Field names are not case-sensitive under any circumstances.

database column names using keyword Resolution method

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.