Forum Replies Created

Viewing 15 posts - 25,786 through 25,800 (of 49,552 total)

  • RE: Restore Differential Backup

    Try copy the file locally and then restore

    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: SQL 2008 Error - Trigger Error

    Are you absolutely certain there's no trigger? Query sys.triggers

    SELECT * FROM sys.triggers AS t WHERE parent_id = object_id('tb_inspiration')

    The insert you posted works fine for me...

    CREATE TABLE tb_inspiration (

    InspirationID int NOT...

    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: The query processor ran out of internal resources

    The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries 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: is null check in where clause

    Rich Yarger (6/1/2011)


    Gail, thank you so much! That was what I was trying to explain (my apologies for not doing a better job of it). One of my...

    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: memory pressure err messages..

    Depends. What are you doing in those CLR assemblies?

    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: Are the posted questions getting worse?

    Steve Jones - SSC Editor (6/1/2011)


    DBCC JobChange ('<html><submit url="www.dice.com" attach="resume.doc">')

    Except that throws an Invalid Region Exception.

    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: Are the posted questions getting worse?

    jcrawf02 (6/1/2011)


    Ok, worst joke I never got:

    "What do you get when you cross a mountain climber and a mosquito?

    Nothing, you can't cross a scalar and a vector!"

    Wut? How is a...

    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: is null check in where clause

    First thing to note is that AND takes precedence over OR. So what you wrote there is evaluated as:

    SELECT *

    FROM Table

    WHERE (Column1 = @Column1 AND Column2 = @Column2)

    OR @Column2...

    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: Waitng for quick help

    That would require some very complex XQuery, including the XQuery XML modification operators. Not quick, not easy.

    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: What is the difference between incremental backup and transaction log

    There's no such thing as an incremental backup in SQL Server.

    There are full backups, differential backups and transaction log backups.

    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: Are the posted questions getting worse?

    DBCC RunLikeHell

    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: Stored procedure with trigger inside

    Great, not go back and look at Ninja's comments on this trigger.

    It will NOT work properly if more than one row is affected by Insert.

    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: Stored procedure with trigger inside

    Missed that.

    Ok, for the rest, replace the EXEC with Print (and remove the brackets) and post the printed out statement

    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: Integer or Numeric

    Krasavita (6/1/2011)


    What is better to use numeric or integer in the table, which takes less space?

    It's got nothing to do with space and everything to do with what you're storing....

    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: Stored procedure with trigger inside

    exec (@var1)

    Need brackets or the contents of the variable are interpreted as an object name.

    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 - 25,786 through 25,800 (of 49,552 total)