Forum Replies Created

Viewing 15 posts - 61 through 75 (of 76 total)

  • RE: Finding Smart Hierarachical order based on interdependencies

    Just to update, I got the solution.

    --String Splitter keeping data into temp table

    SELECT DEALID, SUBSTRING(NETOUTDEALS, n, CHARINDEX(',', NETOUTDEALS+',', n)-n) as netout

    INTO #NETORDER FROM [dbo].DealExecutionOrder

    CROSS JOIN (select number from...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Finding Smart Hierarachical order based on interdependencies

    Let me put the problem in different words so that it is easy to understand the context.

    Assume the case to be an organization assigning employees to do annual reviews...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Finding Smart Hierarachical order based on interdependencies

    This is what I tried but did not work. DealID=1 is coming before 12 in the output.

    Please let me know if I am not clear.

    --String Splitter keeping data...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Finding Smart Hierarachical order based on interdependencies

    For simplicity, I have taken only needed columns. In reality, DealID itself is a FK. NetOutDeals is coma separated list that is also a FK similar to DealID. I request...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Between Clause

    If 'order by 1 ' is commented/removed, I still get same result set in different order.

    In other words wrt to performance, does Between puts the column in sorted order...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Creating a Matrix table in SSRS

    Your data might spread into July, August etc. since "Queries resolved,Queries resolved in SLA, Queries resolved out of SLA, Queries resolved in SLA" fixed fields, I would recommend to keep...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: SSIS, bulk import with ODBC

    As Erland said, above statistics seems ok kind of performance to me with indexes. But if destination database is not operational database and just a OLAP database, then consider adding...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: passing date parameter in ssis 2008 at run time

    You can pass the rundate dynamically using SSIS package config file.

    When you run SSIS package, it first checks the variable/property values in config file. If found any, it will...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Top from store procedure

    Try use CTE and select top 10 from cte. I did not test this myself but believe it should work.

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: SQL Server Error Handling

    This is as good as 'google Nose' prank....LOL..:-)

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: Could not connect to the report server http://localhost/reportserver

    Well, I got the solution from msdn. On my windows server, I did below steps:

    1. In the reporting services configuration manager, click web service url. Removed the SSL certificate...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: how to combine and convert two integer columns to datetime

    Weekly once ~800 records. It should ok to use function at the moment.

    Yes, I would consider using TVF if data is significant.

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: how to combine and convert two integer columns to datetime

    It is an application database used for reporting purposes, where I need to calculate datetime out of two integer columns (till last week, I calculated only date but new requirement...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: how to combine and convert two integer columns to datetime

    Thank you very much OPC.Three.

    This builtin function msdb.dbo.agent_datetime did the job for me.

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

  • RE: how to combine and convert two integer columns to datetime

    Thanks Lynn for your response.

    The code you shared works for this example but sometimes integer time column or col B can have values like 93000 (9.30am) or 0 (12...

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

Viewing 15 posts - 61 through 75 (of 76 total)