Главная страница


ru.perl

 
 - RU.PERL ----------------------------------------------------------------------
 From : Dmitry Diskin                        2:5061/6.97    20 May 2004  22:29:32
 To : Soft
 Subject : Use DBI
 -------------------------------------------------------------------------------- 
 
 
 18 May 04 15:56, Soft wrote to All:
 
  S> Допустим, есть таблица POEHALI, необходимо получить названия полей
  S> этой таблицы и тип данных, который в них записывается.
 
 perldoc DBI
 
 Раздел Statement Handle Attributes
 
 NAME (array-ref, read-only)
     Returns a reference to an array of field names for each column. The names
 may contain spaces but should not be truncated or have any trailing space. Note 
 that the names have the letter case (upper, lower or mixed) as returned by the
 driver being used. Portable applications should use NAME_lc or NAME_uc.
 
 TYPE (array-ref, read-only)
     Returns a reference to an array of integer values for each column. The value
 indicates the data type of the corresponding column.
 
     The values correspond to the international standards (ANSI X3.135 and
 ISO/IEC 9075) which, in general terms, means ODBC. Driver-specific types that
 don't exactly match standard types should generally return the same values as an
 ODBC driver supplied by the makers of the database. That might include private
 type numbers in ranges the vendor has officially registered with the ISO working
 group:
 
   ftp://sqlstandards.org/SC32/SQL_Registry/
 
 Dmitry
 
 --- GoldED+/W32 1.1.4.7
  * Origin: ююю dda@ic.ru ююю (2:5061/6.97)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Use DBI   Soft   18 May 2004 15:56:13 
 Re: Use DBI   Artur Penttinen   20 May 2004 19:31:52 
 Use DBI   Dmitry Diskin   20 May 2004 22:29:32 
 Re: Use DBI   Denis Poznyakov   21 May 2004 10:32:24 
 Re: Use DBI   Serge Chervjakov   21 May 2004 13:39:12 
 Re: Use DBI   Artem Chuprina   21 May 2004 13:14:00 
 Use DBI   Sergey Orlov   22 May 2004 11:33:47 
Архивное /ru.perl/286040acf9aa.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional