Oracle CREATE TABLE

Source: Internet
Author: User

--Create a table

Create TableBrowser_track (Btid Number not NULL, opend_idvarchar2( -) not NULL, Url_addressvarchar2( -) not NULL, paramsvarchar2( -)NULL, Stay_time Number default 0 not NULL, Look_time Number default 0 not NULL, Behavior_namevarchar2(Ten) not NULL, behavior_id Number not NULL, Pbehavior_namevarchar2(Ten) not NULL, pbehavior_id Number not NULL, Create_timetimestamp not NULL,Primary Key(Btid));--Table NotesComment on TableBrowser_track is 'User Behavior Tracking table';--Field CommentComment on columnBrowser_track.btid is 'PRIMARY Key'; Comment on columnbrowser_track.opend_id is 'opend_id'; Comment on columnBrowser_track.url_address is 'URL address'; Comment on columnBrowser_track.params is 'parameter list'; Comment on columnBrowser_track.stay_time is 'Dwell Time'; Comment on columnBrowser_track.look_time is 'Browse Time'; Comment on columnbrowser_track.behavior_id is 'Action ID'; Comment on columnBrowser_track.behavior_name is 'Action name'; Comment on columnBrowser_track.pbehavior_name is 'Parent Action Name'; Comment on columnbrowser_track.pbehavior_id is 'Parent Action ID'; Comment on columnBrowser_track.create_time is 'creation Time';--IndexCreate Indexbehavior_id onBrowser_track (behavior_id);SelectT.*, T.rowid fromBrowser_track t;Drop TableBrowser_track;

Oracle CREATE TABLE

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.