Viewing 15 posts - 7,996 through 8,010 (of 18,923 total)
aviad.co1 (6/7/2010)
I create this stored procedure below, but I get this error when I try to update the properties :
property cant be add. property 'Domain' already exists for 'object...
June 7, 2010 at 12:14 pm
dbo.t1 inner join dbo.t2 on... is definitly the proper way to do it. The optimiser won't pick a better plan either way but the dev could accidentally make a...
June 4, 2010 at 12:53 pm
Difference between what and what? You only show us one of the 2 options. As far as I can tell, that code is the standard in the industry....
June 4, 2010 at 12:12 pm
Both methods work fine. Usually the select into + rescript everything works well if you keep only a small % of the data like 25%... maybe a little more.
However...
June 3, 2010 at 9:30 am
Looks like this may do the trick... I found it on google but I didn't test it.
June 2, 2010 at 1:04 pm
I've never had that error, but I'd ask how big the restored file is because you're limited to 4Gb after the restore is complete.
After comming up dry with google search...
May 31, 2010 at 12:03 pm
How about using sql express 2008 [advanced] on a local machine? If you really have only a few users, that'd be plenty strong enough and you wouldn't have to...
May 31, 2010 at 11:31 am
what have you tried and what is wrong with that you've tried?
May 31, 2010 at 8:25 am
GilaMonster (5/31/2010)
Hmm...Try the latter 3 books in the Inside SQL Server 2005 series - T-SQL Querying, T-SQL Programming and Query Tuning and Optimisation. Also Grant's e-book (available here) http://www.sqlservercentral.com/articles/books/65831
:w00t: You...
May 31, 2010 at 8:15 am
Then chances are you are getting recompiles for "no good reasons". Or for reasons that could be avoided. That being said are you having performance issues on the...
May 27, 2010 at 7:22 pm
Only if not necessary. That's where the whole question resides.
Can you post the code of the sp(s) that are recompiling?
May 27, 2010 at 2:09 pm
Of course... but while they work on it... :w00t:
May 27, 2010 at 11:16 am
In case it can help you, maybe you can read straight from the ssc site here : http://www.sqlservercentral.com/NewsletterArchive
May 27, 2010 at 10:11 am
If this is a SP, then you can definitly try this.
DECLARE @LocalWeek INT
SET @LocalWeek = @ParamValue
The use @LocalWeek in the query that will help the optimiser.
Also add the with recompile...
May 27, 2010 at 10:08 am
Have you tried something along those lines?
Select identity(int,1,1) as DeleteID, WeekNo, Id into #tmp FROM DeletingTbl where WeekNo <= @Whatever
set rowcount 50000
set @Loop = 0
while @@Rowcount <> 0
begin
SET @Loop =...
May 27, 2010 at 9:38 am
Viewing 15 posts - 7,996 through 8,010 (of 18,923 total)