GeekInterview.com
Series: Subject: Topic:

Database Interview Questions

 
Sub Categories (+ View)
Subject Name
Questions
Answers
Last updated
58
198
May
18th,
2012
203
1023
May
17th,
2012
113
436
May
10th,
2012
74
179
Feb
5th,
2012
11
0
Jul
19th,
2007
Showing Questions 1 - 20 of 86 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

What is the difference between delete,drop and truncate?

Asked By: Periyasamy | Asked On: Mar 10th, 2006

Answered by: karunakarsaroj on: May 24th, 2012

Truncate is much faster than delete. all same ans like above

Answered by: Hakkim on: May 22nd, 2012

Drop : Deletes both Table Structure and the Data
Truncate : Deletes only Data and it performs automatic Commit
Delete : Deletes only Data and Doesn't performs automatic Commit.

Session creation

Asked By: mfsi_chinmayb | Asked On: May 22nd, 2012

Why session is created ? how is it related to security concern for the application? why session id is created ?

Test cases for login screen

Asked By: ranjit rajendran | Asked On: Mar 21st, 2012

Login screen user id -> textbox password -> textbox sign in-> button.. can someone send me how to write test cases for the above requirement?

Answered by: pavan naphde on: May 19th, 2012

hi, when someone asked for test cases then test cases must be fulfill all the conditions, 1. Enter Valid User name and valid password And Click On Submit. 2. Enter Valid User name and valid passwor...

Answered by: prashanth on: Mar 28th, 2012

Expected result Actual result Launch the application Application should be launched Ente...

Starting Oracle services on vmware

Asked By: Abhijit10 | Asked On: Apr 30th, 2012

Hi, I am starting Oracle services on redhat LINUX , but unable to start " SQL * plus service" from console as well as from em(Oracle enterprise manager) error : "the connection was refused when attempting to contact localhost : 5560"

What kind of a query is this? How does it work?

Asked By: bhushanyavagal | Asked On: Apr 10th, 2012

Hi, I recently tried to get employee names and their dept names without a join condition, this query, although succeeds, I can't figure how it works. Please help. select ename,(select dname from dept where deptno=e.Deptno) from emp e;

Answered by: Mark Haynes on: Apr 11th, 2012

Youre using a Sub-query -- [(select dname from dept where deptno = e.deptno)] -- to get around using a join clause like -- [FROM EMP E INNER JOIN DEPT D ON (D.DEPTNO = E.DEPTNO)] -- however, you are n...

Answered by: Blaster_Ayub_Khan on: Apr 10th, 2012

SQL coins the term query as the name for its commands. Basically, all SQL code is written in the form of a query statement and then executed against a database. All SQL queries perform some type of da...

Integrity rules

Asked By: kh_trnh | Asked On: Jul 7th, 2008

List the rules used to enforce table level integrity.

Answered by: Sandhya.Kishan on: Apr 5th, 2012

There are 3 rules to enforce table level integrity. 1.Foreign key value can be modified only if we want to match the corresponding primary key value. 2.We cannot delete records either from parent or c...

Error trapping functions

Asked By: sakthi398 | Asked On: Apr 12th, 2009

Functions for error trapping are contained in which section of a PL/SQL block?

Answered by: Sandhya.Kishan on: Apr 5th, 2012

The Exception section of the PL/SQL block contains the functions for error handling.

Requirement gathering

Asked By: kh_trnh | Asked On: Jul 7th, 2008

Name three activities involved in requirement gathering

Answered by: Sandhya.Kishan on: Apr 5th, 2012

Three activities involved in requirement gathering are
1.Eliciting requirement
2.Analyzing requirement
3.Recording requirement

DDL operation trigger

Asked By: anilyashsoni | Asked On: Nov 11th, 2009

Which types of trigger can be fired on DDL operation? a. Instead of triggerb. Dml triggerc. System triggerd. DDL trigger

Answered by: Sandhya.Kishan on: Apr 5th, 2012

The trigger which can be fired on DDL operator is DDL trigger.

What is the difference between SQL & T-SQL?

Asked By: dhana | Asked On: Jan 23rd, 2007

Star Read Best Answer

Editorial / Best Answer

Answered by: NITIN TOMER

Answered On : Sep 6th, 2011

sql is a structured query language........and t-sql is implementing on sql server........and t-sql having some more queries than sql .

Answered by: Syed Umar Abbas on: Mar 28th, 2012

Microsoft SQL Server have some more additions to Database Standard Query Language (SQL) is called T-SQL

Answered by: Abdul Khadir on: Jan 3rd, 2012

SQL is the Structured Query Language. it is developed by IBM.
TSQL is the Transact SQL. it is implementation of the SQL server. it is developed by Microsoft.
TSQL is used in writing the procedure and some advanced concepts are written by this.

Difference between two tier architecture and three tier architecture?

Asked By: geetha | Asked On: Oct 20th, 2005

Answered by: koti on: Mar 16th, 2012

Class variables are the variables declared with the static modifier as a field of a class. These variables are created and initialized during the class loading itself and only one copy of such variabl...

Answered by: Faheem akram on: Dec 13th, 2011

