Viewing 15 posts - 76 through 90 (of 179 total)
Let me flog the almost dead horse a bit more Hans. The cost limit can be set for each for individual connections and/or for the entire server. ...
April 29, 2008 at 9:03 pm
Would this be too simple an approach? I think it gets what you are after via Rowcount and could be gotten right after your initial query was done. ...
April 29, 2008 at 9:30 am
Hi. I too had seen the SET QUERY_GOVERNOR_COST_LIMIT value out there in BOL . My question would be how could you be sure that all ad-hoc queries...
April 29, 2008 at 9:06 am
Jay, I think this is what you were afer. Whether the Identity property is set for a column is stored in the staus column of syscolumns (encoded in...
April 28, 2008 at 8:21 am
Hmm.. how do you guess this code is the problem? Could you try either Activity Monitor (in Enterprise Mgr under Management..Current Activity) or System Monitor (from...
April 28, 2008 at 7:55 am
I agree you do not really need the temporary table unless you want it to be able to review results before making final changes to the "live" database.
If you...
April 20, 2008 at 11:36 am
Oh... one more thing. If there are Null values in any of your comparison columns, then you would have to treat those separately (doing comparisons with Null is...
April 18, 2008 at 12:16 pm
If there is another field in the table that would determine which of the duplicate records you want to keep (such as the oldest record) you could key off that...
April 18, 2008 at 11:30 am
Would this help?
declare @var varchar(10), @int dec(4,3)
set @int=4.678
set @var = substring(cast(@int as varchar(5)),1, 4)
select 'Number is '+ cast(@int as varchar(5)) + ' Character is ' + @var
Toni
February 16, 2008 at 8:11 am
Can you post the DDL for the tables including keys/refererence? Your joins may be producing duplicate results.
Toni
February 13, 2008 at 10:54 am
Wouldn't it be a RIGHT join vs a Left join to get nulls from the table you are joining?
Toni
February 13, 2008 at 8:27 am
You could partition the tables so that Query Optimizer can pick which table to go against depending on the value of the year. For each year, create a...
February 11, 2008 at 10:11 am
Have you checked the access /security authorizations on the other table/server?
Toni
February 11, 2008 at 9:20 am
At this point it won't work because table_small.smallid is an integer (identity) being compared to a description.
Toni
February 11, 2008 at 8:45 am
Ian, thanks for taking the time to put the test data together that really is a key to getting the full idea and answer for the question. I initially...
February 9, 2008 at 6:12 pm
Viewing 15 posts - 76 through 90 (of 179 total)