SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 simple * in select
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mike13
Posting Yak Master

Netherlands
200 Posts

Posted - 12/06/2012 :  18:50:03  Show Profile  Click to see mike13's MSN Messenger address  Reply with Quote
Hi All,

trying to make a view, but statement is not accepted
select (Cost * 2)*1.21 as salesPriceTax from T_sales


thanks a lot

jimf
Flowing Fount of Yak Knowledge

USA
2869 Posts

Posted - 12/06/2012 :  19:32:23  Show Profile  Reply with Quote
What error are you getting? There's nothing wrong with what you've written.

Jim

Everyday I learn something that somebody else already knew
Go to Top of Page

mike13
Posting Yak Master

Netherlands
200 Posts

Posted - 12/06/2012 :  20:00:23  Show Profile  Click to see mike13's MSN Messenger address  Reply with Quote
nothing SQL 2008 just removes the 1.28
Go to Top of Page

jimf
Flowing Fount of Yak Knowledge

USA
2869 Posts

Posted - 12/06/2012 :  20:26:10  Show Profile  Reply with Quote
Could you post the whole query? What do you mean by "SQL 2008 just removes the 1.28"

Jim

Everyday I learn something that somebody else already knew
Go to Top of Page

mike13
Posting Yak Master

Netherlands
200 Posts

Posted - 12/07/2012 :  04:19:40  Show Profile  Click to see mike13's MSN Messenger address  Reply with Quote
sorry, got to work must have been sleeping
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.08 seconds. Powered By: Snitz Forums 2000