Viewing 15 posts - 46 through 60 (of 69 total)
Ah, redeemed! Thanks Remi.
I always appreciate your answers.
September 22, 2005 at 8:50 am
Ok David, so is the .0 sort of a shortcut to force the float calculation?
September 22, 2005 at 8:41 am
Actually,
only Jesper got it right
either select 426.0/852
or
Select 426/852.0
with or without parens will return .50
select (426.0/852) /100.0 returns .0050
Thanks all, this tip will help simplify some of my...
September 22, 2005 at 8:09 am
Remi,
select (426/852)/100.0
Returns .000000
What did I do wrong?
September 22, 2005 at 7:43 am
Ok Ok.
Gomen-A-Sai mattemasu
(I'm Sorry)
So it's been 34 years since I was in Japan!
August 24, 2005 at 3:19 pm
Of course this would assume that you would only want to see records where Value A was in both tables. If You wish to see all of the records from...
August 24, 2005 at 2:38 pm
Maybe this is more complicated than I see at first blush but could it be as simple as a union?
SELECT Category, BrokersCost, OurPrice, Brokerscost - Ourprice AS [Total Savings]
FROM TableName
UNION
SELECT ...
August 11, 2005 at 9:53 am
Also, make sure the spreadsheet is not open and that it is located on a "Shared" source that can be seen by SQL.
August 5, 2005 at 10:46 am
I import into SQL from Sales_Force and use the Attached Link Server just fine. Just a qwirk, but try renaming the Sheet name with a single character. SF has mixed...
August 5, 2005 at 10:18 am
Calli,
Have you tried OpenRowset?
select *
from openrowset('SQLOLEDB','SERVER=ServerName;database=DatabaseName;UID=***;PWD=***', 'select * from TableName')
August 4, 2005 at 8:38 am
Give this a try:
declare @list varchar(8000)
set @List = ''
select @List = @List + egChar + ' 'cast(egInt as char(2)) + ', ' FROM egTable
Print @list
I...
July 27, 2005 at 8:02 am
Try this subquery in the Select statement:
(select Count(*) from theScoresTable where Agent_Name = dbo.QUALITY_TEST.agent_name and QUALITY_SCORE > 82.5) AS [Total Passes]
July 27, 2005 at 7:40 am
Exactly. The SP I presented the beginning of then takes the data in your example and pivots it using a cursor( I only know how to do a pivot table...
June 24, 2005 at 4:11 pm
This is one of two stored procedures I am trying to develop to display a call distribution. I was hoping to do it this way to stay awau from more complex...
June 24, 2005 at 12:22 pm
Viewing 15 posts - 46 through 60 (of 69 total)