Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use calculated value in the same select
Message
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00901314
Message ID:
00901341
Views:
18
Mat,

Well, I figured you had just simplified it for illustrative purposes. Are you simply executing this query or are you executing a Stored Procedure? I use Stored Procs for all my data access and highly recommend this practice (though I'm sure not everyone agrees with me there).

~~Bonnie



>Bonnie,
>
>Thank you for the reply. I am using SQL Server and I had thought about your suggestion, but the calculations are more complicated than the exmaple I gave. So it would be a lot cleaner if I could use the calculated results.
>
>Kind Regards,
>
>Mat
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform