Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
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


Report this thread to moderator Post Follow-up to this message
Old Post
TARUN
02-18-06 08:23 AM


Re: Store Procedure Query
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Jens
02-18-06 12:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:40 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006