Forum Replies Created

Viewing 15 posts - 1 through 15 (of 65 total)

  • RE: Rounding Rules

    Yep - I knew the "right" answer, but I entered "An error" just because there was one - in the question itself! Again! Sorry Steve, as much as I respect...

  • RE: Binary Compare

    So did I - and got it wrong! That was the start of my downfall....

  • RE: Binary Compare

    As usual, I am getting more confused the more I look into things! I use (rightly or wrongly - let's not get into that discussion) integer data as bitfields to...

  • RE: Binary Compare

    Perry Whittle (5/17/2016)


    Bob JH Cullen (5/17/2016)


    which in any integer expression are irrelevant, surely?

    This is not an integer expression.

    The code first checks the binary values for @a and

  • RE: Binary Compare

    Please explain why comparing the value 1 with the value 1 fails? The "explanation" talks about trailing zeroes, but the difference in the initialisation values are leading zeroes, which in...

  • RE: Naming Is Hard

    david.leyden (4/6/2016)


    I think if you found someone using GUID's for table names my guess is the tables were created by some program and not by a DBA or developer.

    I had...

  • RE: RLS Filters

    I don't understand how this can work, even if you do pass 'bsmith' rather than 5 into the check function (can '5' be cast as a sysname, anyway?).

    The function returns...

  • RE: CHECKING specific values

    This harks back to a similar post a little while back, and as a result I got this right. However, I still fail to see any logic in a process...

  • RE: CHECKing Values

    This is yet another one of those things in SQL Server which appear counter-intuitive. To me, at least. If I want to check that any data in that column must...

  • RE: Removing duplicate character from string

    Maybe soundex() would be a valid approach if it is the pronunciation that matters.

    'bok', 'book' and 'booookkk'' all produces a value of B200 in a quick test.

  • RE: Cross Apply

    I don't think any of the answers are correct because the question refers to Products, and there is no mention of products in the query, only sales order values. Without...

  • RE: Counting Classes

    I am not convinced that this is the right answer to the general problem. It works with that particular data set only because there are no duplicate subjects. We were...

  • RE: What are your five most common T-SQL commands

    Eric M Russell (8/21/2015)


    You are standing in an open field west of a white house, with a boarded front door.... Opening the small mailbox reveals a leaflet.

    > read leaflet

    "ZORK...

  • RE: Extract the titles from XML

    Er, all which three books of the four that are in the data .... ?

  • RE: Deterministic

    This is probably a case of me not understanding some terminaology, but what is the difference between what this UDF is doing, and the function referenced in the explanation of...

Viewing 15 posts - 1 through 15 (of 65 total)