Forum Replies Created

Viewing 15 posts - 2,386 through 2,400 (of 3,348 total)

  • RE: Length

    Steve Jones - SSC Editor (4/12/2011)


    Everyone will get points back and I have corrected the question. Apologies for not fixing this earlier.

    You do not have to post to get points...

  • RE: Length

    Hmmm, weird.

    In the newsletter, the question is about nvarchar(30). On the site, the data type is nchar(30). Maybe Steve changed the question after seeing all the messages? Usually, he also...

  • RE: Foreign Keys

    Tom.Thomson (4/11/2011)


    On a somewhat related topic, I occassionally wonder how best to put together a proposal to allow Foreign Keys to reference multiple columns (when I'm not wondering that it's...

  • RE: Foreign Keys

    martin catherall (4/11/2011)


    But what about people who are living, what do you suggest storing in the "date of death column" - there's only one answer - it's unknown (and therefore...

  • RE: Logged Operations

    SanDroid (4/7/2011)


    GSquared (4/7/2011)


    Diagram it out on a piece of paper. Just a simple flow-chart. You'll quickly see...

    Wish Flow charts where better here.

    Temp Tables are logged --> MARS...

  • RE: Logged Operations

    Good question, Wayne!

    I especially liked the link to Gail's blog. I figured that the table variable option was the correct answer and answered without contemplating the version store option. I...

  • RE: Foreign Keys

    Nakul Vachhrajani (4/5/2011)


    Gopinath Srirangan (4/5/2011)


    ......

    3. Without having primary key or unique key just create unique clustered or non clustered index.

    Below code still gives the same result without defining primary or...

  • RE: Dating for DBAs

    Nice question! And I just love the punny title.

    UMG Developer (4/5/2011)


    Nice question, thanks!

    How many people actually use the ODBC date literals?

    Few, I would hope 😉

    Luckily I have seen them before,...

  • RE: How To Fix Connect

    Steve Jones - SSC Editor (4/5/2011)


    Hugo Kornelis (4/5/2011)


    Hey Steve,

    I'm not sure if your assumption holds.

    Not an assumption, or it wasn't for me. I had 4 items closed with no comment....

  • RE: Foreign Keys

    vk-kirov (4/5/2011)


    Hugo Kornelis (4/5/2011)


    The index created for a UNIQUE constraint will be clustered if there is no clustered index yet on the table, nonclustered otherwise.

    Not true. See the 'CREATE TABLE'...

  • RE: Foreign Keys

    martin catherall (4/5/2011)


    Great question.

    One thing that I'd add is that as the unique key will be created as a non-clustered index where as the default for a primary key is...

  • RE: Foreign Keys

    Funny - I take some things I know so for granted that I don't even consider it might not be as elementary for others.

    In this case, it was the PRIMARY...

  • RE: How To Fix Connect

    Hey Steve,

    it seems that most of these items were closed and marked as "Won't Fix", which I assume means these will not be fixed for SQL 11.

    I'm not sure if...

  • RE: The BIT data type

    Tom.Thomson (3/29/2011)


    I wonder what happens with

    DECLARE @bit BIT

    SET @bit i

    Set @BIT += 2147483646

    SELECT @bit

    Is it NULL, or is it 1?

    I assume that you meant the first SET statement...

  • RE: Operators

    SanDroid (3/28/2011)


    Hugo Kornelis (3/28/2011)


    I got it correct.

    I was surprised at first at the "SELECT @i+=1" syntax. I knew about the compount operators and have happily used "SET @i=1", but seeing...

Viewing 15 posts - 2,386 through 2,400 (of 3,348 total)