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. How to Get Value from Exec(Sql) in SQL Server 2005 if possible...? help me....

How to Get Value from Exec(Sql) in SQL Server 2005 if possible...? help me....

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelptutorial
3 Posts 3 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
    Manish_Kumar_Nayak
    wrote on last edited by
    #1

    How to Get Value from Exec(Sql) in SQL Server 2005 if possible...? help me....

    T H 2 Replies Last reply
    0
    • M Manish_Kumar_Nayak

      How to Get Value from Exec(Sql) in SQL Server 2005 if possible...? help me....

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      You can use executesql with Output parameter. sp_executesql (Transact-SQL)[^]

      thatraja |Chennai|India|


      Brainbench certifications
      Down-votes are like kid's kisses don't reject it :-)
      Do what you want quickly because the Doomsday on 2012 :-)

      1 Reply Last reply
      0
      • M Manish_Kumar_Nayak

        How to Get Value from Exec(Sql) in SQL Server 2005 if possible...? help me....

        H Offline
        H Offline
        Hiren solanki
        wrote on last edited by
        #3

        Use Print(sql) to have a full customized query.

        Regards, Hiren. "We owe a lot to the Indians, who taught us how to count, without which no worthwhile scientific discovery could have been made." - Einstein Microsoft Dynamics CRM

        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