dot Net Database

  Home  Microsoft .Net Technologies  dot Net Database


“dot Net Database Frequently Asked Questions in various .Net Database Interviews asked by the interviewer. So learn dot Net Database with the help of this .Net Database Interview questions and answers guide and feel free to comment as your suggestions, questions and answers on any .Net Database Interview Question or answer by the comment feature available on the page.”



23 Dot Net Database Questions And Answers

1⟩ What is State?

Four type of states are as under:

1.Application state

2.Session state

3.Cookie state

4.View state.

 184 views

2⟩ What is differences between framework 1.0 and framework 1.1?

1. Native Support for Developing Mobile Web Applications

2. Unified Programming Model for Smart Client Application Development

3. Enable Code Access Security for ASP.NET Applications

4. Native Support for Communicating with ODBC and Oracle Databases

5. Supports for IPv6

 204 views

4⟩ Explain What is Task?

Whenever you execute a program, the operating system creates a new task for it. The task is like an envelope for the program. It identifies the program with a task number and attaches other bookkeeping information to it.

 180 views

5⟩ Explain What is indexing?

An index

1. is sorted by key values, (that need not be the same as those of the table)

2. is small, has just a few columns of the table.

3. refers for a key value to the right block within the table.

4. speeds up reading a row, when you know the right search arguments.

 184 views

7⟩ How to deploy an asp.net application?

We can deploy an ASP.NET Web application using any one of the following three deployment options.

a) Deployment using VS.NET installer

b) Using the Copy Project option in VS .NET

c) XCOPY Deployment

 188 views

13⟩ Explain the use of trace utility?

Tracing is a very important monitoring and debugging tool for distributed, multitier applications. Such applications often contain problems that can only be observed when the application is under a heavy load and the inherent randomness of a real-life environment. Trace utility allows developers and administrators to monitor the health of applications running in real-life settings.

 166 views

14⟩ Explain an execution plan? When would you use it? How would you view the execution plan?

The Query Analyzer has a feature called Show Execution Plan. This option allows you to view the execution plan used by SQL Servers Query Optimizer to actually execute the query. This option is available from the Query menu on the main menu of Query Analyzer, and must be turned on before the query is executed. Once the query is executed, the results of the execution plan are displayed in graphical format in a separate window, available from a tab that appears below the query results window on the screen.

 207 views

17⟩ Explain What is referential integrity and how can we achieve it?

Referential integrity preserves the defined relationships between tables when records are entered or deleted. In SQL Server, referential integrity is based on relationships between foreign keys and primary keys or between foreign keys and unique keys. Referential integrity ensures that key values are consistent across tables. Such consistency requires that there be no references to nonexistent values and that if a key value changes, all references to it change consistently throughout the database.

We can achieve this by using foreign key.

 183 views

18⟩ Explain the different types of replication? How are they used?

Replication is used for distributing data and the execution of stored procedures across an enterprise. The replication technology allows you to make duplicate copies of your data, move those copies to different locations, and synchronize the data automatically so that all copies have the same data values.

The different types of replications are

a) transactional replication

b) merge replication

 186 views

19⟩ Name 3 ways you can get an accurate count of the number of records in a table Using query analyzer?

SELECT count( * ) as totalrecords FROM employee

This will display total records under the name totalrecords in the table employee

use COUNT_BIG

Returns the number of items in a group.

@@ROWCOUNT

Returns the number of rows affected by the last statement.

Use this statement after an SQL select * statement, to retrieve the total number of rows in the table

 208 views

20⟩ Explain similarities and differences between the Java and .NET?

The difference is that java is fully platform independent but .net is not fully independent ant other difference id that some tools of java is more complex compare with .net like setup and deployment.

but java and .net also some similarities that both platform are deploy window and web application and both are use server like IIs and tomcat5.5 .

 185 views