Viewing 15 posts - 8,266 through 8,280 (of 18,926 total)
Are those times in seconds or is it another figure?
If it's seconds and assuming that query won't run 100 times a second, then there's no real need to tune it...
January 7, 2010 at 2:02 pm
This is a simple one...
select workstation, date_entered from inventory where part_number='ABC' and workstation>=5 order by workstation, date_entered;
if @@rowcount = 0
--make this call another sp to get the best execution...
January 7, 2010 at 12:28 pm
More to the point... this is really an ETL task...
Download data, validate it first, then reinsert the valid data and warn about problems.
No real need to flush out the fks...
January 7, 2010 at 12:22 pm
I think it may work better with a 0 in the range! >>>
SELECT 1 WHERE '111' NOT LIKE '%[^0-9]%'
January 7, 2010 at 11:48 am
Grinja (1/7/2010)
January 7, 2010 at 6:59 am
IF Object_Id('tempdb..#temp') IS NOT NULL...
January 6, 2010 at 11:48 am
You can disable the constraints and then reenable them with the check option which will revalidate all the data.
I also only transfer new data based on a date in the...
January 6, 2010 at 11:47 am
Even if he can't add persisted columns... if I run a straight select and then a select with your computations it runs in the exact same time over 1M records...
January 6, 2010 at 11:43 am
In EM, right click on the procedure and git permissions (sorry I don't have EM here to confirmt he name of the option, but it's in there somewhere).
You can also...
January 6, 2010 at 9:55 am
Thanks a lot... I'll have to ask for a copy of the bills since I need to evaluate also if the licensing covers our actual and coming needs (changing ERP,...
December 27, 2009 at 10:46 am
How did you get out of this problem? I need to do the same thing with a new client... they have everything all the way up to 2008 installed.
TIA.
December 27, 2009 at 8:19 am
Ditto with Dave, I learn best by starting out trying to build something from a user then figuring out the best way to do it in SSRS once I have...
November 24, 2009 at 6:29 am
It turned out that adding with recompile whipped out parameter sniffing and bad query plans. Then adding SET ANSI_WARNINGS OFF... INSIDE the SP solved the warning.
Now the report is...
November 6, 2009 at 9:27 am
BTW, got any great performance / tuning / best practices article for reporting services?
November 4, 2009 at 1:47 pm
Thanks for the info, I'll take all that into consideration when I rewrite tomorrow.
Also, I appreciate your running fine comments.
I agree that data has changed. However I tested that...
November 4, 2009 at 1:43 pm
Viewing 15 posts - 8,266 through 8,280 (of 18,926 total)