Dual function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitgoyal84
    New Member
    • Dec 2006
    • 6

    Dual function

    Using only DUAL table, how can you display (with Select statement) multiple rows (at least 2 rows) ?

    Example:

    HELLO
    --------------
    1
    1
    1
    1
    1
    1
    1
    1
    1
    1
  • Ganon11
    Recognized Expert Specialist
    • Oct 2006
    • 3651

    #2
    WHat do you mean? What program are you talking about?

    Perhaps this thread would be more appropriate in another forum...

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      Originally posted by amitgoyal84
      Using only DUAL table, how can you display (with Select statement) multiple rows (at least 2 rows) ?

      Example:

      HELLO
      --------------
      1
      1
      1
      1
      1
      1
      1
      1
      1
      1
      I think this thread belongs in the Oracle forum.

      Comment

      • AricC
        Recognized Expert Top Contributor
        • Oct 2006
        • 1885

        #4
        If your table is set up like this:
        TTeams
        intTeamID
        strTeam

        You can select all by:
        SELECT * FROM TTeams

        Or specify what you want the statement to return
        SELECT strTeam FROM TTeams etc...

        Comment

        Working...