How split delimiters and get the values

  • Hi,

    I am using sql server 2005. A parameters coming to sp like that

    aggr | view&true,edit&true | package | view *true,edit&false,delete&true

    this parameters are coming from my front end. I need to split this parameters and need to get like that

    featurename operation status

    ========= ======== =====

    aggr view true

    edit true

    and also package like above in array and i get these values every time and insert to table.

    Is it possible. Its very urgent. Please suggest me.Hope yours reply

    Thanks

  • This will help get you started...

    http://www.sqlservercentral.com/articles/T-SQL/63003/

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

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

You must be logged in to reply to this topic. Login to reply