- What are joins?
Sometimes we have to select data from two or more tables to make our result complete. We have to perform a join.
marquee
LATEST DOTNET INTERVIEW QUESTIONS
Sunday, 24 November 2013
What are joins?
What is serialization?
What is serialization?
Serialization is the
process of converting an object into a stream of bytes. Deserialization is the
opposite process of creating an object from a stream of bytes.
Serialization/Deserialization is mostly used to transport objects (e.g. during
remoting), or to persist objects (e.g. to a file or database).
What is garbage collection?
What is garbage collection?
Garbage collection is a
system whereby a run-time component takes responsibility for managing the
lifetime of objects and the heap memory that they occupy. This concept is not
new to .NET - Java and many other languages/runtimes have used garbage
collection for some time.
singleton and singlecall.
singleton and singlecall.
Singleton types never have more than one instance at any one time. If an instance exists, all client requests are serviced by that instance.
Single Call types always have one instance per client request. The next method invocation will be serviced by a different server instance, even if the previous instance has not yet been recycled by the system
What base class do all Web Forms inherit from
What base class do all Web Forms inherit from?
System.Web.UI.Page
Thursday, 21 November 2013
How do I select 2nd highest salaried employee from my EMPLOYEE table?
How do I select 2nd highest salaried
employee from my EMPLOYEE table?
Ans.
Ans.
|
SELECT
EMPLOYEE.*,
MAX(EMPLOYEE.Salary) AS SalarySecondHighest
FROM EMPLOYEE
WHERE EMPLOYEE.Salary<
(SELECT
MAX(EMPLOYEE.Salary)
AS SalaryFirstHighest
FROM EMPLOYEE)
|
Which date function is used to find the difference between two dates?
Which date function is used to find
the difference between two dates?
Ans.
|
SELECT DATEDIFF(dd,'10-10-2010','15-10-2010')
|
OUTPUT: 5
more=>http://msdn.microsoft.com/en-us/library/ms189794.aspx
more=>http://msdn.microsoft.com/en-us/library/ms189794.aspx
Subscribe to:
Posts (Atom)
Popular Posts
-
ASP.NET QUESTIONS 1) On which of the operating system below ASP.NET can run? a) Windows XP Professional ...
-
ASP.NET QUESTIONS 1) On which of the operating system below ASP.NET can run? a) Windows XP Professional ...
-
T-SQL Queries 2 tables Employee Phone empid empname salary mgrid empid phnumber Select all employees...
-
21) To set page title dynamically in ASP.NET which of the following is used ? a) None of the above b) ...
-
Asp.net Page Life cycle This is a transcript of a programming manual, to refresh my memory, and it’s always good to RTFM. As a contro...
-
56) Which of the following is true ? a) IsPostBack is a method of System.UI.Web.Page class b) IsPostBa...
-
Interview Questions .NET Windows Forms 1) Write a simple Windows Forms MessageBox statement? 2) Can you write a class witho...
-
46) To add a custom control to a Web form we have to register with a) TagPrefix > b) Name space of the...
-
TOP MNC DOTNET INTERVIEW QUESTIONS Tell me a bout yourself What are ACID Properties About work experience in a compan...
-
30) Which of the following languages can be used to write server side scripting in ASP.NET? a) C# (ANS) ...