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. Database & SysAdmin
  3. Database
  4. need an sql query to extract results in the attached format

need an sql query to extract results in the attached format

Scheduled Pinned Locked Moved Database
databasecomhelptutorialquestion
1 Posts 1 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.
  • V Offline
    V Offline
    vijays 301989
    wrote on last edited by
    #1

    Hi Everyone,

    I need a help in sql.

    Below is the details:

    from the front end, i will select few sql objects
    for eg,
    i am selecting
    a) ProcedureName1, View_1 from Company_BAT and
    b) GetEmpByProjID,GetAllProj, samplefunction from Company_DEV

    here
    ProcedureName1,GetEmpByProjID,GetAllProj are procedures.
    View_1 is a view.
    samplefunction is a function.

    ProcedureName1 uses a) View_1 (View_1 uses Table_1)
    b) Table_1
    c) Table_2

    View_1 uses a) Table_1

    GetEmpByProjID uses a) Employee

    GetAllProj uses a) Employee
    b) Project

    samplefunction a) it doesnt uses any objects

    i need the output in the format as in the below screenshot in the below link:

    http://vijays301989.blogspot.com/b/post-preview?token=QH4f3z8BAAA.jAJqT5poBN3LnJ\_eDbQDgA.vZNULScDlF40PLWlpXSZKA&postId=6529902930179783663&type=POST

    PLease advise, how to obtain result in this format.

    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