Viewing 15 posts - 1 through 15 (of 46 total)
I'm sure others will talk about things like pay, whether you prefer just doing the DBA work or if you're good at talking with the Business about what they require...
August 13, 2010 at 10:20 pm
Would definitely help to post some sample SQL re the User table and the Group table but I'd assume you'd identify the Groups the User has access to either as...
June 27, 2010 at 10:27 pm
nigelg99 (4/6/2010)
Dennis Wagner-347763 (4/1/2010)
Pretty cool, but what is it?
It is pretty cool :-). It's a text representation of the Mandelbrot Set.
I ran it in SSMS, then right clicked the...
May 3, 2010 at 2:01 am
No, they're looking at Stored Procedures to try to figure out what Lehman does!
April 5, 2010 at 11:01 pm
No worries; so long as I get my email notification about new posts I'll return to the thread (though I regretted posting in the "Are the questions on here getting...
March 25, 2010 at 11:12 pm
Quatrei.X (3/25/2010)
Hi there,Just wanna try out my solution ^__^
SELECT @date=t1.[date]
FROM @Table1 t1
INNER JOIN @Table2 t2 ON (t1.[date]=t2.[date])
GROUP BY t1.[date]
HAVING COUNT(name)=(
SELECT COUNT(DISTINCT Name)
FROM @Table1 t1
INNER JOIN @Table2 t2 ON (t1.[date]=t2.[date]))
Works perfectly...
March 25, 2010 at 8:53 pm
Wow, that works astoundingly well! First run against Production Data was 3 seconds and 0 seconds for runs after that. You're going to force me to rewrite a few existing...
March 25, 2010 at 4:10 pm
Of course! I promise I'd never be so laissez-faire when someone is using their valuable time to help me on here.
I found that while it would work perfectly for this...
March 24, 2010 at 10:52 pm
Hi Paul. I don't think that solution works if Table 2 doesn't contain the Max Date from Table 1. Your other solution works perfectly though.
Finally managed to test all of...
March 24, 2010 at 4:22 pm
Sure thing. I'd taken Paul's "Never mind then" comment as conceding it didn't work having not tested it myself. If he's in NZ, Code I'd written at that time of...
March 23, 2010 at 3:19 pm
Thanks guys!
I'm glad you mentioned the performance aspect, Arjun. Unfortunately (for me!) @Table1 reflects the largest table I ever have to use. Merely doing a "Select * from" just now...
March 23, 2010 at 2:48 pm
That's alright. My original question had been about determining whether there was a better way to do this and it would appear that there isn't (barring converting the While Loop...
February 23, 2010 at 5:09 pm
Hi Wayne,
I'm nearly there (for some reason, it took me ages to realise the correct way to get the correct month ends I needed in "dateadd(d,-1,dateadd(m,N,(dateadd(d,1,@StartDate))))". I just wasn't thinking...
February 23, 2010 at 4:00 pm
Thanks Wayne, will use that Tally Table for the Month Ends and see if it improves it tomorrow morning (just checking this before heading off to bed at the moment)!
February 23, 2010 at 3:48 am
Sorry, the Function produces Fund Manager Information, e.g. Manager Name, Portfolios, Securities, Net Asset Values etc. It's table-based as you can therefore imagine. It's probably best if I include the...
February 22, 2010 at 7:52 pm
Viewing 15 posts - 1 through 15 (of 46 total)