Viewing 15 posts - 1 through 15 (of 111 total)
Need to adapt to this:
(substring(Value,charindex('.',Value)+1,LEN(Value)))
in order o get what's before the 'dot'.
Thnaks
August 1, 2013 at 11:56 am
Luis Cazares (7/30/2013)
You mean this?
LEFT(Value,charindex('.',Value)-1)
Exactly!
Thanks buddy!
July 30, 2013 at 10:20 am
Doesn't seem to be a permission error, we already deployed reports before and everything works fine.
No errors, thats why its weird.
I'm recreating the stored procedure, along with the report itself.
I...
July 25, 2013 at 5:35 am
Show Offfff... 🙂
I get the idea but it gives me:
ORDER BY items must appear in the select list if the statement contains a UNION, INTERSECT or EXCEPT operator
July 22, 2013 at 10:11 am
U right
->
INSERT INTO #mytable
(ID, Value)
SELECT '4','First' UNION ALL
SELECT '37','Second'UNION ALL
SELECT '44','Second' UNION ALL
SELECT '54','Third' UNION ALL
SELECT '55','NULL'...
July 22, 2013 at 9:59 am
Was able to do
###"."##0 €
Giving me 123.321 €
But when we have for exemple the numb 600 it show: .600 €
Any suggestion?
July 1, 2013 at 3:51 am
SELECT
ID,
CASE WHEN (SUM([VALPAYREAL]) IS NULL) THEN 0 ELSE SUM([VALPAYREAL]) END AS PAYREAL,
CASE WHEN (SUM([VALPAYPLAN]) IS NULL) THEN 0 ELSE SUM([VALPAYPLAN]) END AS PAYPLAN,
(SELECT SUM([VALPAYPLAN])
FROM ABC
WHERE DATE...
June 14, 2013 at 4:06 am
There an issue:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as...
June 14, 2013 at 3:13 am
Ray M (3/27/2013)
on the rectangle properties dialog Select the "Add Page Break Before" checkbox. (Or set the PageBreak Breaklocation Property to...
March 27, 2013 at 11:01 am
Erin Ramsay (3/27/2013)
I hate to say it but why not something simple like:
DECLARE @C varchar(100)
SET @C = '<div>Sunshine</div>'
SELECT REPLACE(replace(@c,'</div>',''),'<div>','')
O_o !? SHOW...
March 27, 2013 at 10:44 am
Lowell (3/27/2013)
March 27, 2013 at 10:22 am
Lowell (3/27/2013)
SELECT SUBSTRING(
CONVERT(NVARCHAR(max),YourColumn),
CHARINDEX('>', @C) + 1,
LEN(@c) - CHARINDEX('>', ...
March 27, 2013 at 9:49 am
Viewing 15 posts - 1 through 15 (of 111 total)