Viewing 15 posts - 1 through 15 (of 1,085 total)
I was hoping to bring this up again.
A friend looked into this and suggested doing the ALTER within the Report SP. Problem with that is, we a...
March 7, 2009 at 4:12 pm
DavidB (2/27/2009)
Ok. I will have to play more later. They both ran ok for me so I left it at that. Wasn't looking for results.
Thanks!
Have a great weekend!...
February 27, 2009 at 3:59 pm
DavidB (2/27/2009)
February 27, 2009 at 3:55 pm
Jeffrey Williams (2/27/2009)
February 27, 2009 at 3:52 pm
DavidB (2/27/2009)
IF EXISTS( SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[Report_Processing]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
DROP PROCEDURE [dbo].[Report_Processing]
GO
SET QUOTED_IDENTIFIER OFF...
February 27, 2009 at 3:42 pm
DavidB (2/27/2009)
February 27, 2009 at 3:02 pm
DavidB (2/27/2009)
February 27, 2009 at 2:48 pm
Matt Whitfield (1/7/2009)
You on 2000 by any chance? That's why I posted a different version to achieve the same thing - because OVER clauses are 2005+.
That's correct. I will...
January 7, 2009 at 2:00 pm
RBarryYoung (1/5/2009)
Farrell Keough (1/5/2009)
January 7, 2009 at 1:23 pm
Thank you TheSQLGuru. That explanation makes perfect sense. I was very stuck on why we saw such improvement, yet others were not.
I had not realized the...
January 6, 2009 at 9:19 am
TheSQLGuru (1/5/2009)
There is definitely one situation where table vars help - high-volumn sproc calls where recompiles kill performance. Those are pretty rare situations but they do exist.
I am really...
January 5, 2009 at 8:04 pm
TheSQLGuru (1/5/2009)
January 5, 2009 at 6:22 pm
That is correct. The ID may be split and require the other fields to be truly unique.
This dataset "may" not have that. I was just going...
January 5, 2009 at 4:12 pm
Hmmm..., I will need multiple keys for the Update. Can the @TableVariable be made with more than just the Primary Index? i.e., Cluster multiple key Index?
January 5, 2009 at 4:02 pm
Matt Whitfield (1/5/2009)
declare @myTable TABLE (ID INT IDENTITY (1, 1) PRIMARY KEY CLUSTERED, SomeValue...
January 5, 2009 at 3:48 pm
Viewing 15 posts - 1 through 15 (of 1,085 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy