Forum Replies Created

Viewing 15 posts - 27,481 through 27,495 (of 49,552 total)

  • RE: Condition in Where clause query

    pwalter83 (3/9/2011)


    GilaMonster (3/9/2011)


    Could you post table definitions, sample data and expected result please?

    Now this is really frustrating. Without even reading the question, you have replied in a template answer. This...

    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 trigger to catch every row

    Depends on what you want the delete trigger to do. Your description earlier wasn't very clear. Same kind of pattern should be applicable.

    One thing that the trigger doesn't take into...

    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: DR solution..Pls respond

    GSquared (3/9/2011)


    How transactional are the databases? Does it vary from database to database or are they all the same? What kind of connection are you log shipping through...

    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?

    Kit G (3/9/2011)


    I happen to like kilts and guys in kilts (as long as they are wearing the socks, that is. :-)) I think it's a sexy look. ...

    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 TRACK ALL QUERY IN A DATABASE IN A TABLE FORMAT

    Ivan Mohapatra (3/9/2011)


    sir it is a trace where i can'nt find the query which is been run and from which machine-pc.

    Sorry, I don't understand what you're asking.

    If you want something...

    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 trigger to catch every row

    Here's a modification of your trigger that will work with multiple rows inserted. I think it's correct, haven't tested.

    ALTER TRIGGER [dbo].[articlecount]

    ON [dbo].[orderitem]

    AFTER INSERT

    AS...

    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: SSRS 2008 Report on Cube: Issue using Parallel Period

    Please don't cross post. It just wastes people's time and fragments replies

    No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1075440-1633-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: Condition in Where clause query

    Could you post table definitions, sample data and expected result please?

    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 trigger to catch every row

    Post the current code that you have for the delete trigger please.

    p.s. your insert trigger does not work for multiple rows inserted

    DECLARE @ArticleNR AS NVARCHAR(20),

    ...

    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 shipping in SQL Server 2008 and 2008 R2

    Log shipping between versions does work, but bear in mind if the prod server ever fails and you have to use the DR box, you'll never be able to go...

    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: ***Unable to get thread context -no pss

    Backups in SQL are online and don't stop apps from connecting or querying.

    Stack dumps are problems. Check that you're on the latest patch (SP4), if you are then contact CSS...

    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 TRACK ALL QUERY IN A DATABASE IN A TABLE FORMAT

    Please don't cross post. It just wastes people's time and fragments replies

    No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1075325-1550-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: HOW TO TRACK ALL QUERY IN A DATABASE IN A TABLE FORMAT

    Please don't post in all caps. It's like shouting at us.

    To trace queries executed you need SQL profiler or a Server-side trace. See http://www.sqlservercentral.com/stairway/72363/

    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 TRACE ALL QUERY IN A DATABASE.

    Duplicate post. No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1075325-1550-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: How to protect MDF & LDF file from copy ?

    Rajat Jaiswal-337252 (3/8/2011)


    Actually situation is We have to install our database on client machine (end user machine) and obviously the end user have full SQL SERVER control but we want...

    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 - 27,481 through 27,495 (of 49,552 total)