Forum Replies Created

Viewing 15 posts - 45,061 through 45,075 (of 49,552 total)

  • RE: dynamic sql syntax automatic restore

    Please don't cross post. It just wastes people's time and fragments replies. Many of us read all the forums.

    No replies to this thread please. Direct replies to:

    http://www.sqlservercentral.com/Forums/Topic552520-146-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: Index Question

    My guess, there are too many rows returned for the index seek + bookmark lookup to be efficient, so unless the index is covering, SQL elects to scan the cluster.

    Check...

    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: Alter Table Add Constraint Returns bizarre error

    Brandie Tarvin (8/14/2008)


    They need a better priority system than alphabetical. They need to be able to let you choose an option on how to set what default comes up....

    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: Min/Max Server Memory

    bodhilove (8/14/2008)


    why is the max set so high as a default (2147483647 MB)? If I am getting paging problem would that be because this is too high?

    The default basically means...

    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: Permission Issue

    Ratheesh.K.Nair (8/14/2008)


    The application is showing disk full error.

    That's not a permission-related error. If you could post the exact error message, we could probably tell you whether or not it's 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: Trigger to fire after multiple update statements

    Depends on your table structure and what and who you need to mail. Put into the temp table enough info that you can then identify which salaries you updated for...

    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 2005 SERVER GENERATES HUGE BROADCAST

    vrijesh prajapati (8/14/2008)


    HI, SQL 2005 DATABSE(SP4) SERVER IS GENERATING HUGE BROADCAST & OUR ROUTERS WERE GETTING HANGED.

    First thing, please double check your version. SQL Server 2000 is up to service...

    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: Separate Login for a query in a stored procedure

    bhuvnesh.dogra (8/14/2008)


    If i add domain\sqlman as remote login it gies below error:

    Executed as user: DOMAIN\SQLMan. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [SQLSTATE 28000] (Error 18456). The step...

    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 to fire after multiple update statements

    Perhaps write a stored procedure, keep track of the employees that you've updated in a temp table and then send the mail at the end of the procedure.

    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: Permission Issue

    It would help if you said what error they were getting.

    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: how to update.

    Sure. Untested, but this should give you an idea.

    UPDATE SomeTable

    SET RMFP = CASE uid WHEN 1 THEN 15 WHEN 7 THEN 18 WHEN 8 THEN 19 ELSE 0...

    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 to fire after multiple update statements

    Triggers fire after every update. That's how they work. You can put code into the triggers so that they don't do whatever they do in certain cses, but that's all.

    Perhaps...

    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: Interesting but Stupid Question

    Do we get a prize for answering correctly?

    Remember that "_" is a single character wildcard in SQL, like "?" is in access.

    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: Starting SQL Server in Minimal Configuration

    Ratheesh.K.Nair (8/13/2008)


    CAn anyone please explain what is -c and -f ???

    Look in Books online under the section "Using the SQL Server Service Startup Options". It lists all of the command...

    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: Separate Login for a query in a stored procedure

    bhuvnesh.dogra (8/14/2008)


    Dude please tel how to do it

    I did.

    Create a SQL login on that server.

    Give that login just the rights that it needs for what you are doing...

    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 - 45,061 through 45,075 (of 49,552 total)