Forum Replies Created

Viewing 15 posts - 241 through 255 (of 2,893 total)

  • RE: Update all but last two rows of each category

    Based on provided details I can suggets you to look into ROW_NUMBER() windowed function. It will allow you to write the query you want.

    If you need more detailed help,...

  • RE: Fiscal Week in TSQL

    I would highly recommend to employ a Calendar Table for this sort of "calculations".

  • RE: Explanation of LIKE '%[0-9]%'?

    Solomon Rutzky (7/27/2013)

  • 23847234872893475983479583749583749573945739 is all digits, is a valid number, but is NOT convertible to any SQL Server number types as it is larger than 38 digits
  • ...

    You can convert it...

  • RE: When NULL IS NOT NULL

    Yeah I have the same error on the:

    Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64)

    Mar 29 2009 10:11:52

    Copyright (c) 1988-2008 Microsoft Corporation

    Express Edition (64-bit) on Windows NT 6.1...

  • RE: When NULL IS NOT NULL

    ... Note that OUTER APPLY or CROSS APPLY seems to make no difference.

    same goes for JOIN, check the third column values 🙂

    WITH Tally (n) AS (

    SELECT...

  • RE: Need help to build query

    vignesh.ms (7/25/2013)


    yes your query is very simple ..

    but i cant understand ..

    Please explain what is cross apply ..

    how dose it work in this query?

    Search for "APPLY" in this BoL article:

    http://msdn.microsoft.com/en-us/library/ms177634(v=sql.105).aspx

    it...

  • RE: Need help to build query

    vignesh.ms (7/25/2013)


    yeah its working ...

    any other simple method ???

    I thought it was quite simple... 😉

    Cursor anyone?

  • Viewing 15 posts - 241 through 255 (of 2,893 total)