DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: How to isolate directories in path in loop?

  1. #1
    Join Date
    Dec 2001
    Location
    Tel-Aviv,Israel
    Posts
    233

    How to isolate directories in path in loop?

    Hi folks,

    I need to write a procedure which get from outside a path as string.
    I need to isolate every folder in the path using a loop and check for each directory (tool name) its tool id and its tool_father in a table (T_TOOLS_TREE).

    following an example for path:
    Objects/SUI Framework/page

    How to isolate directories in a path?

    Thanks for advance,
    Nir

  2. #2
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,166
    Did you look at the sys.dbms_backup_restore package?

  3. #3
    Join Date
    Dec 2001
    Location
    Tel-Aviv,Israel
    Posts
    233
    Hi gandolf989,

    Thanks for your reply.
    I looked at this package but I don't think it fit to my problem.
    Thanks anyway!

    Nir

  4. #4
    Join Date
    Feb 2003
    Posts
    85
    use instr and substr

  5. #5
    Join Date
    Dec 2001
    Location
    Tel-Aviv,Israel
    Posts
    233
    Hi guru_heaven,

    Thanks!
    I've just finished to write the procedure with SUBSTR/INSTR and it works perfect!

    Best regards,
    Nir

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width