
db2 udb v7.1 family fundamentals : 000-512 Exam
Known also as the IBM DB2 UDB V7.1 Family Fundamentals (000-512), this exam plays an integral role in obtaining your certification. All IBM certification exams are extremely detailed and cover many different technological areas. We designed the 000-512 questions and answers for this very purpose, to prepare you for the unexpected. Beyond the testing center, the skills you learn and the knowledge you confirm using the 000-512 practice exams and exam simulators will translate directly into your daily work environment.
Product Description
Exam Number/Code: 000-512
Exam Name:db2 udb v7.1 family fundamentals
“db2 udb v7.1 family fundamentals”, also known as 000-512 exam, is a IBM certification. With the complete collection of questions and answers, Pass4sure has assembled to take you through 110 questions to your 000-512 Exam preparation. In the 000-512 exam resources, you will cover every field and category in Certified Specialist helping to ready you for your successful IBM Certification.
Question: 1
Given a table T1, with a column C1 char(3), that contains strings in upper and lower case letters, which of the following queries will find all rows where C1 is the string ‘ABC’ in any case?
A. SELECT * FROM t1 WHERE c1 = ‘ABC’
B. SELECT * FROM t1 WHERE UCASE(c1) = ‘ABC’
C. SELECT * FROM t1 WHERE IGNORE_CASE(c1 = ‘ABC’)
D. SELECT * FROM t1 WHERE c1 = ‘ABC’ WITH OPTION CASE INSENSITIVE
Answer: B Question: 2
Given the two following tables:
Names
Name Number
Wayne Gretzky 99
Jaromir Jagr 68
Bobby Orr 4
Bobby Hull 23
Brett Hull 16
Mario Lemieux 66
Steve Yzerman 19
Claude Lemieux 19
Mark Messier 11
Mats Sundin 13
Points
Name Points
Wayne Gretzky 244
Jaromir Jagr 68
Bobby Orr 129
Bobby Hull 93
Brett Hull 121
Mario Lemieux 189
Joe Sakic 94
Which of the following statements will display the player Names, numbers and points for all players with an entry in both tables? Which of the following statements will display the player? Names, numbers and points for all players with an entry in both tables?
A. SELECT names.name, names.number, points.points FROM names INNER JOIN points ON
names.name=points.name
B. SELECT names.name, names.number, points.points FROM names FULL OUTER JOIN points
ON names.name=points.name
C. SELECT names.name, names.number, points.points FROM names LEFT OUTER JOIN points
ON names.name=points.name
D. SELECT names.name, names.number, points.points FROM names RIGHT OUTER JOIN
points ON names.name=points.name
E. SELECT names.name, names.number, points.points FROM names FULL OUTER JOIN points
ON names.name=points.name
F. SELECT names.name, names.number, points.points FROM names LEFT OUTER JOIN points
ON names.name=points.name
G. SELECT names.name, names.number, points.points FROM names RIGHT OUTER JOIN
points ON names.name=points.name
H. SELECT names.name, names.number, points.points FROM names LEFT OUTER JOIN points
ON names.name=points.name
I. SELECT names.name, names.number, points.points FROM names RIGHT OUTER JOIN
points ON names.name=points.name
I. SELECT names.name, names.number, points.points FROM names LEFT OUTER JOIN points
ON names.name=points.name
I. SELECT names.name, names.number, points.points FROM names RIGHT OUTER JOIN
points ON names.name=points.name
Answer: A Question: 3
Given the tables:
COUNTRY
ID NAME PERSON CITIES
1 Argentina 1 10
2 Canada 2 20
3 Cuba 2 10
4 Germany 1 0
5 France 7 5
STAFF
ID LASTNAME
1 Jones
2 Smith
The statement:
SELECT * FROM staff, country will return how many rows? A. 2
B. 4
C. 5
D. 7
E. 10
Answer: E Question: 4
Given the following SQL statements:
CREATE TABLE tab1 (col1 INT) CREATE TABLE tab2 (col1 INT)
INSERT INTO tab1 VALUES (NULL),(1) INSERT INTO tab2 VALUES (NULL),(1) SELECT COUNT(*) FROM tab1
WHERE col1 IN
(SELECT col1 FROM tab2)
Which of the following is the result of the SELECT COUNT(*) statement? A. 1
B. 2
C. 3
D. 4
E. 0
Answer: A Question: 5
Which of the following describes why savepoints are NOT allowed inside an atomic unit of work?
A. Atomic units of work span multiple databases, but savepoints are limited to units of work which operate on a single database.
B. A savepoint implies that a subset of the work may be allowed to succeed, while atomic operations must succeed or fail as a unit.
C. A savepoint requires an explicit commit to be released, and commit statements are not allowed
in atomic operations such as compound SQL.
D. A savepoint cannot be created without an active connection to a database, but atomic operations can contain a CONNECT as a sub-statement.
Answer: B Question: 6
Given the following table definition:
STAFF
id INTEGER name CHAR(20) dept INTEGER job CHAR(20) years INTEGER
salary DECIMAL(10,2)
comm DECIMAL(10,2)
The job column contains these job types: manager, clerk, and salesperson. Which of the following statements will return the data with all managers together, all clerks together and all salespeople together in the output?
A. SELECT * FROM staff ORDER BY job
B. SELECT job, name FROM staff GROUP BY name, job
C. SELECT * FROM staff GROUP BY name, job, id, dept, years, salary, comm
D. SELECT * FROM staff ORDER BY name, job, id, dept, years, salary, comm
Answer: A Question: 7
Which of the following occurs if an application ends abnormally during an active unit of work?
A. Current unit of work is committed
B. Current unit of work is rolled back
C. Current unit of work remains active
D. Current unit of work moves to pending state
Answer: B Question: 8
User2 has DBADM authority on database DB1. This allows the user to do which of the following?
A. Drop database DB1
B. Backup database DB1
C. Create tables in any database
D. Create tables in database DB1
Answer: D Question: 9
Which of the following is the result of the following SQL statement: ALTER TABLE table1 ADD col2 INT WITH DEFAULT
A. The statement fails with a negative SQL code.
B. The statement fails because no default value is specified.
C. A new column called COL2 is added to TABLE1 and populated with zeros. D. A new column called COL2 is added to TABLE1 and populated with nulls.
E. A new column called COL2, which cannot contain nulls, is added to TABLE1.
Answer: C Question: 10
Given two embedded SQL program executions with the following actions:
Pgm1
INSERT INTO mytab VALUES (…)
COMMIT INSERT INTO mytab VALUES (…) ROLLBACK Pgm2 INSERT INTO mytab VALUES (…) ROLLBACK INSERT INTO mytab VALUES (…)
COMMIT
How many records will be successfully inserted and retained in the table mytab?
A. 1
B. 2
C. 3
D. 4
Answer: B Question: 11
Given the following DDL statement: CREATE TABLE newtab1 LIKE tab1. Which of the following would occur as a result of the statement execution?
A. NEWTAB1 has same triggers as TAB1
B. NEWTAB1 is populated with TAB1 data
C. NEWTAB1 has the same primary key as TAB1
D. NEWTAB1 columns have same attributes as TAB1
Answer: D Question: 12
Given the table COUNTRY and the statements below:
COUNTRY
ID NAME PERSON_ID CITIES
* pass4sure ibm 000-512 Questions and Answers : 110 questions
* Updated: October 2nd , 2008
* Price: $159.99 $99.99
Free down:Testking ibm 000-512
Free down:Pass4sure ibm 000-512
| IBM Free Downloads |
|
Type |
Exam Bible | New Questions & Answers |
Latest Updated |
Download link |
![]() |
All Ibm 's Exam Pack |
767 |
1 days ago | Download |
If you would like to make a comment, please fill out the form below.
[...] Networking and Virtualization Architecture, Version 2 pass4sure 000-424 Exam : IBM zSeries Sales V1 pass4sure 000-512 Exam : DB2 UDB V7.1 Family Fundamentals pass4sure 000-535 Exam : IBM Certified Specialist- Advanced [...]
[...] Networking and Virtualization Architecture, Version 2 pass4sure 000-424 Exam : IBM zSeries Sales V1 pass4sure 000-512 Exam : DB2 UDB V7.1 Family Fundamentals pass4sure 000-535 Exam : IBM Certified Specialist- Advanced [...]
[...] Networking and Virtualization Architecture, Version 2 pass4sure 000-424 Exam : IBM zSeries Sales V1 pass4sure 000-512 Exam : DB2 UDB V7.1 Family Fundamentals pass4sure 000-535 Exam : IBM Certified Specialist- Advanced [...]
[...] Pass4sure 000-512 Testking 000-512 Actualtest 000-512 [...]
[...] Pass4sure 000-512 Testking 000-512 Actualtest 000-512 [...]
[...] Pass4sure 000-512 Testking 000-512 Actualtest 000-512 [...]