WebDeveloper
 główna | forum manual | skrypty |  artykuły |  projekty | porady |  zasoby |  linki 

Forum POSTGRESQL


 RE: jak odczytac pola tebeli w postgres
Autor: roy_ (---.lupus.pl)
Data:   22.11.00 12:29

pg_FieldType
pg_FieldType -- Returns the type name for the corresponding field number
Description

int pg_fieldtype(int result_id, int field_number);

pg_FieldType() will return a string containing the type name of the given field in the given PostgreSQL result identifier. Field numbering starts at 0.


W zastosowaniu to tak:
echo pg_fieldtype($wynik,1);


Wynik:
int4

Mozna rownierz ustawic przy starcie postgresa opcje debagowania na ktorys tam poziom.
wykonac
\d nazwa_tabeli
i zobaczyc w logach jakie zapytanie wykonal serwer. To jak sie chce kozakowac ??

Best Regards






 Temat Autor  Data
 jak odczytac pola tebeli w postgres  Nowa
Jarek 22.11.00 09:26 
 RE: jak odczytac pola tebeli w postgres  Nowa
roy_ 22.11.00 12:29 

 Odpowiedz na tę wiadomość
 Twoje Imię:
 Twój Email:
 Temat:
Odpowiedzi na tę wiadomość prześlij na powyższy adres email.
    




Manual | Skrypty | Artykuły | Projekty
Porady | Zasoby | Linki
Główna | Forum