Re: [fpc-pascal] Boring problem when I try to create a database using SQLdb (again)

2015-05-27 Thread Ladislav Karrach
Dňa 16.5.2015 o 19:19 silvioprog napísal(a): On Sat, May 16, 2015 at 1:51 PM, Michael Van Canneyt mailto:mich...@freepascal.org>> wrote: On Sat, 16 May 2015, silvioprog wrote: [...] Set the stoUseImplicit option on the transaction: VCon.Transaction.options:=[stoUseImplici

Re: [fpc-pascal] Boring problem when I try to create a database using SQLdb (again)

2015-05-18 Thread silvioprog
On Sat, May 16, 2015 at 2:19 PM, silvioprog wrote: > On Sat, May 16, 2015 at 1:51 PM, Michael Van Canneyt < > mich...@freepascal.org> wrote: >> >> On Sat, 16 May 2015, silvioprog wrote: >> >>> [...] >>> >> Set the stoUseImplicit option on the transaction: >> >> VCon.Transaction.options:=[stoUseIm

Re: [fpc-pascal] Boring problem when I try to create a database using SQLdb (again)

2015-05-16 Thread silvioprog
On Sat, May 16, 2015 at 1:51 PM, Michael Van Canneyt wrote: > > On Sat, 16 May 2015, silvioprog wrote: > >> [...] >> > Set the stoUseImplicit option on the transaction: > > VCon.Transaction.options:=[stoUseImplicit] Thanks for the fast reply buddy. I have another problem: my FPC version is 2.6.

Re: [fpc-pascal] Boring problem when I try to create a database using SQLdb (again)

2015-05-16 Thread Michael Van Canneyt
On Sat, 16 May 2015, silvioprog wrote: Hello, I need to create numbered databases like 09_0025, 09_0026 etc., that using any SQL tool like pgAdmin, I just execute this script, and it works fine: CREATE DATABASE "09_0025" WITH ENCODING='UTF-8'   OWNER="postgres" TEMPLATE="template1" LC_COLLAT

[fpc-pascal] Boring problem when I try to create a database using SQLdb (again)

2015-05-16 Thread silvioprog
Hello, I need to create numbered databases like 09_0025, 09_0026 etc., that using any SQL tool like pgAdmin, I just execute this script, and it works fine: CREATE DATABASE "09_0025" WITH ENCODING='UTF-8' OWNER="postgres" TEMPLATE="template1" LC_COLLATE='English_United States.1252' LC_CTYPE='Eng