Simple select using calculated column
From: Earl Teigrob (earlt777_at_hotmail.com)
Date: 03/03/04
- Next message: Adam Machanic: "Re: Stored Procedure help"
- Previous message: Lara: "Re: In addition to "Export data to Excel""
- Next in thread: Vishal Parkar: "Re: Simple select using calculated column"
- Reply: Vishal Parkar: "Re: Simple select using calculated column"
- Reply: Anith Sen: "Re: Simple select using calculated column"
- Reply: Tibor Karaszi: "Re: Simple select using calculated column"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Mar 2004 11:34:29 -0600
I have a query like
select dbo.function(column) as newcol
from tablename
where newcol=0
everything works fine without the where clause
but when I add it, I get an error that newcol is an invalid column name
I am sure that I have done this before (quite a while ago) but can not
remember the syntax
Thanks for the help
Earl
- Next message: Adam Machanic: "Re: Stored Procedure help"
- Previous message: Lara: "Re: In addition to "Export data to Excel""
- Next in thread: Vishal Parkar: "Re: Simple select using calculated column"
- Reply: Vishal Parkar: "Re: Simple select using calculated column"
- Reply: Anith Sen: "Re: Simple select using calculated column"
- Reply: Tibor Karaszi: "Re: Simple select using calculated column"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|