You are here: Re: Store Procedure Query « MsSQL Server « IT news, forums, messages
Re: Store Procedure Query

Posted by Jens on 02/18/06 11:43

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/create_extended_stored_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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация