Databases Interview Questions
Questions Answers Views Company eMail

Can the SNAPSHOTS be refreshed automatically ?

1 2353

Can the User set Archive file name formats ?

1 3942

Which parameters are optional in init.ora parameter file?

1032




What is the use of NOARCHIEVELOG parameter in Database?

1 3832

Are Constraints exported through Export command?

1 2669

How the status of the Rollback segment can be viewed ?

1 2760

Can we assign Explicitly transaction to a rollback segment

1 3318

What file is read by ODBC to load drivers ?

Oracle,

1 7131

how to find nth highest salary

IBM, Oracle, Cognizant, NexGen,

103 125338

How do you start and stop MySQL on Windows?

3 3814

How do you start MySQL on Linux?

3 3438

Explain the difference between mysql and mysqli interfaces in PHP?

TCS,

10 27559

What?s the default port for MySQL Server?

Yahoo,

4 5181

What does tee command do in MySQL?

1 6632

Can you save your connection settings to a conf file?

1 2552







Un-Answered Questions { Databases }

plss anybody specify tha constrian management system in dbms

857


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

974


Table1: Col1 col2 1 2 10 3 4 89 5 6 Table:2 Col1 col2 3 2 9 5 4 7 6 87 With the help of table1 and table2 write a query to simulate the fallowing results. Output1: Col1 col2 1 2 2 3 3 4 4 5 5 6 Output2: Col1 col2 2 3 10 4 5 89 6 7 1.Write query for single row to multiple row using sql statements. Eg:a,b,c,d,e,f Change to A B C D E F 2. Write query for multiple row to single row using sql statements. Eg2 A B C D E F Change to Eg:a,b,c,d,e,f Table1: Col1 col2 8 5 2 9 4 2 5 1.Write a query to select all the rows from a table1,if the value of A is null then corresponding B’s value should be printed in A’s value.if the value of A is null in that table then corresponding B’s value should be printed as 30. 2. write a query to find the sum of A and B .display the max among both. 3.write a query to find total number of rows from table 1. Note: if any column value is null in a row then that row should be considered as 2 rows. 4.write a query to display all the records of table1 except A containg 2 as well B containg 5. 5.rewrite the fallowing without using join and group by. Select b.title,max(bc.returneddate –bc.checkoutdate)” mostdaysout” From bookshelf_checkout bc, Book shelf B Where bc.title(+)=b.title Group by b.title. 6.rewrite fallowing query Select id_category from category_master X where exists (select 1 from sub_category Y where X.id_category=Y.id_category) Customer: Name phone1 phone2 phone3 bitwise A 23456 67890 12345 --- B 67459 89760 37689 --- Don’t_call Col1 67890 37689 1.q) update the customer table of bitwise with 1 or 0. Exists in don’t_call table menas show -1 Other wise -0. Output. Name bitwise A 010 B 010

1129


Explain the Normalized Relations?

1612


suppose u have been seven tables based on that u have to create a report u don't have access to db. then how do u find the relation between tables

827






You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

2458


what are the types of LIST REPORTS in cognos8BI? and what is the mean and use of METRIC STUDIO in Cognos 8.3BI?

1048


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

842


If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...

991


What the is the diff between local index and global index. give some example.

465


HOW TO FIND display the total number of weeks in the year of 1998 IN EMP TABLE

1041


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

1150


can we use transformer in datastage without any input link?

766


Can we use GO_BLOCK package in a PRE_TEXT_ITEM trigger ?

1749


Does QTP Support the Propjects which are running in Dot Net? As we are starting with new project in Dot net need to use automation tool?Please advice & let me know what would be the best.

905