Microsoft
Software
Hardware
Network
Question : in T-sql how to find 80% a one value based on other
i have joined view and a table. I have following 4 columns
ProjectName Quoted Actual Balance
in my t-sql script i have a case as below. I want to find:
When Actuals are less then Quoted
and Actual which have exceed 80% of Quoted.
I am entering the following case however i am getting convert to varchar or numeric error prompt, please can you fix the below statement
CASE
WHEN actual < quoted and WHEN actual >(quoted * .80)
Answer : in T-sql how to find 80% a one value based on other
what are the data types of the 2 columns?
also, you "requested logic" seems incorrect?
Random Solutions
uese cte twice in a query
Remove prefix
XenServer VM 2008 SP2 Blue Screen when sysprep is run on it
sharepoint excel services not available in cetral administration
classic asp 3.0 an email
acer aspire am5640...darn sound!!!
Using rand() to generate data
Remote Site cannot access the internet
Find and Replace text in Microsoft Word via MS Visual Studio
Iterate through string array to create files