Quizzes
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
›
Computer
Db2_quiz_for_cbe13mj6_batch
24 Questions
|
By Sanjaycts | Updated: Jun 20, 2014
| Attempts: 232
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 25
🏆
Rank #--
▾
0 %
0/100
Score
0/100
1.
DBRM?
Submit
Start Quiz
About This Quiz
2.
What first name or nickname would you like us to use?
You may optionally provide this to label your report, leaderboard, or certificate.
2.
Write a query to get the 4th maximum salary employee details from table? table name :emp
Submit
3.
Which command is used to give access permission to the table?
Grant
Select
Revoke
Commit
Permit
Submit
4.
NULL indicator variable pic clause?
Pic s9(4) comp-3
Pic s9(4) comp.
Pic 9(04).
S9(8) comp.
Submit
5.
If any records deleted in parent table the corresponding records should get deleted?
On delete cascade
On delete restrict
On delete set to null
None
On delete update
Submit
6.
Write a query to get the total sal for each project?
Select total(sal) from emp group by project_name
Select sum(sal) from emp
Select count(sal) from emp group by project_name
Select sum(sal) from emp group by project_name
Select sum(sal) from emp order by project_name
Submit
7.
Declare cursor can be defined in procedure division?
True
False
Submit
8.
UNION ALL eliminate the duplicate records in the result set?
True
False
Submit
9.
Sqlcode =-811
Select query fetches more than one row
Trying to insert null value to the table
Timestamp mismatch error
Dbrm member not found
Submit
10.
LIke statement can be used in numeric datatypes fields?
True
False
Submit
11.
Which utility is used to execute db2 program?
Ikjeft01
Ikjeft02
Ikfet01
Iefbr14
Idcams
Submit
12.
Package is executable ?
True
False
Submit
13.
Trying to fetch the cursor wothout opening it?
-501
-503
-811
-503
Submit
14.
Write a query to insert null value to the table? emp_id,emp_name,emp_sal
Insert into emp(emp_id,emp_name) values(100,'abc')
Insert into emp values(100,'abc')
Insert into emp(emp_id,emp_name,emp_sal) values(100,'abc',' ')
Insert into emp values(100,' ')
Submit
15.
Sqlcode = +100
Query executed successfully
End of table or no record found
End of table reached
No record found in the table
Submit
16.
Sqlcode = -180?
Date,time,timestamp are invalid
Date,time,timestamp are valid
Null value fetching
Timestamp mismatch error
Time,timestamp are invalid
Submit
17.
Input to the bind ?
Sql statements
Cobol statements
Cobol &sql statements
None
Submit
18.
What is the physical storage length of each of the following DB2 data types: TIMESTAMP
10
26
8
4
Submit
19.
Max() function can be used in char data type?
True
False
Submit
20.
What is the table name to list the structure of the db2 table?
Sysibm.systables
Sysibm.syscolumns
Sysibm.syskeys
Sysibm.syscols
Submit
21.
Which of the following utility is used to take backup of the db2table?
Load
Unload
Reorg
Backup
Submit
22.
What is the correct order steps in cursor?
Declare,open,close
Declare,open,close,fetch
Declare,open,fetch,close
Open,fetch,close
Declare,open,fetch
Submit
23.
What is the cobol pic clause for db2 datatype decimal(9,2)?
Pic s9(9)v99 comp-3.
Pic s9(7)v9(2) comp-3
Pic s9(7).9(2) comp-3.
Pic s9(7)v9(2) comp.
Pic 9(7)v9(2) comp-3.
Submit
24.
Emp_name varchar(25) cobol pic clause?
01 emp-name. 05 emp-name-len pic s9(4) comp.05 emp-name-text pic x(25).
01 emp-name. 05 emp-name-len pic s9(4) comp.05 emp-name-text pic 9(25).
01 emp-name. 49 emp-name-len pic s9(4) comp-3.49 emp-name-text pic x(25).
01 emp-name .49 emp-name-text pic x(25).49 emp-name-len pic s9(4) comp.
01 emp-name. 49 emp-name-len pic s9(4) comp.49 emp-name-text pic x(25).
Submit
×
Thank you for your feedback!
View My Results
Related Quizzes
Tablet Quiz: What Tablet Should I Buy Quiz
Tablet Quiz: What Tablet Should I Buy Quiz
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (24)
Unanswered (
)
Answered (
)
DBRM?
Write a query to get the 4th maximum salary employee details from...
Which command is used to give access permission to the table?
NULL indicator variable pic clause?
If any records deleted in parent table the corresponding records...
Write a query to get the total sal for each project?
Declare cursor can be defined in procedure division?
UNION ALL eliminate the duplicate records in the result set?
Sqlcode =-811
LIke statement can be used in numeric datatypes fields?
Which utility is used to execute db2 program?
Package is executable ?
Trying to fetch the cursor wothout opening it?
Write a query to insert null value to the table?...
Sqlcode = +100
Sqlcode = -180?
Input to the bind ?
What is the physical storage length of each of the following DB2 data...
Max() function can be used in char data type?
What is the table name to list the structure of the db2 table?
Which of the following utility is used to take backup of...
What is the correct order steps in cursor?
What is the cobol pic clause for db2 datatype decimal(9,2)?
Emp_name varchar(25) cobol pic clause?
X
OK
X
OK
Cancel
X
OK
Cancel
Your Rank: #-- / --
Leaderboard
✕