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.
| Author |
Topic |
|
kpgraci
Yak Posting Veteran
68 Posts |
Posted - 2011-05-16 : 15:21:49
|
| If not in a stored procedue I would do this:SELECT 17.3 AS MyValue, * FROM MyTableIn SP I tried this:ALTER PROCEDURE dbo.MySP ( @tz float )AS SELECT @tz AS MyValue, * FROM MyTable RETURNAnd S2010 complains of a systax error near keyword FROMHow can I do this is a SP?kpg |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
kpgraci
Yak Posting Veteran
68 Posts |
Posted - 2011-05-16 : 15:40:45
|
| oh man, one of those days...I had an extra comma - it worksthankskpg |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|