ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-DBI
perl-DBI
hashes
by Xen other posts by this author
Oct 19 2000 12:45PM messages near this date
Re: DBD::Pg make install | RE: hashes
Hello DBI,

   Anybody know how i can recognize name of column from query or
   (better) get it as hash. Of course results be unique only in one
   column.

   Example:

   SQL - "select name_30, access as Name from users"
   
   name - unique
   access [1,2,3]
   
   while(my(%res) = $sec-> fetchrow) {
      %res{'Name'}....
   }

   Big thanks.
 
- Mikhail Kashkin (Russia)
  Web-master http://xen.al.ru/




------------------------------------------------------------------------------
DBI HOME PAGE AND ARCHIVES: http://www.symbolstone.org/technology/perl/DBI/
To unsubscribe from this list, please visit: http://www.isc.org/dbi-lists.html
If you are without web access, or if you are having trouble with the web page, 
please send mail to dbi-users-request@[...].org with the subject line of:
'unsubscribe'.
------------------------------------------------------------------------------ 
Thread:
Xen
Sumit Babu
Bodo Eing

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved