Viewing 12 posts - 1 through 12 (of 12 total)
I fixed it...
IT matters the order you put the ROWS clause in. Switching to
BETWEEN 12 PRECEEDING AND CURRENT ROW
mad it work.
Must be the way it spools the...
June 15, 2016 at 3:53 am
Well, it seems to work when I use FOLLOWING.. but obviously that's not what I need 🙁
June 15, 2016 at 3:40 am
The column is a decimal(5,2) -- it is actually the target column.. it updates to its own value if the case statement is not capturing a change for that scenario.
I...
May 25, 2016 at 12:23 pm
Hi, thanks for replying. I am getting a bit further. I have changed it to:
CAST((CAST(ISNULL(SU.Num, 0) AS Decimal(10,4))/CAST(o.Num AS Decimal(10,4)) * 100 )AS Decimal(5,2)...
May 25, 2016 at 10:22 am
Hi,
Thanks for all of your replies. I executed the code outside of a stored proc, replacing the input param with a known value. and managed to get the...
April 12, 2016 at 6:38 am
Hi
Thanks again. I took the print statement out, as it wasn't even getting that far.
I set no count too off, and see row counts for the inserts t the...
April 12, 2016 at 5:29 am
thanks for replying. I tried this, but it made no difference:
snip
--Execute SQL
EXEC (@W_SQL)
SET @W_NoOfBBMs = @W_NoOfBBMs - 1
END;
-- MERGE Routine to Update / Insert BBM_detail
MERGE BBM.BBM_Detail AS...
April 12, 2016 at 4:14 am
Hi,
wow, thanks for all the replies, I will work through them in my lunch hour. Yes, I cannot say how high each of the digits will go. It could...
January 21, 2015 at 5:02 am
Thank you so much, it works perfectly with single quotes!
I will have to read up about the difference between single and double quotes
Thanks to you both, once again 🙂
October 23, 2013 at 2:04 am
hi,
thanks for your quick reply. I did try this, but now I get another error with the Invoke-Expression:
Changed the command to :
$Command = ".\CheckJavaProcesses.ps1 -arg (,$ComputerArray)"
Error now is:
Invoke-Expression :...
October 22, 2013 at 8:43 am
Sorry for delay in replying.
I tried to use the transform data step, and although it parsed OK, when I ran it I got an invalid pointer error.
I rolled...
August 13, 2004 at 9:26 am
At the moment I have two tasks. The first runs two queries, and based on the results of those queries, it then executes another query in the next task, the...
August 12, 2004 at 1:31 pm
Viewing 12 posts - 1 through 12 (of 12 total)