多选题Which two tasks can you perform using only the TO_CHAR function? ()Aconvert 10 to 'TEN'Bconvert '10' to 10Cconvert 10 to '10'Dconvert 'TEN' to 10Econvert a date to a character expressionFconvert a character expression to a date

题目
多选题
Which two tasks can you perform using only the TO_CHAR function? ()
A

convert 10 to 'TEN'

B

convert '10' to 10

C

convert 10 to '10'

D

convert 'TEN' to 10

E

convert a date to a character expression

F

convert a character expression to a date


相似考题
更多“多选题Which two tasks can you perform using only the TO_CHAR function? ()Aconvert 10 to 'TEN'Bconvert '10' to 10Cconvert 10 to '10'Dconvert 'TEN' to 10Econvert a date to a character expressionFconvert a character expression to a date”相关问题
  • 第1题:

    Which two tasks can you perform using only the TO_CHAR function? ()

    • A、convert 10 to 'TEN'
    • B、convert '10' to 10
    • C、convert 10 to '10'
    • D、convert 'TEN' to 10
    • E、convert a date to a character expression
    • F、convert a character expression to a date

    正确答案:C,E

  • 第2题:

    Which statement accomplish this? ()

    • A、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE = SYSDATE);
    • B、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
    • C、CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
    • D、CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE = SYSDATE);
    • E、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE = SYSDATE);
    • F、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE DEFAULT SYSDATE);

    正确答案:B

  • 第3题:

    You need to create a table named ORDERS that contains four columns: 1.an ORDER_ID column of number data type 2.a CUSTOMER_ID column of number data type 3.an ORDER_STATUS column that contains a character data type 4.a DATE_ORDERED column to contain the date the order was placed When a row is inserted into the table, if no value is provided for the status of the order, the value PENDING should be used instead. Which statement accomplishes this?()

    • A、CREATE TABLE orders ( order_id NUMBER(10), customer_id NUMBER(8), order_status NUMBER(10) DEFAULT 'PENDING', date_ordered DATE );
    • B、CREATE TABLE orders ( order_id NUMBER(10), customer_id NUMBER(8), order_status VARCHAR2(10) = 'PENDING', date_ordered DATE );
    • C、CREATE OR REPLACE TABLE orders ( order_id NUMBER(10), customer_id NUMBER(8), order_status VARCHAR2(10) DEFAULT 'PENDING', date_ordered DATE );
    • D、CREATE OR REPLACE TABLE orders ( order_id NUMBER(10), customer_id NUMBER(8), order_status VARCHAR2(10) = 'PENDING', date_ordered DATE );
    • E、CREATE TABLE orders ( order_id NUMBER(10), customer_id NUMBER(8), order_status VARCHAR2(10) DEFAULT 'PENDING', date_ordered DATE );
    • F、CREATE TABLE orders ( order_id NUMBER(10), customer_id NUMBER(8), order_status VARCHAR2(10) DEFAULT 'PENDING', date_ordered VARCHAR2 );

    正确答案:E

  • 第4题:

    Which two statements are true regarding working with dates?()

    • A、The default internal storage of dates is in the numeric format 
    • B、The default internal storage of dates is in the character format 
    • C、The RR date format automatically calculates the century from the SYSDATE function and does not allow the user to enter the century 
    • D、The RR date format automatically calculates the century from the SYSDATE function but allows the user to enter the century if required

    正确答案:A,D

  • 第5题:

    Your company uses SQL Server 2005. You are implementing a series of views that are used in ad hoc queries. The views are used to enforce your companys security policy of abstracting data.  Some of these views perform slowly. You create indexes on those views to increase performance, while still maintaining the companys security policy. One of the views returns the current date as one of the columns. The view returns the current date by using the GETDATE( ) function. This view does not allow you to create an index. You need to create an index on the view.  Which two actions should you perform?()

    • A、 Remove all deterministic function calls from within the view. 
    • B、 Remove all nondeterministic function calls from within the view. 
    • C、 Schema-bind all functions that are called from within the view. 
    • D、 Create the view and specify the WITH CHECK OPTION clause.

    正确答案:B,C

  • 第6题:

    多选题
    TestKing.com uses SQL Server 2005. You are implementing a series of views that are used in ad hoc queries. The views are used to enforce TestKing.coms security policy of abstracting data. Some of these views perform slowly. You create indexes on those views to increase performance, while still maintaining the company’s security policy. One of the views returns the current date as one of the columns. The view returns the current date by using the GETDATE() function. This view does not allow you to create an index. You need to create an index on the view. Which two actions should you perform?()
    A

    Remove all deterministic function calls from within the view.

    B

    Remove all nondeterministic function calls from within the view.

    C

    Schema-bind all functions that are called from within the view.

    D

    Create the view and specify the WITH CHECK OPTION clause.


    正确答案: A,C
    解析: 暂无解析

  • 第7题:

    多选题
    For which two actions can you use the TO_DATE function? ()
    A

    convert any date literal to a date

    B

    convert any numeric literal to a date

    C

    convert any date to a character literal

    D

    format 'January 10 1999' for input

    E

    format '10-JAN-99' to 'January 10 1999'


    正确答案: C,B
    解析: 暂无解析

  • 第8题:

    多选题
    Which two tasks can you perform using only the TO_CHAR function? ()
    A

    convert 10 to 'TEN'

    B

    convert '10' to 10

    C

    convert 10 to '10'

    D

    convert 'TEN' to 10

    E

    convert a date to a character expression

    F

    convert a character expression to a date


    正确答案: D,C
    解析: 暂无解析

  • 第9题:

    多选题
    You want to perform an RMAN backup of database as a copy. Which two factors will you consider whileperforming the backup operation?() (Choose two).
    A

    The backup as copy can only be taken to disk

    B

    The backup as copy can only be taken to tape

    C

    Backup can be performed only when the instance is shutdown

    D

    Backup will constitute all used and unused blocks in the database


    正确答案: C,A
    解析: 暂无解析

  • 第10题:

    多选题
    Which four statements correctly describe functions that are available in SQL? ()
    A

    INSTR returns the numeric position of a named character.

    B

    NVL2 returns the first non-null expression in the expression list.

    C

    TRUNCATE rounds the column, expression, or value to n decimal places.

    D

    DECODE translates an expression after comparing it to each search value.

    E

    TRIM trims the heading or trailing characters (or both) from a character string.

    F

    NVL compares two expressions and returns null if they are equal, or the first expression if they are not equal.

    G

    NULLIF compares two expressions and returns null if they are equal, or the first expression if they are not equal.


    正确答案: F,D
    解析: 暂无解析

  • 第11题:

    多选题
    Which two statements are true regarding working with dates?()
    A

    The default internal storage of dates is in the numeric format

    B

    The default internal storage of dates is in the character format

    C

    The RR date format automatically calculates the century from the SYSDATE function and does not allow the user to enter the century

    D

    The RR date format automatically calculates the century from the SYSDATE function but allows the user to enter the century if required


    正确答案: C,D
    解析: 暂无解析

  • 第12题:

    多选题
    Your company uses SQL Server 2005. You are implementing a series of views that are used in ad hoc queries. The views are used to enforce your companys security policy of abstracting data.  Some of these views perform slowly. You create indexes on those views to increase performance, while still maintaining the companys security policy. One of the views returns the current date as one of the columns. The view returns the current date by using the GETDATE( ) function. This view does not allow you to create an index. You need to create an index on the view.  Which two actions should you perform?()
    A

    Remove all deterministic function calls from within the view.

    B

    Remove all nondeterministic function calls from within the view.

    C

    Schema-bind all functions that are called from within the view.

    D

    Create the view and specify the WITH CHECK OPTION clause.


    正确答案: C,B
    解析: 暂无解析

  • 第13题:

    What two statements are true regarding the recommendations received from the SQL Access Advisor?()(Choose two.)

    • A、It cannot generate recommendations that support multiple workload queries.
    • B、It can recommend partitioning on tables provided that the workloads have some predicates and joins on the columns of the NUMBER or DATE type.
    • C、It can recommend partitioning only on tables that have at least 10,000 rows.
    • D、It can recommend only B-tree indexes and not bitmap or function-based indexes

    正确答案:B,C

  • 第14题:

    For which action can you use the TO_DATE function? ()

    • A、Convert any date literal to a date
    • B、Convert any numeric literal to a date
    • C、Convert any character literal to a date
    • D、Convert any date to a character literal
    • E、Format '10-JAN-99' to 'January 10 1999'

    正确答案:C

  • 第15题:

    You need to create a table named ORDERS that contain four columns: 1. an ORDER_ID column of number data type 2. aCUSTOMER_ID column of number data type 3. an ORDER_STATUS column that contains a character data type 4. aDATE_ORDERED column to contain the date the order was placed. When a row is inserted into the table, if no value is provided when the order was placed, today's date should be used instead. Which statement accomplishes this?()

    • A、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE = SYSDATE);
    • B、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
    • C、CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
    • D、CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE = SYSDATE);
    • E、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE = SYSDATE);
    • F、CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE DEFAULT SYSDATE);

    正确答案:B

  • 第16题:

    What two statements are true regarding the recommendations received from the SQL Access Advisor?()

    • A、 It cannot generate recommendations that support multiple workload queries.
    • B、 It can recommend partitioning on tables provided that the workloads have some predicates and joins on the columns of the NUMBER or DATE type.
    • C、 It can recommend partitioning only on tables that have at least 10,000 rows.
    • D、 It can recommend only B-tree indexes and not bitmap or function-based indexes.

    正确答案:B,C

  • 第17题:

    TestKing.com uses SQL Server 2005. You are implementing a series of views that are used in ad hoc queries. The views are used to enforce TestKing.coms security policy of abstracting data. Some of these views perform slowly. You create indexes on those views to increase performance, while still maintaining the company’s security policy. One of the views returns the current date as one of the columns. The view returns the current date by using the GETDATE() function. This view does not allow you to create an index. You need to create an index on the view. Which two actions should you perform?()

    • A、Remove all deterministic function calls from within the view.
    • B、Remove all nondeterministic function calls from within the view.
    • C、Schema-bind all functions that are called from within the view.
    • D、Create the view and specify the WITH CHECK OPTION clause.

    正确答案:B,C

  • 第18题:

    多选题
    What two statements are true regarding the recommendations received from the SQL Access Advisor?()(Choose two.)
    A

    It cannot generate recommendations that support multiple workload queries.

    B

    It can recommend partitioning on tables provided that the workloads have some predicates and joins on the columns of the NUMBER or DATE type.

    C

    It can recommend partitioning only on tables that have at least 10,000 rows.

    D

    It can recommend only B-tree indexes and not bitmap or function-based indexes


    正确答案: D,C
    解析: 暂无解析

  • 第19题:

    多选题
    What two statements are true regarding the recommendations received from the SQL Access Advisor?()
    A

    It cannot generate recommendations that support multiple workload queries.

    B

    It can recommend partitioning on tables provided that the workloads have some predicates and joins on the columns of the NUMBER or DATE type.

    C

    It can recommend partitioning only on tables that have at least 10,000 rows.

    D

    It can recommend only B-tree indexes and not bitmap or function-based indexes.


    正确答案: A,D
    解析: 暂无解析

  • 第20题:

    多选题
    Which three tasks can be performed using regular expression support in Oracle Database 10g?()
    A

    it can be used to concatenate two strings.

    B

    it can be used to find out the total length of the string.

    C

    it can be used for string manipulation and searching operations.

    D

    it can be used to format the output for a column or expression having string data.

    E

    it can be used to find and replace operations for a column or expression having string data.


    正确答案: C,A
    解析: 暂无解析

  • 第21题:

    单选题
    For which action can you use the TO_DATE function?()
    A

    Convert any date literal to a date

    B

    Convert any numeric literal to a date

    C

    Convert any character literal to a date

    D

    Convert any date to a character literal

    E

    Format '10-JAN-99' to 'January 10 1999'


    正确答案: D
    解析: 暂无解析

  • 第22题:

    多选题
    Which two tasks can your perform by using the TO_CHAR function? ()
    A

    Convert 10 to 'TEN'

    B

    Convert '10' to 10

    C

    Convert '10' to '10'

    D

    Convert 'TEN' to 10

    E

    Convert a date to a character expression

    F

    Convert a character expression to a date


    正确答案: B,A
    解析: 暂无解析

  • 第23题:

    多选题
    You are using replication and the binary log files on your master server consume a lot of disk space. Which two steps should you perform to safely remove some of the older binary log files?()
    A

    Use the command PURGE BINARY LOGS and specify a binary log file name or a date and time to remove unused files

    B

    Execute the PURGE BINARY LOGE NOT USED command

    C

    Remove all of the binary log files that have a modification date earlier than today

    D

    Edit the .index file to remove the files you want to delete

    E

    Ensure that none of the attached slaves are using any of the binary logs you want to delete


    正确答案: B,C
    解析: 暂无解析

  • 第24题:

    多选题
    Examine the description of the STUDENTS table: STD_ID NUMBER(4) COURSE_ID VARCHARD2(10) START_DATE DATE END_DATE DATE Which two aggregate functions are valid on the START_DATE column?()
    A

    SUM(start_date)

    B

    AVG(start_date)

    C

    COUNT(start_date)

    D

    AVG(start_date, end_date)

    E

    MIN(start_date)

    F

    MAXIMUM(start_date)


    正确答案: B,E
    解析: 暂无解析