Viewing 15 posts - 46 through 60 (of 70 total)
Try:
with CTE as
(
select *, ROW_NUMBER() OVER(PARTITION BY AraziID
...
October 6, 2012 at 11:37 pm
Try:
WHERE Title = 'you''re most welcome'
Hope this helps.
October 6, 2012 at 4:37 pm
Try:
select a.*, max(e.EghdamatSabt) as EghdamatSabt
from Arazi as a
join AraziEghdamat as e on e.AraziID = a.AraziID
group by a.*
Hope this helps.
October 6, 2012 at 4:15 pm
Try:
ROUND(12.347777, 2)
Hope this helps.
October 6, 2012 at 8:39 am
Try:
with CTE as
(
select distinct Stud_ID, Activity from @TestingCase_Act
)
SELECT[TC Fee 1] = SUM(CASE WHEN c.Activity='TC_Fee_1' THEN 1 ELSE 0 END)
,[TC...
June 29, 2012 at 5:54 pm
Hi,
Try:
SELECT SUBSTRING(( SELECT ', ' + CAST(ID as varchar) + ' ' + Name
...
June 20, 2012 at 4:00 pm
Hi,
Can you post a sample data table and the expected result?
June 12, 2012 at 7:26 am
Try:
SELECT TOP 1000
[ModelId] ,
[GroupId] ,
SUBSTRING(( SELECT...
June 6, 2012 at 7:43 pm
Hi,
Try:
with
CTE_h as
(
select cp.id_client, cp.number
from CLIENTS_PHONES...
May 28, 2012 at 12:06 pm
Hi,
Try:
with CTE as
(
select a.CycleID, min(a.TASK_ID) as Task_ID
from MyTable as a
join MyTable as b on (b.CycleID = a.CycleID) and...
May 28, 2012 at 5:54 am
Try something like that:
select
[Id],
[Order],
[IsActive],
(case IsActive when 0 then Cnt else null end)...
May 23, 2012 at 11:22 am
Try something like that:
SELECT ISNULL(SUBSTRING(( SELECT '; ' + u.Email
...
May 17, 2012 at 5:42 pm
Hi,
I agree with the ColdCoffee.
Also I could not understand very well.
Maybe you can use this:
MAX( case ... ) as MaxAmount
Hope this helps.
May 4, 2012 at 2:34 pm
You're right Eugene.
I believe it is necessary to improve the Where clause to get the expected result.
May 4, 2012 at 8:02 am
Viewing 15 posts - 46 through 60 (of 70 total)