Forum Replies Created

Viewing 15 posts - 46,621 through 46,635 (of 49,552 total)

  • RE: Problems with Group BY Clause

    One or more of the columns in your group by has different values for one departure airport. Can't say which one without seeing a sample output from your 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: SAN best practices

    Thanks for that.

    I think I have enough ammo now. Going to see if I can get a meeting on monday. The san 'experts' won't be there, since they're in London,...

    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: Check Database Integrity

    If moves pages as early in the file as possble (generally causing massive fragmentation in the process), then releases unused space to the OS. This depends on the settings you...

    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: SAN best practices

    Found a couple of SQLCAT blog posts:

    Deploying SQL Server 2005 with SAN #1

    SQL Server 2005 Configuration Blog #2.doc

    Deploying SQL Server 2005 with SAN #3

    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: Urgent help required

    That you need to do a log backup before the space in the log file can be reused.

    Neither differential nor full backups truncate the log. Only log backups do that.

    If...

    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: Check Database Integrity

    Don't shrink the database. It shuffles index pages, causing fragmentation, and generally is not necessary.

    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: The transaction log is full

    Rebuilding indexes creates very large transactions. When the backup log occurs, active (uncommitted) transactions cannot be removed from the log.

    You may find it's necessary to grow the log a bit...

    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 (standard edition)

    Info on buying Standard edition:

    http://www.microsoft.com/sql/editions/standard/howtobuy.mspx

    For standard edition, you're looking at around $6000 per processor or $1800 for 5 CALs, depening which type of licencing you want.

    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: The transaction log is full

    What does the log_reuse_wait_desc column in sys.databases say?

    Are you doing index rebuilds or other large transactions around the time of the error?

    Do you have replication active on that DB? Mirroring?

    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 (standard edition)

    Express is freely available, standard is not.

    http://www.microsoft.com/sql/editions/express/default.mspx

    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: Permission Denied in in-line SQL statements but SPs are OK

    Deny overrides grant, so you can use deny to override grants if the user in question is in more than one role.

    The built-in roles don't have anything for just exec...

    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

    Not with any SQL backup tool. They allow you to backup the entre database or a file of the database.

    You could export the table to CSV. You could make a...

    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: Permission Denied in in-line SQL statements but SPs are OK

    The user on the database that your published site uses does not have select permissions on the tables. It's probably just got exec on the procs.

    Inline SQL (especially if concatenated...

    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: 1. Maintenance cleanup. 2. 'View History' anomaly

    Seconded. Shrink = really bad idea.

    It also appears you don't have an index rebuild happening anywhere. Is that the case?

    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: New SQL Injection Attack

    To prevent SQL injection completely:

    - Use only stored procedures or properly parameterised queries from your web app

    - Do not concatenate SQL statements and execute them. either in the web page...

    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 - 46,621 through 46,635 (of 49,552 total)