Databases Interview Questions
Questions Answers Views Company eMail

how many non clustered index in sql server 2008,2010,2012

Accenture,

2 6299

what is the difference between table and view

1 2585

I have a task regarding access database. I and my organization is using access database  to maintain my access files in well mannered way. But due to varied reasons access file showing error message Error 3112: Your access database got corrupted will not be able to show the database. Due to this error message I will not be able to access my access database. I don't have any idea how to recover access database or how to fix access database errors without affecting my original database????? Is there any relevant solution to repair access database?????

1534

plss anybody specify tha constrian management system in dbms

Police Constable,

1564

In table a 1lakh data is present,in table b 20 thousand data is present, to get unique data from table a and b which join to be considered. whether right outer join or left inner join. 

GE,

2 4040

I have 2 table A and B. In A 1 lakh record is present. In b 20 thousand data is present. To get the unique data from table A and B which join we should prefer left inner join or right outer join. Please answer.

GE,

4 8385

if table named a is there and 4 records are there then how to swap (1 and 3) and (2 and 4) records at a time

1 3140

The use of LAST_VALUE() AND FIRST_VALUE() with an example

Amazon,

1 4329

.dbf file corrupted Dear Friends, I am using DBF file in Foxpro. DBF file corrupt and show message "Not a database file" Waiting for your reply. With regards!

3 4735

How to genrate automaticlly empid like gt001

4 4507

.  have a tablle like this: cust acc ----------- a 1 b 2 b 3 c 4 c 5 c 6 I Want below o/p: cust acc --------------- a 1 b 2|3 c 4|5|6 Please any one can you have any ideas share me. I have urgent requirement. CUST         ACC a            dv b            fg b            bh c            mk c            cl c            so result:- A  B   c dv fg mk    bh cl       so

3 5262

when normalization is required

HCL,

3 6612

I have a table like this Table Name:Products Productid Price 1 10 1 10 2 20 3 30 3 30 But i want to output like this. productid price 2 20. please replay me.

TCS,

3 4707

I have 2 tables with 1 million rows each. I have updated 1 row in first and 1 million update on second table. Now I commit both the updates. Which one will commit fast and Why?

2123

There are 100 datafiles, numbered from 1 to 100. File number 10 is deleted and it has 500 MB of data. The database is working in archive log mode. How can be the database recovered ? While doing recovery the archive logs applied are from nos 1 to 100, but 50 gets corrupted. What do we do? Can we proceed further? If so how?

1703


Un-Answered Questions { Databases }

What is nosql vs sql?

553


What does joining a thread mean?

537


What is difference between count (*) and count column?

513


What is use of except clause?

616


What is record variable?

542






What is a table called, if it has neither cluster nor non-cluster index? What is it used for?

587


Can you explain full-text query in sql server?

541


What is sql*loader and what is it used for? : aql loader

610


Explain different types of Normalization.

590


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

1505


What is the definition for sql server 2000?

576


What is the maximum number of rows in access 2010?

472


What are the objectives of rdbms?

525


What is the difference between hashed file stage and sequential file stage in relates to datastage server?

652


What is function of master database?

94