Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
satyapriyanayak
Narayanan
JQuery Developer
Karthikeyan Anbarasan
Amit Mehra
Home
>>
Interview Question
>>
Sql Server
>>
Post New Question
Subscribe to Interview Questions
Which stored procedure will you be running to add a linked server?
Posted By :
nishithraj
Posted Date :
December 24, 2009
Points :
10
Category :
Sql Server
sp_addlinkedserver, sp_addlinkedsrvlogin
You can also find related Interview Question to
Which stored procedure will you be running to add a linked server?
below:
Which stored procedure will you be running to add a linked server? -
sp_addlinkedserver, sp_addlinkedsrvlogin
(More...)
what is the use of sp_who System Stored procedure In Sql Server?
Provides information about current Microsoftî SQL ServerT users and processes
(More...)
Database: Is recursion is posible in Sql server stored procedure
Yes, Stored procedure in sql server can call itself.
(More...)
What do you need to specify to create a linked server?
OLE DB Data Source
(More...)
When do you need to specify an external data source by using a linked server?
When you need to access a different instance.
(More...)
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.
(More...)
Where is Cache data stored-in memory, on the hard disk, in a database, or on a state server?
The Cache object is stored in memory.
(More...)
Maximum number of parameters you can pass in a Store procedure in SQL Server 2005?
2100.
(More...)
Which system table holds the details of all the processes running on the Microsoft sql server?
The name of the system table is sysprocesses .
Select * from sysprocesses
Make sure you run this query in master database.
(More...)
How to deal with return value of stored procedure when you are using DataReader ?
To deal with such scenario, you can find "ParameterDirection.ReturnValue" in .net
You can use this parameter direction to read the return value of the stored procedure.
Following example can make it more clearer.
In case, you have following or similar type of return statement somewhere in your stored procedure.
Return -999
To read this value, following code works,
Dim result As Integer = 0
Dim retValParam As New SqlClient.SqlParameter("@RETURN_VALUE", SqlDbType.Int)
retValParam.Direction = ParameterDirection.ReturnValue
dbCommand.Parameters.Add(retValParam)
database.ExecuteNonQuery(dbCommand)
result = retValParam.Value ' here the result must contain the returned value. In this case, it will be -999
(More...)
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
Interview Question
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend