Viewing 15 posts - 1,036 through 1,050 (of 2,044 total)
It is affected by the number of records.
Do you have a covering index on (stime,savg) to avoid bookmark lookups?
June 7, 2008 at 6:04 am
High CPU/memory usage can also be caused by massive full table scans.
June 5, 2008 at 1:50 pm
SP4:
+bugfixes
http://support.microsoft.com/kb/888799
+better corruption/blocking detection
-has an intial bug with AWE (additional hotfixes needed)
-changes index seeks (needs exact typing char(20)vs char(20) etc, to eliminate some false results)
There is also a cumulative post SP4...
June 5, 2008 at 1:48 pm
the tables"inserted" and "deleted" only exist inside the trigger.
June 5, 2008 at 1:31 pm
Your code seems to work correctly.
I've tested your code (in tempdb) with
DECLARE @ProjectID int
DECLARE @TimeEntryStart datetime
DECLARE @TimeEntryEnd datetime
DECLARE @TimeEntryUserID int
SET @ProjectID=35
SET @TimeEntryStart=convert(datetime,'2008-04-14 02:30:00.000')/*RETURNS 1*/
SET @TimeEntryStart=getdate()/*returns NULL*/
SET @TimeEntryEnd=NULL
SET @TimeEntryUserID=1035
SELECT [tempdb].[dbo].[f_TimeEntryOverlap]
(@ProjectID, @TimeEntryStart,...
June 5, 2008 at 1:30 pm
I guess so. You can find sp_who2 in the master database and it is marked as system.
June 4, 2008 at 2:03 pm
try Me.TabControlRiskForm.Pages(1).enabled = false
instead of
Me.TabControlRiskForm.Pages(1).Locked = True
June 4, 2008 at 1:47 pm
The stored procedure calls another package?
Have you added some debugging routines in the package to see if it actually executes?
June 4, 2008 at 1:35 pm
I would create a small program outside of sql server that does this. (datasets in .NET?)
You could also try to store the outputs in temporary tables.
For text-files you might consider...
June 4, 2008 at 1:19 pm
With the stored procedure sp_who2 you can see which connection is blocked by another connection. Then you could kill the offending connection (beware of the rollback).
Current locks: sp_lock
June 4, 2008 at 12:53 pm
It might be solved by increasing the mem to leave area to 512mb instead of the default 128mb.
-g 512
June 4, 2008 at 12:38 pm
Usually the recovery time is less than 1 minute, undo operations excluded.
Are there any long running transactions on the database?
June 1, 2008 at 11:39 am
Does uid.test_sp exist in the database NorthWind? And does uid has execute permissions on uid.test_sp?
May 31, 2008 at 3:51 am
Have a look at
http://www.sqlservercentral.com/articles/DTS/dtsandglobalvariables/2266/
There they assign values to global variables.
May 31, 2008 at 3:47 am
Wow, megajoins.
Do the joinable fields used in the query have an index? (the id fields)
Do the queryfilter fields have an index?
A:
Perhaps an index on T1.OWNER_EMP_ID and an index on...
May 27, 2008 at 1:12 pm
Viewing 15 posts - 1,036 through 1,050 (of 2,044 total)