Forum Replies Created

Viewing 15 posts - 39,106 through 39,120 (of 49,552 total)

  • RE: Multiple Differential Backup Streams

    There's no way to have separate diff 'streams' Even if you could use COPY_ONLY, it just means that the backup that you've taken doesn't reset the diff base. Any diffs...

    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: Can SQL fetch user variables

    Take a look at the sys.dm_exec_sessions and the sys.dm_exec_connections DMVs. You can use @@Spid to get the spid of the session to filter those DMVs.

    Doing auditing in triggers?

    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: Count

    No way to tell from that information.

    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: Difference between Count(*) & Count(1)

    SeanF (5/14/2009)


    select count(column name) from table

    will return the number of non null columns

    More correctly it will return the number of rows in the table where the column specified is 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: What solution for 30 million users

    New database?

    Existing database?

    30 million concurrent users? If not, what's the estimate for concurrent users?

    Expected database size?

    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: Difference between Count(*) & Count(1)

    No practical difference. They both count the number of rows in the resultset.

    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: can corrupted db be deleted and redo a new one?

    What do you mean by "redo a new database"? Restore from backup?

    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 server Log checkpoint Error

    Those aren't errors. They're part of the normal restart-recovery of databases that SQL will do if the databases were not cleanly shut down when the SQL service terminated.

    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: Using Update between two tables

    Please post table definitions, sample data and desired output. Read this to see the best way to post this to get quick responses.

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    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's a strong password .. really ?

    A strong password is one that cannot be brute forced in a reasonable amount of time and is not vulnerable to a dictionary attack.

    Bad password: P@$$w0rd

    Reason: Those substitutions are common,...

    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: Frequently Database goes suspect mode!

    ComITSolutions (5/13/2009)


    Yes, My application Stops Sql Server agent & SQl Server Takes Back-up(mdf and ldf files and starts SQL Server and Server Agent.

    Don't. That's a very poor way to...

    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: Trying to add PK to existing Table

    Jacob Pressures (5/13/2009)


    How much of that syntax do you guys know by heart without consulting a reference?

    Quite a lot in areas that I work with frequently. When I can't remember...

    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: Differential Backups not behaving as expected

    Clint (5/13/2009)


    I could restore the diff backup that was created 1st after the full backup. I could also skip a few diffs after that one and restore another. ...

    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: Frequently Database goes suspect mode!

    ComITSolutions (5/12/2009)


    When my application starts, Physical files back-up is taken(auto).

    Do you mean that you just copy the database files (mdf and ldf) somewhere for a backup? Do you stop...

    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: MSDE Database has an MDF named datafile AND a log file with MDF extension!

    Roger Abram (5/13/2009)


    The data file has an MDF extension but the log file associated with it also has an MDF extension!!!

    Doesn't matter. The extension doesn't set the type of 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

Viewing 15 posts - 39,106 through 39,120 (of 49,552 total)