Forum Replies Created

Viewing 15 posts - 181 through 195 (of 231 total)

  • RE: Varchar or Char?

    john.arnott (10/16/2009)


    Tom Garth (10/16/2009)


    .....I get the feeling that John derived this question from a real world application rather than just for kicks.

    Actually, yes. I've been going through a database...

  • RE: Varchar or Char?

    I guess I need to learn to read a little more carefully. My apologies. However, I must take one final whack at this dead horse. The fact...

  • RE: Varchar or Char?

    1. The character set has already been defined in the question so regardless, nchar and nvarchar are out.

    I see your point but I'm not really sure I agree with...

  • RE: Varchar or Char?

    While I like this type of question in theory, apparently, in this example "efficient" is defined only in the context of how many bytes are being stored. When asking...

  • RE: Memory settings question

    Allocating memory doesn't necessarily mean that it will use memory. It simply means that it can. As the data and proc cache fills you will see the amount...

  • RE: Disappearing results pane

    My bad. I forgot that I had turned on "discard results" last week while testing something else.

  • RE: Test Drive

    blandry (8/19/2009)


    Our parent company implemented a plan about a year and a half ago where new hires are brought on for a 6 month probation period, during which they are...

  • RE: Test Drive

    I've been out of work for four months although I'm (finally) starting a new job on Monday with a great company. During that four months I've experienced a wide...

  • RE: Reporting Services Database

    The answer given is incorrect. SQL Server Express does not support reporting services. SQL Server Express Advanced edition does.

  • RE: Falling Over our Assumptions

    GilaMonster (4/8/2009)


    Robert Frasca (4/8/2009)


    Actually, if memory serves, in SQL Server 2005, table variables are stored in TempDB as well. In SQL Server 2000 they were stored in RAM. ...

  • RE: Falling Over our Assumptions

    GSquared (4/8/2009)


    On the "temp tables are bad" thing, the coding requirements for the place I work state that table variables should be used instead of temp tables, and that temp...

  • RE: Falling Over our Assumptions

    "all temp tables are bad" and "all sub-queries are bad"

    The temp tables thing comes up a lot.

    I was once doing some performance tuning for a client and encountered a query...

  • RE: Update with a join where more than one value can be returned

    Thanks for everyone's suggestions. As it turned out, it was embarrassingly simple and, as sometimes happens, I was trying to make it harder than it needed to be.

    UPDATE TempFactTable

    ...

  • RE: Update with a join where more than one value can be returned

    Gianluca Sartori (3/11/2009)


    Try this:

    UPDATE TempFactTable

    SET CodeID = LookupID

    FROM TempFactTable t

    INNER JOIN (

    SELECT LookupCode, MAX(LookupID) AS LookupID, MAX(OtherCode) AS OtherCode

    FROM LookupTable

    ...

  • RE: Indexes

    Steve Jones - Editor (12/22/2008)


    I'm not sure it's even good English, and it's certainly not consistent.

    I would agree it is important that we understand what we are talking about and...

Viewing 15 posts - 181 through 195 (of 231 total)