Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: DBI weirdness: Arrays as strings. (ROW constructor)

by erix (Prior)
on May 06, 2012 at 05:51 UTC ( [id://969113]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    testdb=# select x,y,z from (values ('abc', 'def', 'ghi')) as f(x,y,z);
    
      x  |  y  |  z
    -----+-----+-----
     abc | def | ghi
    (1 row)
    
  2. or download this
    testdb=# select (x,y,z) from (values ('abc', 'def', 'ghi')) as f(x,y,z
    +);
    
          row
    ...
    ----------
     t
    (1 row)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://969113]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found