Forum Replies Created

Viewing 15 posts - 35,071 through 35,085 (of 49,552 total)

  • RE: Having trouble connecting to a cluster in single-user mode with a DAC connection.

    So it's not a login failure. The connection request is never reaching SQL. If it was, there would be a 'login failure' in the error log.

    Is there a firewall between...

    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: updating statistics when migrating databases

    After upgrading:

    Set the page verify option to CheckSum

    Run DBCC UpdateUsage

    Update all statistics WITH FULLSCAN

    Rebuild all indexes (writes the checksum on all index pages)

    Run a DBCC CheckDB with the Data_Purity option

    Set...

    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: Why not Index Seek ?????????

    Bhuvnesh (12/29/2009)


    select acct_id , evt_stub from invitee

    group by acct_id , evt_stub , cont_stub

    having count(1) = 1

    With above query , there is index scan but there is clustered index...

    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: Question for SP_EXECUTESQL

    Post the queries please plus the two execution plans, one from running it as a query, one from running it via sp_executesql. See http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    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 restore from backup

    Looks like you're trying to restore over the existing database. Don't. Drop the corrupt database and restore the new one from scratch.

    Post the restore command that you're using.

    Do you have...

    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: My Database is (In Recovery) - SQL2005 over Windows 2003

    Query sys.databases for the state.

    Open the SQL error log and look for messages relating to that DB. If you see things like

    "Recovering database <db name> (phase 2 of 3) Estimated...

    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: when this error occurs ,how to find the problem?

    As the error says, run this and post the full results.

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    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: Finding user connected to a Database in SQL Server 2008

    What's the SPID? I'm going to guess it's way under 50. Means it's a system process and can be ignored.

    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: Having trouble connecting to a cluster in single-user mode with a DAC connection.

    WayneS (12/28/2009)


    GilaMonster (12/28/2009)


    WayneS (12/27/2009)


    4. Open a new query. Connect as "ADMIN:ServerName" - login fails.

    With what message? Check the error log for the reason that the login failed. Should a non-zero...

    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 you make this 44.8730084 into this: 44.8%

    ravi_m_s (12/28/2009)


    select substring(cast(44.8730084 as varchar),1,4)+'%'

    Why would you want to convert to a varchar just to round a number off? String conversions are expensive operations.

    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 (12/28/2009)


    heck with gaming, this looks to me like a way to change computer interfacing.

    Precisely why I want it for the PC. Xbox and gaming is all well and good,...

    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 Database triggers

    What kind of triggers are you talking about?

    A DML trigger (insert/update/delete) will be in the triggers folder under the table that it's created on.

    A database-scoped DDL trigger will be 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: Having trouble connecting to a cluster in single-user mode with a DAC connection.

    WayneS (12/27/2009)


    4. Open a new query. Connect as "ADMIN:ServerName" - login fails.

    With what message? Check the error log for the reason that the login failed. Should a non-zero state 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: Are the posted questions getting worse?

    Bru Medishetty (12/28/2009)


    Thinking about games remind me of this fantastic one from Microsoft, it's called Project Natal.

    Not a game though. A new controller (motion sensor, face recognition, etc) for 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: Are the posted questions getting worse?

    Matt Miller (#4) (12/28/2009)


    GilaMonster (12/28/2009)


    Am currently replaying BG1 (it aged very well) and have craving to replay KotOR or KotOR 2

    I've been thinking of picking up BG1 again. 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

Viewing 15 posts - 35,071 through 35,085 (of 49,552 total)