Forum Replies Created

Viewing 15 posts - 136 through 150 (of 234 total)

  • RE: set ansi_nulls

    Most difficult thing with this question was thinking where the trick is hidden.

    I understand author has a block to write null=null

    ๐Ÿ™‚

  • RE: Simple LIKE with wildcard

    gserdijn (5/27/2010)


    First thought: How can values like 'AA' be found with LIKE '_' ?

    Zero rows. Click. Zero points.

    Next time I will wait for the caffeine to do its work....

  • RE: DDL trigger

    Great question.

    The first part with deffered table name was easy. I missed the second part - the table is not dropped due to transaction.

  • RE: Simple LIKE with wildcard

    Paul White NZ (5/26/2010)


    Very nice question today. I only found it easy because I have been doing stuff with unusual collations recently.

    There's a great set of visual tables showing...

  • RE: Simple LIKE with wildcard

    Tom Garth (5/26/2010)


    Quite correct. The actual number of rows in #t with a default installation is 20449. To get the 26 by 26 result requireswhile ASCII(@a1) <= ASCII('Z') begin, etc.

    This...

  • RE: Simple LIKE with wildcard

    Michael Poppers (5/25/2010)


    honza.mf (5/25/2010)


    If someone uses case sensitive collation, he will have all characters in uppercase.

    Sounds reasonable, but use COLLATE Czech_CS_AS (instead of the case-insensitive collation) -- SELECT DISTINCT will...

  • RE: Simple LIKE with wildcard

    jlennartz (5/25/2010)


    If all characters were inserted into DB as upper case how come query is returning lower case?

    It's another aspect of this question not mentioned yet: All characters inserted into...

  • RE: Simple LIKE with wildcard

    Vladan (5/25/2010)


    Nice one, and you got me with that question. I absolutely forgot about "ch" and went with the popular "0" answer :crazy:

    So-called "letter" ch can create some confusion because...

  • RE: Simple LIKE with wildcard

    Michael Poppers (5/25/2010)


    malleswarareddy_m (5/25/2010)


    ...

    select string from #t where string COLLATE CZECH_CI_AS like '_'

    the above you have given returns gives

    CH

    Ch

    ch

    ยขh

    four rows.

    ...

    I was wondering why my SQL Query Analyzer output apparently...

  • RE: Simple LIKE with wildcard

    2 crussell-931424:

    Fine, CZECH is funny for you. OK.

    Do you think it about other languages? About those with same behaviour? Eg. Traditional_Spanish - AFAIK Spanish is native language in a great...

  • RE: Simple LIKE with wildcard

    skcadavre (5/25/2010)


    I got this right by process of elimination. . . I thought it'd fail so decided to go with "it depends" :hehe:

    If "error" had been an option, I'd have...

  • RE: Simple LIKE with wildcard

    ZeroFusion (5/25/2010)


    Actually, I'm Czech ๐Ÿ™‚ But I suppose the link was meant for other readers. A quick side note: that page looks awesome!

    Yes, it was clear to me, you are...

  • RE: Simple LIKE with wildcard

    Hugo Kornelis (5/25/2010)


    (note to self: in future, check question category before answering!)

    It's a good practice. It made me several times to answer correctly ๐Ÿ˜‰

  • RE: Simple LIKE with wildcard

    vk-kirov (5/25/2010)


    honza.mf (5/25/2010)


    If someone discover another collation in another language with similar behaviour, I will be very glad to have such information.

    Here is a script which finds that collations (you...

  • RE: Simple LIKE with wildcard

    ZeroFusion (5/25/2010)


    A note for people not familiar with Czech language: in the Czech alphabet, a letter "CH" is just between letters "H" and "I".

    If you want to know more about...

Viewing 15 posts - 136 through 150 (of 234 total)