Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    55

    Unanswered: SQL command example

    Hi,
    I want to use oralce 9
    select * from tab .
    And use the output to issue "desc XXX " for every row of output in select statement...
    How can I do it automatically ???
    Any example ???

  2. #2
    Join Date
    Aug 2010
    Location
    Bangalore
    Posts
    7
    Try this.
    select 'desc ' || tname || ' ;' from tab;

  3. #3
    Join Date
    Aug 2009
    Posts
    55
    it work . Ok thankyou

Posting Permissions

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