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 mich...@freepascal.org mailto:mich...@freepascal.org wrote: On Sat, 16 May 2015, silvioprog wrote: [...] Set the stoUseImplicit option on the transaction:

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 silviop...@gmail.com 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:

[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'

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

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 mich...@freepascal.org 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