Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 5,504 total)

  • RE: sql question

    I just voted for "plz send answer". 🙂

    Strong hint: a poll is not really useful to ask a question. You should start a thread in the related forum section.

    The chance...

  • RE: convert to SQL2005

    If it's an option I would recommend to move to 2K8 instead of 2K5.

    Keep in mind that mainstream support for 2K5 will end in less then a month (4/12/2011).

  • RE: Create Excel File each time using SSIS

    Maybe this link[/url] will provide the information you need.

  • RE: Methods of speeding up a huge DELETE FROM <table>

    tuseau (3/16/2011)


    ...

    So, the reason I can't perform DDL statements or use truncate is because the application is being designed for concurrent transactions. Truncate will interfere, and obviously so...

  • RE: Creating nested xml tree

    You don't have to post any actual data. Either make something up or use AdventureWorks tables that would describe your scenario. Once you have some sample data you should post...

  • RE: Percentile Calculation on Frequency field

    How many rows do you have in that table? And how many rows per Symbol (approximately)?

    Reason for asking: This code performs a triangular join that might seriously influence performance...

  • RE: Syntax Error!!Help

    UPDATE

    DWH_THE_ALLIANCE

    SET

    DWH_THE_ALLIANCE.SOLUTIONTYPE_LLAV_PR = 168

    FROM DWH_THE_ALLIANCE t1

    INNER JOIN DWH_TDI_SOLUTIONTYPE tsol ON t1.SOLUTIONTYPE_LLAV_PR = tsol.SOLUTIONTYPE_LLAV_PR

    INNER JOIN DWH_TDI_OPPORTUNITY topp ON t1.OPPORTUNITY_LLAV_PR = topp.OPPORTUNITY_LLAV_PR

    WHERE

    topp.Status = 'WIN' AND

    t1.TIME_LLAV_PR >= 20100701 AND

    t1.SEBL_ID IN (

    'CRMAP1-6-1DUXOPH'

    ) AND

    t1.SOLUTIONTYPE_LLAV_PR = 155;

  • RE: Percentile Calculation on Frequency field

    Ghanta (3/14/2011)


    hehehe this is not that I am asking... recharge ur brain 🙂

    What's wrong with my answer?

  • RE: Percentile Calculation on Frequency field

    I think you need the additional column to store the intermediate running toal values. To calculate those values, have a look at this post.

  • RE: Columns to Row?

    LutzM (3/14/2011)


    jason-772533 (3/14/2011)


    I checked the 'Forums' list before I posted and couldn't see a 2K forum. I've just checked again and there isn't one listed. There is an 'Older versions'...

  • RE: Columns to Row?

    jason-772533 (3/14/2011)


    I checked the 'Forums' list before I posted and couldn't see a 2K forum. I've just checked again and there isn't one listed. There is an 'Older versions' forum...

  • RE: When not to like LIKE

    If you run a LIKE '%something' statement against a table you'll end up with a table/index scan.

    One option would be to add an indexed computed persisted column with REVERSE(ID). Then...

  • RE: Columns to Row?

    The concept still applies:

    DECLARE @temp TABLE

    (

    Description_ CHAR(1),

    Category VARCHAR(30)

    )

    INSERT INTO @temp

    SELECT 'A','apple' UNION ALL

    SELECT 'A','aardvark' UNION ALL

    SELECT 'A','anteater' UNION ALL

    SELECT...

  • RE: Columns to Row?

    Please have a look at the CrossTab article referenced in my signature.

    You might also continue with the DynamicCrossTab concept if you need even more flexibility.

  • RE: CASE statement to only show one day of the week

    donato1026 (3/11/2011)


    ...

    Sorry, but I won't be able to do that. This can be used on any database . . . it's just the case statement I am having an issue...

Viewing 15 posts - 1,756 through 1,770 (of 5,504 total)