Forum Replies Created

Viewing 15 posts - 1,381 through 1,395 (of 1,409 total)

  • RE: Viewing Transaction logs

    Maybe this can do the things you want:

    http://www.red-gate.com/products/SQL_Log_Rescue/index.htm

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: help me..

    First:

    Do you really need every DISTINCT and GROUP BY? These are performance killers, so if you don't need it, don't use it. If it is needed, try to first select...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Reschedule I once off Job

    Maybe obvious, but

    - did you enable the job (checkbox on: job properties - general)

    - did you enable the schedule (checkbox on: job properties - schedule - edit)

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Reschedule I once off Job

    Please clearify:

    1 You create a new job

    2 You schedule the job to run once

    3 The job runs without error

    4 You re-schedule the job to run once (again)

    5 The job runs...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Record is missing

    At the end we found the problem is due to a bug in the connection.

    See http://forums.microsoft.com/MSDN/ShowPost.aspx?PageIndex=1&SiteID=1&PageID=1&PostID=3055387

    One of the transactionID's is timed-out and rolled back, but this is not reported back...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Record is missing

    Found the problem:

    The statements in the batch-process are executed under different TransactionID's while everyone thought it was under the same one. Sometimes the application ends a transaction without issuing a...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: CASTing

    Because of the N-prefix the value is cast to NVarChar. The NVarChar(MAX) can contain a maximum of 4000.

    BOL:

    nvarchar [ ( n | max ) ]

    Variable-length Unicode character data. n...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: CASTing

    Hi,

    You can find this information about the N-prefix in the BOL:

    Unicode string constants that appear in code executed on the server, such as in stored procedures and triggers, must be...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Locking Statement

    Hi,

    You can setup a trace to log the locking. Run this trace during the execution of the SP.

    You might want to ensure you are the only user, to prevent too...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Analysing a Profiler Trace

    The discussion becomes very interesting. I didn't know that NOLOCK can cause so much issues.

    But when I read the BOL I read the following "NOLOCK: Does not issue any locks....

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Analysing a Profiler Trace

    Thanks Grant,

    Your post made it all clear now. The query is a SELECT so the NOLOCK should apply, but I can now continue analyzing the trace why and on what...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: How to use on delete cascade in SQL Server 2005

    In the design of the foreign key you can specify a delete rule. Like you said the CASCADE option is what you need. The following is from BOL:

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/uirfsql9/html/08812343-e9a6-4a0f-91fd-80d95ab4b71f.htm

    INSERT and UPDATE...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Slow running Query

    I have only taken a short look at it. I see in the WHERE clause you often use:

    value IN (SELECT xxx FROM yyy WHERE zzz) OR value NOT IN...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: Hosting SQL2000 AND 2005

    You can install both version on the same box. But you'll have to look at your performance if it is workable.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • RE: server slows after a couple hours

    Use Windows Performance to set counters on diskspace/access and memory usage. Also set counters to monitor SQL buffer cache and re-compilations. These counters can show you the direction to look...

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **

Viewing 15 posts - 1,381 through 1,395 (of 1,409 total)