Forum Replies Created

Viewing 15 posts - 211 through 225 (of 49,552 total)

  • RE: Moving Database Objects

    VastSQL - Tuesday, April 3, 2018 11:20 PM

    GilaMonster - Tuesday, April 3, 2018 6:54 AM

    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: Issue Casting as either decimal or integer

    You're missing a close bracket.

    Should be
    CAST (D.Duty_Rate as decimal(22,8))

    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: Database too big than .bak

    tmmutsetse - Tuesday, April 3, 2018 9:08 AM

    @Gila The backup is on the default server setting

    And is the server default to compress...

    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: Best approach to achieve high availability and disaster recovery?

    You cannot have both sites writeable. SQL's HA features do not scale out writes. There's peer-to-peer replication, but then you really need to localise writes (and at the table level,...

    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: sys.databases

    They're separate settings, they do different things and, tbh, when I'm doing audits and I find DBs with both enabled I flag that as a potential problem.

    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: Moving Database Objects

    VastSQL - Tuesday, April 3, 2018 6:33 AM

    GilaMonster - Tuesday, April 3, 2018 5:49 AM

    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: Database too big than .bak

    Is the backup compressed?

    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: Moving Database Objects

    You can put the tables with the file in specific filegroups and move the files in those filegroups to a different drive, or set limits on file sizes.
    Growth 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: Moving Database Objects

    VastSQL - Tuesday, April 3, 2018 4:15 AM

    Can you please let me know why the hardcoding with make it impossible 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: Moving Database Objects

    You can't do cross-DB referential integrity, so just have to hope the app is written correctly (or use triggers, but they have problems too)

    Why is this being done?...

    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: Limit Concurrent Logins by database and/or user ID

    Start by asking the 'security' person where they get these ideas from.

    Does every application in your environment use individual logins to the DB for each different person using...

    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: Inactive database user?

    It's not a 'best practice', and finding justification will be rather hard, as people seldom write articles on 'this non-existent security practice is not a good idea'

    See my...

    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: TDE with trusted certs

    sqlGDBA - Wednesday, March 28, 2018 6:53 AM

    2008 doesn't support the same ones that 2014/2016 do


    Details about that is exactly what...

    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: Checking sort order and fixing it

    The first problem is, the 4th row by what? Tables have no defined order, so saying the 4th row in the table is a meaningless statement.

    You're probably better...

    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: Table partitioning question

    That makes sense.

    Yes, to implement the partitioning, you need to rebuild the heap/clustered index, as well as any nonclustered indexes you want partition-aligned, onto the partition scheme.
    Splitting...

    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 - 211 through 225 (of 49,552 total)