Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • Reply To: Resolution needed by using Rank, Rownumber

    Thank you very much. This has really resolved the problem

  • Reply To: Calling same stored procedure

    Sorry if I was not clear earlier.

    This is the entire process

    BEGIN TRY

    BEGIN TRANSACTION [Tran1]

    select top 1 @caid=ca.id from Cases ca

    where ca.applicationstatusentityID in (1,2,12,15)

    Insert into CaseAssigned table the caseId selected above

    Delete...

  • Reply To: Calling same stored procedure

    I have multiple inserts like inserting the audit_trail table before I insert this caseID into a separate table. So it cannot be a single select insert statement

    Can I lock this...

  • RE: Tree View Hierarchy Query

    Thank you very much.

    It worked really well.

    Thanks once again

  • RE: Tree View Hierarchy Query

    IDParent IDFlagLevel

    10 11

    21 02

    32 03

    40 ...

  • RE: Help on a query

    Thanks. Even this does not give the correct output.

    Because for "A", the Trend again changes on the 9th. and this is not reflected in the output

  • RE: Help on a query

    Thanks for the reply. However this fails with the following data

    DECLARE @tbl TABLE (Name Varchar(10), Date Datetime, Trend varchar(10), Strength varchar(10))

    insert into @tbl values('A', '01-Jul-2011', 'Buy', 'Mid')

    insert into @tbl values('A',...

Viewing 7 posts - 1 through 7 (of 7 total)