Forum Replies Created

Viewing 15 posts - 11,236 through 11,250 (of 49,552 total)

  • RE: Log space issue

    DBCC loginfo

    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 an existing SQL database with a new backup

    Just restore over the existing database.

    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: Create Database - CONTAINMENT

    hoseam (10/22/2013)


    The thing is when I put them under a folder I still get this error:

    Directory lookup for the file "C:\Databases\SQLDevTest.mdf" failed with the operating system error 2(error not found).

    Msg...

    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: Create Database - CONTAINMENT

    Database files in the root of C? Sure that's a good idea?

    As for the ALTER DATABASE, the syntax you listed is correct. Make sure you haven't highlighted part of 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: timeouts

    Profiler it should do, otherwise catch the error in the application. Don't run profiler against a busy production server.

    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: Create Database - CONTAINMENT

    Does the directory exist? If not, then you will get an error.

    These errors are ones you (being the DBA who knows the layout of the server and the drives) needs...

    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: Create Database - CONTAINMENT

    The error tells you exactly what's wrong. You're specifying a non-shared drive for database files for a clustered SQL Server.

    "Cannot use file 'C:\Databases\SQLDevTest.mdf' for clustered server. Only formatted files on...

    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: Backup - general tab

    Yes, the backup is striped over all the specified files.

    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: Create Database - CONTAINMENT

    Which files does the script reference that you expect to be sent?

    This is just a create database for a SQL Server 2012 database scripted from management studio. Yes, most of...

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

    djordan 4543 (10/21/2013)


    I am beginning to doubt that sql dbengine does not timeout anymore - is there any option you can use to make a query timeout?

    No. The only query...

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

    SQL Server has no concept of query timeouts for queries it's running. Timeout is a client application setting. The client application decides it's waited too long and tells SQL server...

    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 regarding database backups

    You're writing two backups to the same file. You didn't specify to overwrite, so SQL appends. Hence that file now has two backups and is the size of the two...

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

    In general, ignore it. It was part of Microsoft's (failed) attempt to simplify the fragmentation 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: Strange Behavior with (nolock)

    DBCC CheckDB (<database name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    I'd still remove the nolocks, they definitely can cause you problems, by design they can result in incorrect data. As I said, not usually...

    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: Locking a record in Edit Mode

    PradeepVallabh (10/21/2013)


    The way i understand, it's almost similar to Timestamp

    It is timestamp (renamed). It'll be there unless you're working with SQL 2000.

    It's not a datetime, it's nothing to do...

    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 - 11,236 through 11,250 (of 49,552 total)