Viewing 15 posts - 9,601 through 9,615 (of 18,926 total)
SELECT Main.* FROM dbo.Table Main INNER JOIN (SELECT DateCol, Max(Qty) AS mQty FROM dbo.Table GROUP BY DateCol) dtMRD ON Main.DateCol = dtMRD.DateCol AND Main.Qty = dtMRD.mQty
July 27, 2007 at 8:55 am
I totally see your point about reusability. But here's why I think it's completely off topic :
When I decide to pass a long list of ids, I do so...
July 27, 2007 at 6:56 am
I think he meant 500 MB.
But I'd like to see a tempdb of 500 GB someday
.
July 26, 2007 at 3:18 pm
I know but IIRC, there's either a timeout or a limited amount of growth that can be done in a simgle transaction... I think this is what is happening but...
July 26, 2007 at 9:59 am
My guess is that tempdb can't go from 10 to 500 in a single transaction (not 100% sure of this).
The best practice I know about this is to see how...
July 26, 2007 at 9:42 am
NP, but I will suggest that you backup the client's registry before importing :-).
Let us know how this works for ya.
July 26, 2007 at 8:34 am
Not sure how much this helps... but you can get a list of registered servers on the local pc here :
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\80\Tools\SQLEW\Registered Servers X
I'm not srue how I'd go...
July 26, 2007 at 7:52 am
I like the idea. Might take some time out of my year to parse my current list of monitored threads into a favorites thread list... but it's definitly something that...
July 26, 2007 at 7:46 am
--setup
IF EXISTS (Select * from dbo.SysObjects where name = 'Numbers' and XType = 'U' and user_name(uid) = 'dbo')
DROP TABLE Numbers
GO
CREATE TABLE dbo.Numbers (PkNumber int identity(1,1) primary key clustered, dude bit...
July 26, 2007 at 7:36 am
Maybe if you try set datefirst when opening the connection. Maybe that could affect the calendar control (that's a big maybe but you never know...).
July 26, 2007 at 7:31 am
Hence the not sure. I don'T have RS installed here so I can't do any further investigation.
One wy to do it owuld be to write your own activeX control. Not...
July 26, 2007 at 7:29 am
Got any sample code... I'd surely could use that, someday!
July 26, 2007 at 7:26 am
That is likely, however maybe the problem was much bigger than we anticipated.
July 26, 2007 at 7:17 am
I'm trying to see both sides of the fence here... looks like I'll have to keep using the procs
.
July 26, 2007 at 7:12 am
Here's one I problem I've solved with cross joins :
From a template containing a start date and end date. Create all the work tracking reports for each technician that...
July 26, 2007 at 7:05 am
Viewing 15 posts - 9,601 through 9,615 (of 18,926 total)