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