PostgreSQL_CE
PGCES-02 · Question #129
PGCES-02 Question #129: Real Exam Question with Answer & Explanation
The correct answer is B. The content of the company table is written into a file called 'stdout'. D. An error occurs unless the userfoo has administrator privileges.. See the full explanation below for the reasoning.
Question
Select two incorrect statements related to the command below. Note: $ is the command prompt. $ psql -U foo -c "COPY company TO stdout;" bar
Options
- AIf the company table is not readable, an error occurs.
- BThe content of the company table is written into a file called 'stdout'.
- CThe content of the company table is output in TAB delimited format.
- DAn error occurs unless the userfoo has administrator privileges.
- EConnects to the database bar.
Community Discussion
No community discussion yet for this question.