SQL PLSQL Interview Questions
Questions Answers Views Company eMail

Main diff between varray and nested tablea

Polaris, TCS,

3 8531

Whate is use of MOD function in pl/sql.

Oracle,

3 6207

IF EMP HAS 2 ROWS,DEPT HAS 4 ROWS.WHATS THE RESULT OF SELECT * FROM EMP,DEPT;

1 4789

How to execute multiple sql statements in a single annonymous block irrespective of the sql statement result?

2 4026

In a table i have columns A,B,C and i have a composite index on columns A,B if so will the following query uses index or not? SELECT sal,name FROM WHERE A= AND B= AND C=;

Mastek,

2 4485

what is the difference between trigger and constraint?

HSBC,

3 7272

have table with two columns with datatypes as number and varchar and the values in A column like 1,2,3 AND B column values like a,b,c. now need to display data in a single column as 1,a,2,b,3,c.

IBM, Zensar,

8 12022

I have a CURSOR then why we need BULK COLLECT again?

1 6590

how will i became good database developer?

1 2416

table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

2 3338

Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

1722

table having two columns - entity,zone enity zone pen east pen west pen north pen south pen east pencil east pencil east pencil west I want the output as : entity east west north south pen 2 1 1 1 pencil 2 1 0 0

2 4078

table - new_no old_no 2345 1234 3456 2345 5678 4567 output sud be -new_no 1234 2345 3456 4567 5678

2 5110

table :- city name country code abc 11 bcd 22 cde 232 def 33 write a procedure , so that when we give a phone no. eg - 1123456789 - o/p sud be city name = abc if phone no. - 2322345897 , o/p sud be =cde note - bcd and cde city name sud be diff. as dey diff only with th last no. Pls ans. this questnion.

1 3389

ename empno deptno amar 1 10 akbar 2 20 anthonny 3 30 jonathan 4 40 write a procedure to dispaly the column values ina row separated by a deleimiter eg - input - select ename from emp '|' output - amar|akbar|anthony|jonathan input - select empno from emp '@' o/p - 1@2@3@4 input - select deptno from emp '/' o/p - 10/20/30/40 Pls answer this questn.

2 3971


Post New SQL PLSQL Questions

Un-Answered Questions { SQL PLSQL }

Can a table contain multiple foreign key’s?

571


Write the alter statement to enable all the triggers on the t.students table.

668


How do I delete a trigger?

541


Which is faster union or join?

491


How do you create a unique index?

569






What is a design view?

518


How do I run sql profiler?

584


How many subqueries can be nested in a statement?

503


Explain sql data types?

623


What is the current version of postgresql?

552


What is parameter substitution in sql?

523


What is the difference between syntax error and runtime error?

612


What's the procedure?

490


How much ram can sql express use?

505


differentiate between float and double. : Sql dba

555