Database Interview Questions



Job interviews are always stressful and they are tough enough to make fresher and even experienced one feel nervous and scary of the interview. Technical-interviews.com has been developed to help students and jobseekers to prepare for the tough job interview questions shot at them. Review the job interview questions and answers on networking basics, load runner, winrunner, .net, vb, java, oracle and many more common job interview questions online here. You have just made the first step to build the foundation for a successful interview by reviewing Technical-interviews.com.

MS SQL Server Interview Questions

   1. What is normalization? - Well a relational database is basically composed of tables that contain related data. So the Process of organizing this data into tables is actually referred to as normalization.

   2. What is a Stored Procedure? - Its nothing but a set of T-SQL statements combined to perform a single task of several tasks. Its basically like a Macro so when you invoke the Stored procedure, you actually run a set of statements.

   3. Can you give an example of Stored Procedure? - sp_helpdb , sp_who2, sp_renamedb are a set of system defined stored procedures. We can also have user defined stored procedures which can be called in similar way.

MS SQL Server Interview Questions II

  11. Which TCP/IP port does SQL Server run on? - SQL Server runs on port 1433 but we can also change it for better security.

12. From where can you change the default port?
- From the Network Utility TCP/IP properties –> Port number.both on client and the server.

  13. Can you tell me the difference between DELETE & TRUNCATE commands? - Delete command removes the rows from a table based on the condition that we provide with a WHERE clause. Truncate will actually remove all the rows from a table and there will be no data in the table after we run the truncate command.

14. Can we use Truncate command on a table which is referenced by FOREIGN KEY?
- No. We cannot use Truncate command on a table with Foreign Key because of referential integrity.

MS SQL Server Interview Questions III

21. What is a Join in SQL Server? - Join actually puts data from two or more tables into a single result set.

  22. Can you explain the types of Joins that we can have with Sql Server? - There are three types of joins: Inner Join, Outer Join, Cross Join

23. When do you use SQL Profiler?
- SQL Profiler utility allows us to basically track connections to the SQL Server and also determine activities such as which SQL Scripts are running, failed jobs etc..

MS SQL Server Interview Questions IV

  31. What are the authentication modes in SQL Server? - Windows mode and mixed mode (SQL & Windows).

  32. Where do you think the users names and passwords will be stored in sql server? - They get stored in master db in the sysxlogins table.

DBA Interview Questions 25

  1. What is Log Switch? - The point at which ORACLE ends writing to one online redo log file and begins writing to another is called a log switch.
  2. What is On-line Redo Log? - The On-line Redo Log is a set of tow or more on-line redo files that record all committed changes made to the database. Whenever a transaction is committed, the corresponding redo entries temporarily stores in redo log buffers of the SGA are written to an on-line redo log file by the background process LGWR. The on-line redo log files are used in cyclical fashion.

Pages (14): « First ... « 1 2 3 [4] 5 6 7 » ... Last »