Forum Replies Created

Viewing 15 posts - 601 through 615 (of 819 total)

  • RE: Using TOP To Rank Columns In a Table

    CELKO (10/24/2011)


    Why did you encourage him? Sounds like time for re-education:w00t:

    I agree.

  • RE: Violating Foreign Keys

    Easy and too long question.

  • RE: Update table

    charlietuna (10/23/2011)


    The solution seems a bit opaque. Something like this is (to me) much more straightforward for the next person who has to read it:

    update #t

    set col1 = case col1...

  • RE: Out of order

    Stewart "Arturius" Campbell (10/21/2011)


    Good question...

    even then, the sort order of any select from the view is not guaranteed....

    In fact, the TOP clause with the "ORDER BY", in this case, is...

  • RE: Out of order

    paul.knibbs (10/21/2011)


    Carlo Romagnano (10/21/2011)


    CREATE VIEW vw_clients AS

    SELECT TOP 100 PERCENT Code, Name FROM Clients

    ORDER BY Code

    I am curious to know if the VIEW above always returns records in sorted...

  • RE: Out of order

    CREATE VIEW vw_clients AS

    SELECT TOP 100 PERCENT Code, Name FROM Clients

    ORDER BY Code

    I am curious to know if the VIEW above always returns records in sorted order.

  • RE: exceptional logic

    palotaiarpad (10/11/2011)


    That was a nice question. But in production code i would have used paraenthesis for better readability. 😛

    Me, too! 😀

  • RE: Using Regular expression to convert PL/SQL code to TSQL

    venus.pvr (10/10/2011)


    Comments posted to this topic are about the item <A HREF="/articles/Regular+Expressions/75121/">Using Regular expression to convert PL/SQL code to TSQL</A>

    Thanks! I found it very interesting for Regular expression syntax.

  • RE: Elementary Key Attributes

    I get it wrong, but I like this kind of questions.

    Thanks.

  • RE: Table variable vs temp table

    tommyh (10/3/2011)


    There are several problems with this question. One being that you cant declare @Start 2 times.

    The other being that the answer is wrong. They both perform equally. I have...

  • RE: Union results

    Very simple. Thanks. 🙂

  • RE: Custom SSMS Shortcuts for ETL Developer. Part 1: SELECT in a Keystroke

    shayk (9/22/2011)


    Nice, but the SP unnecessary. You can write in the SSMS "Select TOP 50 * FROM "

    I also use this "Select TOP 50 * FROM ". It is better...

  • RE: Unary & Aliases

    Olga B (9/13/2011)


    Ah yes, my "favorite" bit of SQL syntax

    select 0 [A]

    A fun bug to find when I accidentally delete a comma and then try to figure out what's...

  • RE: Unary & Aliases

    Tom.Thomson (9/13/2011)


    Amusing and fairly easy question.

    The misprints in the explanation may have left some people confused. All three alias forms are wrong (1st missing "= <", second and third...

  • RE: INSERT INTO

    Unfortunately, the editor to contribute with a question, sometime, changes the text both in the question and more often in the explanation. Yesterday, the explanation of "Unary & Aliases" was...

Viewing 15 posts - 601 through 615 (of 819 total)