Forum Replies Created

Viewing 15 posts - 40,681 through 40,695 (of 49,552 total)

  • RE: MDF & LDF

    Ratheesh.K.Nair (3/2/2009)


    Can you please explain? I tried opening in notepad but i didnt find anything..

    Notepad is not a hex editor.

    Unless you are intimately familiar with the structure of database pages,...

    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 find out when a table was dropped, and by which user?

    cshekhar (3/2/2009)


    Simply i need to remove this protection in some cases, for that scenario how can i ?

    Disable the trigger.

    A better approach than a DDL trigger would be to ensure...

    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: Error: Could not open FCB for invalid file...

    pedro.ribeiro (3/2/2009)


    In my case , i have the same problem (suspect database).

    Please post your problem in a new thread in the appropriate forum (SQL 2000 is 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: MDF & LDF

    Short of opening the mdf in a hex editor and finding the version code in the header page, no.

    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: DDLAdmin role is removed

    AShehzad (3/2/2009)


    Now, I have to get columns of temp table from information_schema.columns

    Why? The only tables that should be in tempDB are temp tables that your session has created. Hence...

    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 find out when a table was dropped, and by which user?

    cshekhar (3/2/2009)


    But i can see the data which is after the reboot (StartTime), but i need the information of before recycle.

    There should be 5 trace files. What about the...

    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: LDF/MDF vs .BAK

    A Little Help Please (3/2/2009)


    Question, what do you mean by:

    Compat mode 80/90?

    Look up Compatability level in Books Online

    How would I:

    update all statistics on 2005

    Look up UPDATE STATISTICS in Books Online

    run...

    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: DDLAdmin role is removed

    ALZDBA (3/2/2009)


    GilaMonster (3/2/2009)


    ALZDBA (3/2/2009)


    If there is more than one concurrent "#temp" object, sqlserver will add stuff to the object name to make it unique.

    SQL will always add a prefix, whether...

    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: LDF/MDF vs .BAK

    Either will work. Check compatibility before you move to 2005 (test restore, update advisor) as there's stuff that breaks even in compat mode 80.

    Once on 2005 update all statistics, run...

    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 find out when a table was dropped, and by which user?

    Providing the default trace is running, and the table wasn't dropped too long ago, you can use that.

    The default trace is 5 trace files of 20MB apiece that are put...

    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: DDLAdmin role is removed

    ALZDBA (3/2/2009)


    If there is more than one concurrent "#temp" object, sqlserver will add stuff to the object name to make it unique.

    SQL will always add a prefix, whether it's the...

    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: Help Performance Tune this Code please

    Dean Jones (3/2/2009)


    I have tried the index with the INCLUDE statement, and although it doesnt seem to make much diffrence to be honest, in fact when used in the view,...

    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: HELP ME

    saravanantvr1984 (3/2/2009)


    I need to fetch the values from database table ,like when update, delete,or

    insert happening. If we using trigger we can do only for particular table,

    but i...

    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 pass sql statment to stored procedure?

    Performance-wise it'll be about the same. However, as soon as you start using dynamic SQL you're creating a whole bunch of security issues and concerns, from greater permissions required (permissions...

    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 pass sql statment to stored procedure?

    Why do you want to pass an entire statement to a stored 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

Viewing 15 posts - 40,681 through 40,695 (of 49,552 total)