Viewing 15 posts - 3,736 through 3,750 (of 26,490 total)
Luis Cazares (5/31/2016)
Grant Fritchey (5/31/2016)
Because SQL Fertilization needs to become something we all talk about. It's important. Don't you understand how SQL Fertilization works?
I have to say a lot of...
May 31, 2016 at 11:49 am
rajemessage 14195 (5/28/2016)
pls answer
We gave you several shots in the dark. If those answers don't work, how about telling us what was wrong and what it is you expected....
May 29, 2016 at 3:51 pm
Mad-Dog (5/27/2016)
Lynn Pettis (5/27/2016)
Mad-Dog (5/27/2016)
GilaMonster (5/27/2016)
May 27, 2016 at 1:59 pm
Mad-Dog (5/27/2016)
GilaMonster (5/27/2016)
May 27, 2016 at 8:22 am
Lynn Pettis (5/26/2016)
drew.allen (5/26/2016)
Lynn Pettis (5/26/2016)
This:
SELECT [GL Description], SUM(Amount) AS [Prior YTD Amount], Year
FROM dbo.vlv_PriorYrDetailExpenses
GROUP BY [GL Description], Year
HAVING (Year = @Year) AND (Month <= @Month)
It's going to complain...
May 26, 2016 at 3:40 pm
drew.allen (5/26/2016)
Lynn Pettis (5/26/2016)
This:
SELECT [GL Description], SUM(Amount) AS [Prior YTD Amount], Year
FROM dbo.vlv_PriorYrDetailExpenses
GROUP BY [GL Description], Year
HAVING (Year = @Year) AND (Month <= @Month)
It's going to complain about the...
May 26, 2016 at 3:38 pm
Eric M Russell (5/26/2016)
peter.row (5/26/2016)
Eric M Russell (5/23/2016)
May 26, 2016 at 3:36 pm
Perhaps this?
with testdata as (
select
Directory
from
(values
('/dev/Mywork/deailsbyWork'),
('/dev/MyTeam/deailsbyTeam'),
('/dev/MySubgroup/deailsbySubgroup'))dt(Directory)
)
select
Directory,
substring(Directory,charindex('/',Directory,2) + 1,(charindex('/',Directory,charindex('/',Directory,2) + 1) - charindex('/',Directory,2)) - 1)
from testdata;
May 26, 2016 at 2:54 pm
ScottPletcher (5/26/2016)
Also, here's a quick demo to show that you can query from different tables,...
May 26, 2016 at 2:46 pm
Or
create function dbo.SomeFunction(
@parm1 int,
@parm2 varchar(4)
)
returns table as
return
select col1, col2, col3 from dbo.tab1 where @parm2 = '007' and ....
union all
select col1, col2, col3...
May 26, 2016 at 2:44 pm
sharonsql2013 (5/26/2016)
As mentionedIt could be /dev/Mywork/deailsbyWork
or /dev/MyTeam/deailsbyTeam
or /dev/MySubgroup/deailsbySubgroup
Outcome
Mywork
MyTeam
MySubgroup
Based on the above, usually then mean always, correct?
May 26, 2016 at 2:37 pm
alex_martinez (5/26/2016)
May 26, 2016 at 2:32 pm
fergfamster (5/26/2016)
May 26, 2016 at 2:29 pm
Who has the crystal ball this time?
May 26, 2016 at 2:24 pm
Viewing 15 posts - 3,736 through 3,750 (of 26,490 total)