Insert a data entry to the Oracle database

Source: Internet
Author: User

It may be inconvenient to get used to Oracle databases over the past few days. PL is much more user-friendly than SQL server. Since PL has been acquired

Why not do it a little better? Various inconveniences. Depressing

Insert a data entry to the Oracle server

-- Whatever format is caused by quotation marks. However, the INTEGER format still does not use quotation marks insert into T_SITE VALUES (8, -- note that the primary key does not conflict with other primary keys in the table, the only 'cm', 'cms website ', 'cms ', 2, 'cms', 'ad content management system', 'abc. ico ', 1, to_date ('2014/1/12', 'yyyy/MM/dd'), -- insert time in the format of'-1', '123', 'gi ', to_date ('2017/12', 'yyyy/MM/dd'), to_date ('2017/12', 'yyyy/MM/dd '));

Query Field Types in PL SQL

SQL> desc t_site

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.