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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 stored procdure call within select statement
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 05/09/2002 :  09:43:55  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
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
Constraint Violating Yak Guru

USA
479 Posts

Posted - 05/09/2002 :  09:49:19  Show Profile  Reply with Quote
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

United Arab Emirates
1408 Posts

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



--------------------------------------------------------------
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000