Thursday, 19 June 2014

TECHNICAL INTERVIEW QUESTIONS ON SQL / PLSQL-- SET 2





 INTERVIEW QUESTIONS ON SQL / PLSQL-- SET 2



1. From the following combinations of wildcard characters , choose those that are equivalent.

(A) %
(B) _%
(C) %_
(D) __


CLICK HERE TO SEE THE ANSWER

ANSWER IS (B) AND (C)


2. The sql statement 

SELECT  ROUND (45.926 , -1)  FROM DUAL ;

(A) is illegal
(B) prints garbage 
(C) prints 045.926
(D) prints 50



3. Which of the following must be enclosed in double qoutes?

(A)Dates
(B)Column Alias
(C)Strings
(D) All of these



4. The SELECT statement

SELECT  'Hi' FROM DUAL WHERE 1 != NULL;

 outputs

(A) true
(B)Hi
(C)FALSE
(D) Nothing



5.  In sql SQL , 10/NULL will evalute to 

(A) FALSE 
(B)-1
(C) FALSE
(D) 10

No comments:

Post a Comment