You need to create a partitioned table to store historical data and you issued the following command:   CREATE TABLE purchase_interval PARTITION BY RANGE (time_id) INTERVAL (NUMTOYMINTERVAL(1,’month’)) STORE IN (tbs1,tbs2,tbs3) ( PARTITION p1 VALUES LESS THAN(TO_DATE(’1-1-2005’, ’dd-mm-yyyy’)), PARTITION p2 VALUES LESS THAN(TO_DATE(’1-1- 2007’, ’dd-mm-yyyy’)))  AS SELECT * FROM purchases WHERE time_id 

A、 It returns an error because the range partitions P1 and P2 should be of the same range.

B、 It creates two range partitions (P1, P2). Within each range partition, it creates monthwise subpartitions.

C、 It creates two range partitions of varying range. For data beyond ’1-1-2007,’ it creates partitions with a width of one month each.

D、 It returns an error because the number of tablespaces (TBS1,TBS2,TBS3)specified does not match the number of range partitions (P1,P2) specified.

查看答案

相关问题推荐

  • Click the Exhibit button.   Given this code from Class B:   25. A a1 = new A();   26. A a2 = new A();   27. A a3 = new A();   28. System.out.println(A.getInstanceCount());   What is the result?()

    A、  Compilation of class A fails.

    B、  Line 28 prints the value 3 to System.out.

    C、  Line 28 prints the value 1 to System.out.

    D、  Compilation fails because of an error on line 28.

    E、  A runtime error occurs when line 25 executes.

    查看答案
  • 患者女性,68岁。反复咳嗽、喘息20年,加重1周入院。查体:神清,口唇发绀,颈静脉怒张,双肺散在中小水泡音。心率120次/分,律齐。肝肋下3cm,双下肢可凹性水肿。外周血白细胞12×109/L,中性粒细胞80%。X线胸片示右下肺动脉大于17mm,双肺纹理重。患者的医疗诊断是()

    A、呼吸衰竭

    B、右心衰竭

    C、肺源性心脏病

    D、慢性阻塞性肺疾病

    E、慢性支气管炎急性发作

    查看答案
  • 消化性溃疡最常见的并发症为()

    A、出血

    B、癌变

    C、穿孔

    D、幽门梗阻

    E、急性腹膜炎

    查看答案
  • Examine the output of the query that you executed to list the objects in the recycle bin: You verified that no table named SALES_TAB exists in the schema. Then you executed the following command to purge the objects in the recycle bin: SQL> PURGE TABLE sales_tab; What would be the outcome of this command?()

    A、 All three tables in the recycle bin are purged

    B、 Only the table with the oldest DROPSCN is purged

    C、 The command returns an error because multiple entries with the same name exist in the recycle bin

    D、 Only the table with the latest DROPSCN is purged

    查看答案
  • 慢性阻塞性肺气肿最重要的慢性并发症是()

    A、肺结核

    B、自发性气胸

    C、肺不张

    D、慢性肺源性心脏病

    E、肺炎

    查看答案
  • 使用CoreHTML删除和替换节点的方法如下:
    查看答案
  • 防范和应对企业危机的意识有哪些()。

    A.“生于忧患”的危机意识B.“童叟无欺”的诚信意识C.“顾客利益至上”的公众意识D.“无所不及”的沟通意识E.“敢于否定自我”的创新意识
    查看答案
  • 下列哪种疾病可引起呕吐伴右上腹痛、发热、黄疸()

    A.急性胃炎

    B.急性胰腺炎

    C.急性腹膜炎

    D.急性胆囊炎

    E.急性肾盂肾炎
    查看答案
  • Is there a French word that is the exact ____ of the English word “home”?
    A.
    balance
    B.
    match
    C.
    equipment
    D.
    equivalent
    查看答案
  • 小儿肥胖症的预防措施不包括()

    A.控制低出生体重儿的生后肥胖B.改变不良生活方式C.提高对危险人群的识别与监督指导D.使用配方奶喂养
    查看答案