Search found 3 matches
- 21.11.2015, 08:31
- Forum: ZeosLib 7.2 Forum
- Topic: Automatic sequence
- Replies: 1
- Views: 752
Automatic sequence
Hello. We have a problem: PostgreSQL + Zeos + Delphi XE2... Consider this: DB part: CREATE DATABASE test WITH OWNER = postgres ENCODING = 'UTF8' TABLESPACE = pg_default LC_COLLATE = 'Lithuanian_Lithuania.1257' LC_CTYPE = 'Lithuanian_Lithuania.1257' CONNECTION LIMIT = -1; CREATE TABLE sutartis ( st_i...
- 24.12.2013, 04:26
- Forum: ZeosLib 7.1 stable Forum
- Topic: Delphi XE2 (WIDEMEMO)
- Replies: 1
- Views: 1212
Re: Delphi XE2 (WIDEMEMO)
Ahh, use char instead of varchar.
- 23.12.2013, 16:00
- Forum: ZeosLib 7.1 stable Forum
- Topic: Delphi XE2 (WIDEMEMO)
- Replies: 1
- Views: 1212
Delphi XE2 (WIDEMEMO)
Hello. I have this SQL function in postgresql-9.3.2-1-windows-x64: CREATE OR REPLACE FUNCTION fnk_create_table(prm_name varchar, prm_surname varchar) RETURNS TABLE(clm_name varchar(3), clm_surname varchar(6)) AS $BODY$ BEGIN RETURN QUERY select CAST(prm_name AS varchar(3)) as clm_name, CAST(prm_surn...