Forum Replies Created

Viewing 15 posts - 35,581 through 35,595 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Anyone feel like tackling this? I do not have the free time today to give it the attention it looks like it needs

    http://www.sqlservercentral.com/Forums/Topic826285-1291-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Inconsistencies in SysColumns table

    Sherri Barkley (11/30/2009)


    So I think I am going to have the server guys take a look at the server and make sure it isn't a hardware issue before I try...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Inconsistencies in SysColumns table

    The best fix for this is to restore from backup. Don't try and restore then DTS stuff around. The system tables are not to be messed around with in that...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: trigger is throwing error when db is offline?

    dzordz_parowkowy (11/30/2009)


    but I got error message:

    Msg 208, Level 16, State 1, Line 4

    Invalid object name 'inserted'.

    What can be the reason?

    Because inserted is only visible in the trigger itself, not in...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Calculating Times in Stored Procedure

    Sample data and expected results please. Also, the definition of the cursor (and whatever table it's based on).

    As it is, I can't test on my own machine and get you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Suggestions for strating point for VBScript and C# for use with SQL Server

    Not sure how knowing VB or C# will help in troubleshooting SQL.

    So this is for SSIS, not SQL itself? If so, I'll ask the mod to move the thread...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Suggestions for strating point for VBScript and C# for use with SQL Server

    You mean to write front-end apps to interface with SQL?

    If you're not familiar with the language I'd suggest a good 'beginner's guide to..' type book.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Calculating Times in Stored Procedure

    Please post table definitions, sample data and desired output. Read this to see the best way to post this to get quick responses.

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Delete statement with joins

    Steve Jones - Editor (11/30/2009)


    As Bru mentioned, you haven't joined TableA

    It is joined, just the ON clauses are missing

    DELETE FROM a -- table to be deleted from

    FROM ATable...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Delete statement with joins

    A delete can only affect a single table. It will affect the table that's specified straight after the DELETE [FROM]. Any tables after the second FROM are just used to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Indexing URLs and eMail address

    RGDavis396 (11/30/2009)


    Searches against string values tend to be slower than those against numerical values

    Have you tested against large volumes of data under load? If so, are you seeing a measurable,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: filling parameter with SELECT statement

    --check if record already exists.

    IF NOT EXISTS (SELECT ID FROM TableOne WHERE Col1 = @var1 )

    BEGIN

    IF @var2 = 1

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Log File is MASSIVE

    GSquared (11/30/2009)


    Too few educated engineers was another issue I read about on that one, not sure how accurate that was because the person stating it did have a political agenda...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: trigger is throwing error when db is offline?

    Piotr.Rodak (11/30/2009)


    Well, if the database is offline you can't connect to it, so why would you want to write anything to it?

    The insert is in the ELSE portion, ie...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Event Id 17207

    Give us some background on what happened before this error appeared.

    Is the log file there? If not, do you know what happened to it?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 35,581 through 35,595 (of 49,552 total)