[Lazarus] Postgres database again...

Graeme Geldenhuys graemeg.lists at gmail.com
Tue May 27 14:05:57 CEST 2008


Joao Morais wrote:
> Graeme Geldenhuys wrote:
>> I would highly recommend you use GUID's 
>>
>>   * Works on all database servers (char(36) to store the GUID)
> 
> char(32)?

No, CHAR(36) in my case...  :)
GUID's have the default format: '{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'

I only remove the curly braces
   eg:  '72AE84A0-1258-4C81-B2CF-1FC27EFBCD9C'


Regards,
   - Graeme -


_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list