SQL PLSQL Interview Questions
Questions Answers Views Company eMail

How can u find column name from a table which have max value in a row.( not max value)

5 6107

Temporary table vs Table variable in sql server?

Wipro,

1894

How to retrieve a second highest salary from a table? Note:Suppose salaries are in duplicate values eg: Name Sal Malli 60000 Pandi 60000 Rudra 45000 Ravi 45000

Mind Tree, Polaris, Sonata,

10 13094

what is difference between pass by value and eference by value in oracle plsql

1 5270

Source is Sales Table: Sno Prod Sales Sales_Amount 1 A 10 2000 2 A 20 1000 3 C 10 3000 4 D 30 4000 5 A 20 1000 Target : Sales_Count T_Sales_Amt Sales_Count(A) T_Sales_Amt(A) 90 11000 50 4000 In single query, pls tell me.

CGI,

5 6988

Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

1550

Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com

TCS,

2056

what is the difference between pragma exception_init and raise_application_error

Aetins, State Street,

1 35155

What is difference between select statement and cursor

JDA,

3 19465

What will be the output of this Query? select to_char(trunc(add_months(sysdate-3),mm),mm/dd/yyyy) from dual

Cap Gemini, TCS,

6 17718

What are the steps you take to tune(performance tuning) the code in plsql?

Cap Gemini, Infosys, TCS,

4 16023

HOW TO ADD PRIMARY KEY TO TABLE BY PL/SQL PROGRAM

3 5713

why not null constraint showing its constraint type as 'c'

1 3890

What is the basic difference between a sql and stored procedure ?

L&T,

2 5551

Which is the best place to learn hadoop?

1 4618


Post New SQL PLSQL Questions

Un-Answered Questions { SQL PLSQL }

What is optimistic concurrency control? : Transact sql

538


Why we use stored procedure instead of query?

525


What is difference between stored procedures and application procedures?

560


how can we submit a form without a submit button? : Sql dba

526


How many types of triggers exist in pl/sql?

557






Explain foreign key in sql?

615


Which operator is used in query for pattern matching?

616


what is oltp (online transaction processing)? : Sql dba

523


what is the difference between join and union? : Sql dba

539


What is dense_rank?

530


What is the difference between python and sql?

514


Explain unique key in sql.

552


Why do we create views in sql?

544


What are the different dml commands in sql?

578


What is primary key and foreign key?

524