Viewing 15 posts - 211 through 225 (of 2,007 total)
In the UK, there's also SQLBits[/url]. Again, not cheap (although there is a free day), but excellent. And they do upload videos of the talks (eventually :-P)
August 5, 2013 at 1:39 am
Lowell (7/26/2013)
Cadavre I love your new signature with the nolock pointers! just noticed it today.
I added it after the last time I had to dig them all out 🙂
July 26, 2013 at 8:19 am
Forgive me for my simplistic approach 😀
WITH tmp
AS (SELECT x = 'some text-1'
UNION ALL SELECT x = 'some text-123'
UNION ALL SELECT x...
July 26, 2013 at 3:30 am
Nice article, but was wondering if there was any reason you'd do that over using FOR XML PATH to concatenate a string? I'd imagine that the IO of the recursive...
July 9, 2013 at 2:17 am
Another guess: -
SELECT sv.SVSEQ, sc.SCACO, ac.f1 AS AccountNo,
ne.NEAN, ne.NEEAN, bg.BGCFN1, bg.BGCFN2,
bg.BGCFN3, bg.BGCUS, sv.SVNA1, sv.SVNA2,
sv.SVNA3, sv.SVNA4, sv.SVNA5, sv.SVPZIP,
sv.SVCSA, sc.SCACO, sx.SXDLM
FROM NEPF ne
INNER JOIN tmpAccountList ac ON NEEAN...
July 5, 2013 at 5:05 am
Took dredging it up from the depths of my memory, but I got it. I run a dark theme, e.g. black background. All the rest of the colours are customised...
July 4, 2013 at 3:02 am
engstevo (7/3/2013)
Write a SQL statement from the above example...
July 3, 2013 at 2:54 am
timscronin (7/1/2013)
patid
123453
124344ME
323390
3233MS
I need to remove the last 2 charcters if they are not numeric. So my results...
July 1, 2013 at 9:05 am
kapil_kk (6/30/2013)
thnks its working.. but can you plz explain me this part of query:SUBSTRING(VoucherNo,2,LEN(VoucherNo)) - ROW_NUMBER() OVER(ORDER BY VoucherNo, TransNo)
Sure. I'm removing the character from the start of the voucherno...
June 30, 2013 at 3:27 pm
akberali67 (6/29/2013)
Hi,Firstly, I Apologize for presenting the data the way I did.
No problem, just remember for next time 😀
akberali67 (6/29/2013)
June 30, 2013 at 3:24 pm
kapil_kk (6/29/2013)
that was trns1 only not trns2...
I tried it but not it is not possible with min max...
June 29, 2013 at 7:51 am
First things first, when you visit a technical forum it is always a good idea to provide as much information as possible and to make it as easy as possible...
June 29, 2013 at 7:32 am
kapil_kk (6/29/2013)
I need help in getting this type of output, I tired with MIN and MAX function but didnt get required output:
Create table T1
(Id int identity primary key,
VoucherNo varchar(10),
TransNo varchar(10)
)
Insert...
June 29, 2013 at 6:07 am
SQL Server 2012 is good for running totals.
I've also used Hugo's cursor for running totals and Jeff's quirky update method. Jeff's is quicker, so I generally use that for...
June 27, 2013 at 8:17 am
ChrisM@Work (6/27/2013)
SELECT
sumyy = sum(yy),
xx = ???('summary line') -- where ??? is an aggregate function
FROM tablea
CROSS APPLY (
SELECT SurrogateGroup = CASE
WHEN somedate_column < @startdate_parameter...
June 27, 2013 at 8:02 am
Viewing 15 posts - 211 through 225 (of 2,007 total)