Viewing 15 posts - 4,291 through 4,305 (of 5,394 total)
Sure it's an option. It depends on business requirements that only the OP knows. Let's wait for him to say.
May 11, 2010 at 6:32 am
I don't know if I understand correctly your question, but I'll try to give an answer. You can shrink the data file to give out the free space in it...
May 11, 2010 at 6:26 am
Everything depends on what plan is being cached. Every time the procedure is recompiled, the plan is put into the cache. The parameters used for that recompile generate a plan...
May 11, 2010 at 6:20 am
ColdCoffee (5/11/2010)
Wow, Gianluca.. cool code.. 😎
Thanks, but we still don't know if this is what the OP is after.
Could turn out to be cool... garbage! 😛
May 11, 2010 at 6:12 am
I don't think I understand what you mean with "better solution".
Anyway, duplicates cannot be ignored, as Dave already pointed out.
I don't think that "random" and "unique" can live...
May 11, 2010 at 6:06 am
I wanted to see if there's some kind of "catch-all" query involved in your procedure. This is well known to cause problems with parameter sniffing and inaccurate query plans.
You...
May 11, 2010 at 6:02 am
This should do the trick for you:
DECLARE @Art TABLE (
[Art] char(1),
[Status] varchar(3),
[Date] datetime
)
INSERT INTO @Art
SELECT 'A', 'In' , '2009-10-10' UNION ALL
SELECT 'A', 'Out', '2009-10-15' UNION ALL
SELECT 'A', 'In' , '2009-10-16'...
May 11, 2010 at 5:58 am
Could be parameter sniffing, but it's difficult to say without seeing the code.
Can you post the code, or, at least, part of it?
May 11, 2010 at 5:34 am
This code gave out only 253 duplicates on 16 Mln records.
I don't know if this is exactly what you're after, but you could give it a go.
SELECT TOP 1600000 RIGHT(master.dbo.fn_varbintohexstr(hashbytes('MD5',CAST(NEWID()...
May 11, 2010 at 3:56 am
Personally I would disable their login until they fully understand what they're doing.
Consider it could take forever...
May 10, 2010 at 9:26 am
I'm asking myself if they're making a cert exam for it...
May 10, 2010 at 5:59 am
The error message you posted appears to be truncated, since this looks like the notification email.
Can you please post the actual error message, taken from the maintenance plan history?
May 10, 2010 at 3:26 am
Lynn Pettis (5/7/2010)
Our PhD candidate at work.
Hope I wasn't too rude.
This guy has the ability to drive me insane (maybe it's his signature???) .
May 7, 2010 at 10:25 am
If you can't use profiler, go with DMVs or SET STATISTICS TIME ON.
As far as the percent improvement is concerned, it's simple maths, nothing that a "Senior Software Engineer" can't...
May 7, 2010 at 9:32 am
Forgot to mention: it took something like 3 hours to install, be sure you don't need your computer while you install...
May 7, 2010 at 7:19 am
Viewing 15 posts - 4,291 through 4,305 (of 5,394 total)