位置:首页 > 题库频道 > 其它分类 > 计算机其它 > 专业技术初级资格程序员基础知识DB2

Which DB2 object limits the user's ability to retrieve data from a table by defining a SQL statement in the object、

发布时间:2024-07-09

A.View

B.Index

C.Trigger

D.Check constraint

试卷相关题目

  • 1Given the SQL statement: CREATE ALIAS total_sales FOR sales Which statement is valid、

    A.SALES can be the name of a schema.

    B.SALES can be the name of a package.

    C.SALES can be the name of an existing alias.

    D.SALES can be the name of a declared global temporary tabl

    开始考试点击查看答案
  • 2What is the minimum product required for DB2 connectivity across all platforms、

    A.DB2 Personal Edition

    B.DB2 Development Edition

    C.DB2 Connect Personal Edition

    D.DB2 Development Unlimited Edition

    开始考试点击查看答案
  • 3Which object can be enabled for compression、

    A.View

    B.Buffer pool

    C.Storage group

    D.Temporary table

    开始考试点击查看答案
  • 4Which SQL statement will create a DB2 object that can be used to store numerical data as Canadian currency、

    A.CREATE DISTINCT ALIAS canadian_dollar AS DECIMAL (9,3) WITH COMPARISONS

    B.CREATE DISTINCT TYPE canadian_dollar AS DECIMAL (9,3) WITH COMPARISONS

    C.CREATE DISTINCT PROCEDURE canadian_dollar AS DECIMAL (9,3) WITH COMPARISONS

    D.CREATE DISTINCT FUNCTION canadian_dollar AS DECIMAL (9,3) WITH COMPARISONS

    开始考试点击查看答案
  • 5Which type of table should you use if you want to define specific time periods when data is valid、

    A.Materialized query table

    B.System-period temporal table

    C.Declared global temporary table

    D.Application-period temporal table

    开始考试点击查看答案
  • 6A table named EMPLOYEES was created as follows:  CREATE TABLE employees(   emp_no       VARCHAR(4)  NOT NULL,   emp_name     VARCHAR(50) NOT NULL,   emp_email    VARCHAR(30) NOT NULL) Then,the following INSERT statements were executed:   INSERT INTO employees VALUES ('1A2B','Joe Smith','joe.smith@abc.com');   INSERT INTO employees VALUES ('1122','Lisa Carter','');   INSERT INTO employees VALUES ('1A2B','John Doe','john.doe@abc.com'); If the following query is executed:   SELECT count(*) FROM employees; What will be the results、

    A.0

    B.1

    C.2

    D.3

    开始考试点击查看答案
  • 7Which two DB2 objects can a view be derived from、 (Choose two.)

    A.View

    B.Index

    C.Table

    D.Trigger

    E.Procedure

    开始考试点击查看答案
  • 8Which protocol provides applications the ability to connect to and update multiple DB2 databases within the same transaction、

    A.Type-1 connect

    B.Type-2 connect

    C.Type-3 connect

    D.Type-4 connect

    开始考试点击查看答案
  • 9Which statement about bitemporal tables is valid、

    A.Bitemporal tables are system tables and can only be queried by the schema owner.

    B.Creating a bitemporal table is similar to creating a regular table except users must specify a system time period column.

    C.When data in a bitemporal table is updated, a row is added to it's associated history table.

    D.Querying a bitemporal table will produce results for a complete timeline; a view must be created to obtain results for a specific time period.

    开始考试点击查看答案
  • 10Which object can a buffer pool be assigned to、

    A.Schema

    B.Table space

    C.Storage group

    D.Stored procedure

    开始考试点击查看答案
返回顶部