Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How To Declare Use Arrays in Stored Procedures?

How To Declare Use Arrays in Stored Procedures?

Scheduled Pinned Locked Moved ASP.NET
databasetutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    munawarhussain
    wrote on last edited by
    #1

    Actually, i have to iterate through the table records to find the childs of a given parent id. a table has three columns.. userid---username----parentid 1 munawar null 2 hussain null 3 ali 1 4 Wajid 3 5 waheed 2 6 asif 4 7 hafeez 6 if i give id 1..it mean its parent and i want to find all its childs.....and subchilds at all levels.... All this have to do inside a stored procedure... can u solve it.. thanks:rose:

    D 1 Reply Last reply
    0
    • M munawarhussain

      Actually, i have to iterate through the table records to find the childs of a given parent id. a table has three columns.. userid---username----parentid 1 munawar null 2 hussain null 3 ali 1 4 Wajid 3 5 waheed 2 6 asif 4 7 hafeez 6 if i give id 1..it mean its parent and i want to find all its childs.....and subchilds at all levels.... All this have to do inside a stored procedure... can u solve it.. thanks:rose:

      D Offline
      D Offline
      DADANEPAL
      wrote on last edited by
      #2

      what kind of database. TSQL or PLSQL

      M 1 Reply Last reply
      0
      • D DADANEPAL

        what kind of database. TSQL or PLSQL

        M Offline
        M Offline
        munawarhussain
        wrote on last edited by
        #3

        Dear, thanks for Query...im using Microsoft SQL Server 2000 stored procedures are in TSQL. let me know if u know... munawar

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups