Forum Replies Created

Viewing 15 posts - 18,136 through 18,150 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    The way I search for plagiarism/copyright violation is to take a random sentence out of a paragraph and google for that sentence (in quotes)

    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: HOW TO INSERT VALUE FOR THIS TABLE WHICH IS HAVING DECIMAL DATATYPE?

    sivag (6/11/2012)


    BUT I GOT ERROR WHILE CREATING THE TABLE

    Incorrect syntax near '('.

    Yes, because as we both said, you have stray brackets in the table definition. There's one line that...

    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: Query that ran to use an Index

    SQLKnowItAll (6/11/2012)


    i.e. If you have an index on columna, and columnb... Will a qury filtering solely on columnb be able to use this index?

    Yes, actually it would, but that's...

    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: HOW TO INSERT VALUE FOR THIS TABLE WHICH IS HAVING DECIMAL DATATYPE?

    Same way you insert data into any other table, with an insert statement like the one you posted. What exactly is the insert doing or not doing?

    Note that both your...

    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: Query that ran to use an Index

    Grizzly Bear (6/11/2012)


    I know I can get when an Index was used last from sys.sm_db_index_usage_stats.

    But how can I figure out what query used that index , be it...

    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: Why Database Space Available decreases when reducing column size?

    Possibly work space for the alter or other concurrent activity. You'll need to rebuild the clustered index before the table size shrinks, if it will shrink at all, which it...

    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 in INFORMATION_SCHEMA.TABLES missing

    Information schema views are based off the underlying system tables, there's no lag and they cannot get out of sync (well not without the database being considered seriously corrupt)

    My guess,...

    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 find the compile time for a plan

    You're running it in a database with compat mode set to 80.

    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 2008 Certifications worth it with SQL 2012 Exams going live soon?

    You can write the exams in any order you like, you will get the certs once you pass all required exams and hold any pre-req certs.

    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: Cannot be bound error

    brendan.tate (6/11/2012)


    Do i need to?

    Sure, otherwise how does SQL know what you mean

    Dbo.Payloads is the table?

    Maybe, but you haven't got any FROM clause, so again, how does SQL know...

    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: Cannot be bound error

    Neither ContentReference nor ID are defined column aliases.

    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 data and field comparison fo two tables in differnt DB's

    I recommend RedGate's SQLCompare and SQLDataCompare.

    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?

    I had a suspicion that was who you were talking about. fyi, he's not an MVP any longer. He works for MS.

    Also, this looks like the source

    http://download.microsoft.com/download/0/1/0/01062E46-A7DD-4922-9740-C86249323477/SQLServer2008R2EnterpriseWhitepaper.docx

    Published: April 2008

    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: Keylookup -what is the harm

    Because it's slow. A key lookup is a single row at a time, so if you have key lookups happening on 10000 rows,that's 10000 seeks of the clustered index.

    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: Transaction Log Too Big and Won't Shrink

    Please read through this - Managing Transaction Logs[/url] and this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    It's not the replication distribution agent that, if stopped, causes the logs to grow. It's the log reader agent.

    Also,...

    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 - 18,136 through 18,150 (of 49,552 total)