[ Miloš Baić @ 19.01.2007. 15:53 ] @
Pogledajte zadnji post koji sam odradio ovde, pa ako neko ima rešenje kako bi se to moglo odraditi kvalitetnije, bio bih zahvalan. |
[ Miloš Baić @ 19.01.2007. 15:53 ] @
[ Miloš Baić @ 25.02.2007. 20:09 ] @
Može ovako:
Code: date_part('year', age(naziv_atributa)) ako nekog još interesuje. [ dsmr @ 02.03.2007. 13:37 ] @
Da lisam u pravu?
Ako je tacno da PostgreSql podrzava plsql trebalobi da radi i "ORACLE-ova" funkcija decode. [ Miloš Baić @ 07.03.2007. 18:30 ] @
Citat: Function: decode(string text, type text) Description: bytea Decode binary data from string previously encoded with encode. Parameter type is same as in encode. Example: Code: decode('MTIzAAE=', 'base64') Rezult: 123\000\001 Function: encode(data bytea, type text) Description: Encode binary data to ASCII-only representation. Supported types are: base64, hex, escape. Example: Code: encode( '123\\000\\001', 'base64' Rezult: MTIzAAE= Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|