Viewing 10 posts - 61 through 70 (of 70 total)
Sorry, my suggestion is completely wrong.
May 4, 2012 at 7:57 am
Hi,
Try:
select
s.FLAG1 as INBOUND,
s.AMOUNT as BASE_AMOUNT,
Coalesce( (select i.AMOUNT from @Sample as i
...
May 4, 2012 at 6:11 am
Hi,
Try:
with CTE as
(
select
idLigne,
id,
statut,
...
May 4, 2012 at 5:55 am
Try:
with CTE as
(
select PortfolioId, AcquisitionDate from MyTable
union all
select PortfolioId, DATEADD(month, 1, AcquisitionDate) as AcquisitionDate
...
May 3, 2012 at 6:04 am
Hi,
I do not know if I understand correctly but try this:
SELECT
MIN(Count) as MinCount,
MAX(Count) as MaxCount,
(MIN(Count)...
May 2, 2012 at 3:46 pm
Try:
with
CTE_SSN as
(
select Division, DateofBirth, SSN
...
April 30, 2012 at 11:11 pm
Try:
with CTE as
(
select ClientID, max(ID) as ID from ClientDetails group by ClientID
)
select d.ID, d.ClientID, d.InterviewDate
from CTE as c
join ClientDetails as d on d.ID = c.ID
Hope this...
April 30, 2012 at 10:59 pm
Try something like this:
update [tblTable1]
set [active status] = 0
where GETDATE() > [todate]
Hope this helps.
April 28, 2012 at 1:04 am
April 27, 2012 at 12:29 am
April 27, 2012 at 12:24 am
Viewing 10 posts - 61 through 70 (of 70 total)