Forum Replies Created

Viewing 15 posts - 46 through 60 (of 135 total)

  • RE: Failing agent job

    Thanks for the help, recreated the agent task as a different user and it worked fine.

    Cheers for the help.

  • RE: Fun task for the afternoon - grouping data

    Eugene,

    Thank you so much, this works a treat. I was working along these lines however I was just adding the non merged rows outside the XML path and wondering why...

  • RE: Backup task failing

    I think it must be a disk space issue. The cleanup wizard wasnt picking up and removing the old bak and trn files from the system. Its amazing how fast...

  • RE: XML nodes extraction

    Many Thanks for your help, sorry about the poorly constructed xml. I will have a look at the links you passed on.

    Thanks again,

    Oliver

  • RE: Cursor replacement help

    Many thanks, reduced times from 1min 7 secs to 4 seconds.

    Really appreciate your help,

    Oliver

  • RE: Cursor replacement help

    Thanks Sean, will do

  • RE: Cursor replacement help

    Hi,

    Worked it out, added a new field for ordering:

    SELECT 1 as OrderME,*

    FROM [dbo].[TSC_ExportedColumnIds] a

    CROSS APPLY [dbo].[udf_TSC_qry_ExportBlockColumnParam1](a.ID) b

    WHERE a.ColumnType = 1

    UNION ALL

    SELECT 2,*

    FROM [dbo].[TSC_ExportedColumnIds] a

    CROSS APPLY [dbo].[udf_TSC_qry_ExportBlockColumnParam2](a.ID,4) b

    WHERE...

  • RE: Cursor replacement help

    Thanks for the help this makes sense. The query works considerably faster. However I have one issue. Each part needs to run in order e.g.

    For the 1st ID - if...

  • RE: Cursor replacement help

    Hi Dwain,

    Thanks for the help, I made a few changes but the key is that I need to push the column_id variable to each function. How do I do this?...

  • RE: XML issue converting table to XML

    Many Thanks Drew,

    This works really well. The table was just a poor example of a larger table I was working on. Sorry about the inconsistencies. One question for you, isn't...

  • RE: string extraction help

    I see what you are up to here. This is a really neat method and will work it up. Thank you for sending over the CLR reference, I will check...

  • RE: Convert space seperated string into rows - but with associated id field

    Thank you, this worked perfectly. In future I will provide test data in this way.

    Thanks again,

    Oliver

  • RE: string extraction help

    Many Thanks for your help, this is good to know. Will try the CLR route.

    Cheers

  • RE: string extraction help

    Thanks for this, my CLR skills are non - existent but it is something I need to look into. I don't think such powerful query tools exist to do this...

  • RE: Find records which are within the depth range of other records

    Hi,

    Many thanks for the break down. Sorry to bother you I am just keen to get my head round this.

    Taken another look at it this evening. I made a...

Viewing 15 posts - 46 through 60 (of 135 total)