Forum Replies Created

Viewing 15 posts - 5,761 through 5,775 (of 49,552 total)

  • RE: Unable to use proper quotes in the statement

    SQL-DBA-01 (5/27/2015)


    if in the string (passwed) if tge DBA/user passes one or two quotes, could be a trouble.

    Not if you use REPLACE.

    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 Scientific Method: a call to action

    Kyrilluk (5/27/2015)


    I agree that the more access you give to people the more likely something bad is going bad to happen. What I am after is the quantification of this...

    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: Add indexes to views used in sql azure

    mattech06 (5/27/2015)


    Can you see any easy optimizing of those statements (I know I haven't posted any data, sorry)

    I was about to say 'execution plans, table definitions and index definitions', then...

    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 Scientific Method: a call to action

    Kyrilluk (5/27/2015)


    Eric M Russell (5/27/2015)


    Kyrilluk (5/27/2015)


    Eric M Russell (5/26/2015)


    Kyrilluk (5/26/2015)


    It would be nice to have this scientific method to all the blab about security as well. Like "I shouldn't give...

    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 Training Courses...

    BL0B_EATER (5/27/2015)


    Anyone else here been?

    Yup. Done IE 1, 2 and 3

    I assume a mind-bending experience...

    Yup.

    Make sure that work knows you're not to be bothered. Nothing worse than spending...

    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: Performance question

    SQLJay (5/19/2015)


    but there would be a definite increase in performance due to the number of SQL threads doubling.

    False.

    SQL is not, in any way, limited to one thread per file. Any...

    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: Corruption in critical database

    You can try to delete the documents in question, though I suspect that will throw an error.

    If you don't care about losing those two documents, then when you can take...

    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: Add indexes to views used in sql azure

    Not possible. To start with, you have outer joins which aren't allowed in an indexed view

    This isn't an Azure limitation, the earthed SQL product has the same long list 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: Incorrect Information in File == MySQL Table Corrupted?

    You'll probably get a far better answer if you post this on the MySQL forums. Try http://forums.mySQL.com. This site is focused on Microsoft SQL Server and most people here will...

    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: Tuning expensive query II

    WhiteLotus (5/26/2015)


    I don’t think eliminate distinct will make any difference ….

    By which you mean you've tested it and it didn't make any difference? ....

    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: Alter Table triggers Recreate Table ?

    ALTER TABLE ... ALTER COLUMN doesn't recreate the table. It changes a single column.

    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: missing one record when selecting by date range

    itortu (5/26/2015)


    I changed my original query to use 23:59:59, and that also gave me the missing record back.

    But you'll still miss 23:59:59.006. The alternative suggested with a < 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: Are the posted questions getting worse?

    Steve Jones - SSC Editor (5/25/2015)


    He has been banned

    Was this you then, restoring deleted posts? http://www.sqlservercentral.com/Forums/FindPost1688705.aspx

    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?

    Nothing wrong with while loops. I'm about to start a batch of WHILE @Done != 0 INSERT INTO ... SELECT TOP (@n) FROM ... on a client's server

    Tool...Job.

    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: Service Broker for HA and DR

    That's extremely weird and would require a hell of a lot of custom development. Sounds like someone wanted to do things the hard way.

    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 - 5,761 through 5,775 (of 49,552 total)