Two- tier (client-server) Users access the database from their personal computer(client) over a network and the database sits on a separate computer (server) whereas Three-tier(Client-Application ser...

What is view? Types of views?Use of views?How to create view(syntax)?

Asked By: chim | Asked On: Jan 27th, 2006

Answered by: raman sharma on: Mar 2nd, 2012

view is called a temporarily table when we want to create the copy of any table as requirement column then we use the view

syntax-------------
create view (view name) as select (* or column name) from (table name);

Answered by: sachinbbau on: Feb 1st, 2011

A view is a virtual table, which provides access to a subset of columns from one or more tables. It is a query stored as an object in the database, which does not have its own data.

Different types of joins?

Asked By: Dimple | Asked On: Feb 1st, 2006

Answered by: raman sharma on: Mar 2nd, 2012

there are two type of join

1)inner join
inner join have a three type
I)equi join
II)nonequi join
III)self join

and outer join have a two type

I)right outer join
II)left outer join

and one is a ANSI join that a advance

Answered by: Pradeep on: Feb 21st, 2012

Join,
Inner join,
Outer join,
Left join,
Right join,
Full join

Difference between database & database server?

Asked By: Rana Irfan | Asked On: Mar 24th, 2006

Answered by: RAMAN SHARMA on: Mar 2nd, 2012

database is called when one computer are not connected with each other and only data are stored in one computer that called database and when computer are connected with each other or particular server so we can access the data every computer its called database server

Answered by: Narasimha Arumugam on: Oct 20th, 2011

Database is a repository of data and Server is the mediator between client and database to insert, modify and to Retrieve data against a query.

Names of constraints

Asked By: Krishna.Bhar | Asked On: Feb 5th, 2010

Oracle stores information regarding the names of all the constraints on which table? A)user_constraints b)dual c)user d)none of these

Answered by: raman sharma on: Mar 2nd, 2012

there are different type of constraints

1) primary key
2)unique key
3)foreign key
4)check constraints

Answered by: shikha.garg92 on: Jul 10th, 2010

User_constraints

Entity relationship

Asked By: GeekUser97212 | Asked On: Aug 5th, 2010

Explain a one-to-many strong vs. One-to-many weak entity relationship.

Answered by: raman sharma on: Mar 2nd, 2012

entity relationship when attribute are connected to entity there are different different type attribute are available weak entity and strong entity when we are using key that called strong entity and when key are not connected that called weak entity

Answered by: Lokesh M on: Nov 20th, 2011

Weak Entity generally don't possess key attributes of their own whereas a Strong Entity possess its own key attributes that are independent of other entities. Weak entity is usually existence-dependent on another entity type and does not have enough attributes to form its own primary key.

Using examples differentiate between a DBMS, RDBMS and a distributed database

Asked By: JimiJames | Asked On: May 24th, 2011

Been given this question from my son and he has told me that he googled the question but got no satisfactory answer. Would much appreciate an answer.

Answered by: raman sharma on: Mar 2nd, 2012

DBMS is a when data are not stored in table and RDBMS is used to all data are stored in table and distributed database when more than one table are connected with each other so its is called a distributed database

Answered by: suji on: Dec 21st, 2011

DBMS - It’s a software package combination of various computer programs which can be used to control, administer, maintain and use of the database. RDBMS - Its a database management system (DBMS) b...

What are the advantages and disadvantages in all normal forms in a DBMS?

Asked By: ashok | Asked On: Nov 24th, 2011

Answered by: raman sharma on: Mar 2nd, 2012

normal are of five type 1) 1 normal form 2) 2 normal form 3) 3 normal form 4) 4 normal form 5) 5 normal form all normal are created to connected a table with each other and data are retrieve very ea...

Relationship between database and data warehouse

Asked By: 6Gaara6 | Asked On: Dec 1st, 2009

What is the relationship between a company's databases and its data warehouse?

Answered by: Hirru on: Feb 10th, 2012

Database is a structured collection of relational data. Database is used to store the relational, network or hierarchical data. It contains some sort of data and it is being used by the organization...

Answered by: Lokesh M on: Nov 19th, 2011

In simple words, a database is used to store information, and a data warehouse is used to query and analyse the stored data in several ways. Data warehouse helps business management to take important...

Difference between data abstraction, schema and instance

Asked By: Omer Alwi | Asked On: Jun 5th, 2011

Difference between the three levels of data abstraction, and between a schema and instances.. Consider a two dimensional integer array of size n*m that is to be used in your favorite programming language. Using the array as an example, illustrate the difference (a) between the three levels of data abstraction,...

Answered by: Lokesh M on: Nov 19th, 2011

Data Abstraction means suppression of information / details of data organization and storage. Data Abstraction gives importance to mainly essential aspects in order to help better understanding of th...

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Btrieve Interview Questions

Clipper Interview Questions

Database Admin Interview Questions

Firebird Interview Questions

Informix Interview Questions

Microsoft Access Interview Questions

MYSQL Interview Questions

PostgreSQL Interview Questions

Progress Interview Questions

SAP DB Interview Questions

SQL Interview Questions

SQL Server Interview Questions

Stored Procedures Interview Questions

Sybase Interview Questions

Teradata Interview Questions

Unify Interview Questions

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".