|
Home > Archive > Microsoft SQL Server forum > February 2006 > Store Procedure Query
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Store Procedure Query
|
|
|
| Hello All
I get stuck in one problem , Please help me and excuse me on the poor
Knowledge
in SQL Server Store procedure
Q1...I want to return a string type value from store procedure , Is it
possible to do it.if posible then Please guide us how we can do it .
Q2...I search a lot on net but i am unable to understand the Extended
Store Procedure.
How to register it and how to use in our store procedure .
Q3 ... How to use xp_sendmail.dll in SQL Server.
Thanking you
With regards
Tarun
| |
|
|
Q1...I want to return a string type value from store procedure , Is it
possible to do it.if posible then Please guide us how we can do it .
Giving back the string within a output variable:
CREATE
PROCEDURE SomeProc
(
SomeVar VARCHAR(30) OUTPUT
)
AS
--proceduretext with filling the OUTPUT variable
--Giving back the data within a Select statement
CREATE
PROCEDURE SomeProc
AS
SELECT 'SomeText'
Q2...I search a lot on net but i am unable to understand the Extended
Store Procedure.
How to register it and how to use in our store procedure .
http://www.mssqlcity.com/FAQ/Devel/...d_procedure.htm
Q3 ... How to use xp_sendmail.dll in SQL Server.
This is already registered on SQL Server and can be used with the
xp_sendmail statement.
HTH, Jens Suessmeyer.
|
|
|
|
|