Viewing 15 posts - 5,176 through 5,190 (of 7,505 total)
I strongly suggest NOT using hints in views !
That may prevent optimal paths when used with other queries !
Rewrite your query to e.g.:
SELECT SiteIdx
FROM v_Network N
WHERE exists (Select...
February 24, 2008 at 9:57 am
So is your #tenuot being altered by s_tenuot_base_r in some cases ?
February 24, 2008 at 9:47 am
maybe even a sp_updatestats and dbcc updateusage(0) with count_rows will correct the figures you get from the query.
February 23, 2008 at 1:56 pm
Did you play a bit with the PARAMETERIZATION option ?
Alter databaset yourdb
set PARAMETERIZATION FORCED
http://msdn2.microsoft.com/en-us/library/ms175037.aspx
Maybe it's this kind of queries the tried to tackle using this option :hehe:
ps
If the recompile...
February 23, 2008 at 1:49 pm
- While you're at it, you might as well split the source file to match your
table's structure if you can:unsure: Then you'll be able to bulkinsert 😉
- Sort the files...
February 23, 2008 at 1:41 pm
please don't xpost, many of us watch more than one forum group.
Might get somewhat confusing 😉
- Did you install SQLexpress mgmt studio ?
- did you apply the servicepacks ? (on...
February 23, 2008 at 1:34 pm
is there a folder c:\program files\microsoft sqlserver\ ?
February 23, 2008 at 1:32 pm
can you find something in the path you specified to contain the data ?
Is there a log-folder your datapath in the same folder as your data-folder resides ?
February 23, 2008 at 9:00 am
they certainly should change because there are usage restrictions with developer editions (licence).
I haven't performed a dev to EE edition myself.
Maybe it's worth the effort to reinstall if you have...
February 23, 2008 at 8:57 am
I just knew this article would come in handy.
And you see, it only took 52 days before I got to it. :w00t:
I used the stuff example, because there was a...
February 22, 2008 at 8:36 am
I don't think so.
btw I wouldn't advise it at a production box because profiler can generate
a huge overhead !
Actually I consider traces one way of getting in contact with...
February 21, 2008 at 12:58 pm
If you want dates, use datetime columns because then you can use all date-related functions, order by, ...
Like Steve mentioned. replace Q1 with an actual date.
In datawarehouses it is common...
February 21, 2008 at 10:48 am
hopping in a bit late 🙂
In stead of the if exists ...
you might as well check the update's @@rowcount and if that is not what you expected it to be,...
February 21, 2008 at 10:42 am
Well, it turns out that the tsql-storedprocedure-version of that clr function actualy ....
Here are the results from the simple test jury 😉
TheVersion ExecCount AvgElapsMs MinElapsMs MaxElapsMs
clrfn ...
February 21, 2008 at 8:31 am
If I'm correct that info is stored in a sqlagent registry key.
Maybe you can find it if you analyze msdb.dbo.sp_get_sqlagent_properties.
I don't know if changing that key value even would actualy...
February 20, 2008 at 11:07 am
Viewing 15 posts - 5,176 through 5,190 (of 7,505 total)