Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 stored procdure call within select statement

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-05-09 : 09:43:55
Larry Peterson writes "can a stored procedure be called from within a select statement, and can the stored procedure call reference another select line parameter:

select name as uname, sp_upper()
input rodney
output rodney RODNEY"

dsdeming

479 Posts

Posted - 2002-05-09 : 09:49:19
In SQL 2000 you can call user-defined functions for within a select statement like you would any of the built-in functions. However, calling a stored procedure as you ask won't work.

Go to Top of Page

Nazim
A custom title

1408 Posts

Posted - 2002-05-09 : 09:58:37
Check this http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=15384



--------------------------------------------------------------
Go to Top of Page
   

- Advertisement -