Viewing 15 posts - 1 through 15 (of 21 total)
The function was the way to go,
CREATE FUNCTION fn_GetHeroPID(@id int)
RETURNS int
AS
BEGIN
RETURN (SELECT isnull(Charge_Value,0) FROM Table_A WHERE TableA_ID = @id)
END
GO
ALTER TABLE...
January 22, 2014 at 8:29 am
sorry, I'm not sure I've actually made my question clear.
I've got a prcodedure which has been cached since the 10- April. Yesterday the proc was running as expected today...
April 16, 2013 at 4:03 am
I'm not sure how the index stats could cause a plan to change?
From our reindexing job last night the fragmentation for the index which has changed from a seek...
April 16, 2013 at 3:43 am
Well spotted, sorry it's my mistake it should be COLA =1.
Can't figure out why it would as a literal value but not as a parameter.
Dave
July 23, 2012 at 10:50 am
I was panning on setting it into single user mode tonight and running the command, I'll try a restore of DB and run checkDB against that this afternoon to see...
March 19, 2012 at 6:44 am
Djcarpen11 (3/19/2012)
Thanks for the reply Andre,I've tried your code and it returns a null value,
Dave
I'm not sure what was being blocked as the script was being run by somebody...
March 19, 2012 at 6:00 am
Thanks for the reply Andre,
I've tried your code and it returns a null value,
Dave
March 19, 2012 at 5:40 am
It all depends of the rate of change within the tables. A good idea is set up a weekly schedule to go through find the fragmentation of the tables...
August 4, 2011 at 9:32 am
I Jumped the gun a little with the post, I've managed to use EXEC sp_MSForEachDB to achive the results I wanted.
Dave
August 31, 2010 at 7:05 am
I can see the benefits of doing it that way but, if you had to add a column like you say, you'd only have to do that once with dynamic...
August 6, 2010 at 8:34 am
That's an idea I toyed with the only problem is that each synonyms would need it's own insert statment?(unless I've missed something).
I'm inserting into 5 tables. So for each...
August 6, 2010 at 8:12 am
It changes when the database is restored from sql 200 to 2008,
I've run upgrade advisor and data purity checks and set the compatability mode to 100, so all bases covered...
June 11, 2010 at 5:35 am
I'm afraid it doesn't
DBCC checkident ('tblxxxxxxxxxxxxx')
Checking identity information: current identity value '23935390', current column value '23935403'.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
June 11, 2010 at 5:34 am
Thanks for the reply,
The thing is I need the vaules current identity value and the current column value.
June 11, 2010 at 5:12 am
Thanks for the reply, Unoforunatly that won't give me what I need.
I need to compare the results of the dbcc checkident on 767 tables. It looks like as part...
June 11, 2010 at 4:49 am
Viewing 15 posts - 1 through 15 (of 21 total)