What does the following command do? Choose two incorrect statements from the selection below.
Note: $ is the command prompt.
$ pg_restore -U postgres -d database1 database1.dump
A. This command restores the database database1 from the file database1.dump.Select two incorrect statements regarding 'TRIGGER'.
A. When UPDATE is executed to the table, the specified function can be called.Select the correct SQL statement that records the space occupied by deleted or updated rows for later reuse, and also updates statistics.
A. VACUUMSelect the most suitable statement about PostgreSQL from below.
A. PostgreSQL is a card-type database management system.Table "t1" is defined as follows:
CREATE TABLE t1 (value VARCHAR(5));
A set of SQL statements were executed in the following order. Select the number of rows that table "t1" has after execution.
BEGIN;
INSERT INTO t1 VALUES ('AA'); SAVEPOINT point1;
INSERT INTO t1 VALUES ('BB'); SAVEPOINT point2;
INSERT INTO t1 VALUES ('CC'); ROLLBACK TO point1;
INSERT INTO t1 VALUES ('DD'); END;
A. 1 rowThe tables "t1" and "t2" are defined in the same way (they have the same data types and column names). You want to select rows in "t1" which are not in "t2". Select a correct keyword to fill in the blank below. SELECT * FROM t1 SELECT * FROM t2;
A. EXCEPTSelect one correct command to shutdown the postmaster AFTER all the clients have disconnected.
A. pg_ctl stopA table is defined as below. Select the most suitable description about the foreign key constraint. CREATE TABLE master (id INTEGER PRIMARY KEY, name TEXT); CREATE TABLE record (id INTEGER REFERENCES master (id), count INTEGER);
A. If any row exists in the "record" table, no change can be made to the "master" table.The following is the result of executing the createlang command which is installed with PostgreSQL.
$ createlang -U postgres --list mydb
Procedural Languages
Name | Trusted?
---------+---------- plpgsql | yes
Select two correct statements from below.
A. The procedural language plpgsql is installed in the database mydb using the above command.Select one incorrect statement regarding psql.
A. psql is an interactive SQL interpreter that enables a user to enter queries.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only PostgreSQL-CE exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PGCES-02 exam preparations and PostgreSQL-CE certification application, do not hesitate to visit our Vcedump.com to find your solutions here.