SQL Concept Questions &Answers
- Ttitle
- Btitle
- Title
- Nothing
Ans:a
2.___________command
sets the bottom title for each page of a report
- Ttitle
- Btitle
- Title
- Nothing
Ans:b
3. ________command
give4s SQLPlus a variety of instruction on the heading format and treatment of
a column.
- Column
- Row
- Break
- Not the above
Ans:a
4.__________command
tells SQL Plus where to put spaces between sections of a report
- break on
- break
- Space
- Brk
Ans:a
5.__________ makes SQL
Plus calculate the sub totals
- Compute sum
- Compute total
- Compute
- Calculate
Ans:a
6. ___________sets the
maximum number of character allowed on
any line of the report
- Set break
- Set linesize
- Set pagesize
- Nothing
Ans:b
7.___________ sets the
maximum number of lines per page
- Set break
- Set linesize
- Set pagesize
- Nothing
Ans:c
8.__________ sets the
number of blank lines between pages
- Set break
- Set linesize
- Set pagesize
- Set newpage
Ans:d
9.SPOOL
means_________________
- Simultaneous
peripheral Operation OnLine
- Same
peripheral Operation On Line
- Sequence peripheral
Operation On Line
- Not the above
Ans:a
10.
___________
moves a report we would normally see displayed on the screen into a file.
- SPOOL
- SQL Plus
- Server
- Not the Above
Ans:
a
11.
_____________-
marks the beginning & ending of a comment
- /**/
- /++/
- /*/
- /||/
Ans:a
12.
/**/
is similar to _____________
- Equal
- Less
- Break
- Remark
Ans:d
13.
__________
marks the beginning of an inline comment within a SQL Query
- __
- /**/
- /??/
- /&*/
Ans:a
14.
___________
treats everything from the mark to the end of the line as a comment
- __
- /**/
- /??/
- /&*/
Ans:a
15.
__________
makes the screen display stop between pages of display
- Set break
- Set pause
- Set stop
- Not the above
Ans:b
16.
__________
saves the SQL Query we’re creating into the file of out choice
- Store
- Commit
- Save
- STT
Ans:c
17.
___________
sends any command to the host operating system
- Host
- Server
- Network
- Nothing
Ans:a
18.
___________
tells SQL Plus to follow (execute) the instruction we’ve saved in a file.
- Start or @
- Start
- @
- Start and @
Ans:a
19.
___________
pops out of SQL Plus and into an editor of our choice
- Ed
- ED
- Edit
- EDT
Ans:c
20.
_____________
tells SQL Plus the name of the editor of our choice
- Define
- Editor
- Define_editor
- Defineeditor
Ans:c
21.
______________
terminates SQL Plus
- EXIT
- QUIT
- Exit Only
- Exit or Quit
Ans:d
22.
To
make report header we can use __________________
- Report header
- Header
- Repheader
- Report_header
Ans:c
23.
To
make report footer we can use __________________
- Report footer
- footer
- Repfooter
- Report_ footer
Ans:c
24.
_________
will delete just what is on the current line
- Del
- Delete
- Remove
- Clear
Ans:a
25.
If
we would like to add something to the current line we can use the _____________
command
- Add
- New
- Append
- AAppend
Ans:c
26.
To
clear the columns we should use __________
- Remove column
- Clear columns
- Delete columns
- Del columns
Ans:b
27.
To
clear the breaks we should use __________
- Remove breaks
- Clear breaks
- Delete breaks
- Del breaks
Ans:b
28.
To
clear the computes we should use __________
- Remove
computes
- Clear computes
- Delete
computes
- Del computes
Ans:b
29.
____________
data type for fixed length characters
- Char
- Varchar
- Varchar2
- Number
Ans:a
30.
____________
data type for variable length characters
- Char
- Character
- Varchar2
- Number
Ans:c
31.
_________________
is synonymous to ____________
- Varchar2,
varchar
- Varchar,varchar2
- Char, number
- Nothing
Ans:a
32.
Oracle
uses ___________________mark to denote the beginning & end of any literal
string
- ‘’
- “”
- :
- ;
Ans:a
33.
The
output of LOWER(ABCD) ____________
- Abcd
- AbcD
- ABCD
- abcd
Ans:d
34.
The
output of UPPER(abcd) ____________
- Abcd
- AbcD
- ABCD
- abcd
Ans:c
35.
_________
function is used to concatenate two strings
- ||
- +
- ++
- &&
Ans:a
36.
__________
returns the decimal representation in the database character set of the first
character of the string
- ASCII
- ANSI
- EBCD
- Impossible
Ans:a
37.
___________ returns the character having the binary equivalent to the string
- Binary
- CHR
- Chr
- EQU
Ans:b
38.
____________
it concatenates two string together
- CONCAT
- Concate
- Concatenate
- Merge
Ans:a
39.
__________capitalizes
the first character of a word or series of words
- INITCAP
- INTCap
- CAP
- CAPITAL
Ans:
a
40.
___________finds
the location of a character in a string
- STRIN
- String Loc
- INSTR
- None of the
above
Ans:c
41.
___________
tells the number of charcter in a string
- Size
- LENGTH
- Str len
- Strlength
Ans:
b
42.
___________
converts the upper case to Lower case
- LOWER
- UPPER
- LOWERCASE
- UPPERCASE
Ans:a
43.
___________ converts the lower case to upper
case
- LOWER
- UPPER
- LOWERCASE
- UPPERCASE
Ans:b
44.
___________
makes a string a certain langth by adding a certain set of characters to the
left
- LPAD
- RPAD
- LTRIM
- RTRIM
Ans:a
45.
___________
makes a string a certain length by adding a certain set of characters to the
right
- LPAD
- RPAD
- LTRIM
- RTRIM
Ans:b
46.
_____________
trims all the occurrences of spaces in left side of a string
- Ltrim
- Rtrim
- Trim
- LRtrim
Ans:a
47.
_____________
trims all the occurrences of spaces in right side of a string
- Ltrim
- Rtrim
- Trim
- LRtrim
Ans:b
48.
_____________
trims all the occurrences of spaces in both side of a string
- Ltrim
- Rtrim
- Trim
- LRtrim
Ans:c
49.
____________
finds words that sound like the example specified.
- SOUND
- SOUNDEX
- SoundExam
- SUNDEX
Ans:b
50.
____________
clips out a piece of a string
- SUBSttrin
- SUBSTR
- STRINGSUB
- STRING2
Ans:b
51.
To
_______ and __________ string have to use LPAD, RPAD, LTRIM,RTRIM,TRIM,SUBSTR
- Cut, paste
- Cut
- Paste
- Copy
Ans:a
52.
No comments:
Post a Comment