replace statement

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
whit1950
Posts: 2
Joined: Tue 11 Sep 2012 00:05

replace statement

Post by whit1950 » Wed 19 Feb 2014 16:13

I have an SQL Select statement in which I use the replace function to replace any commas in a string field with a semicolon. The statement executes fine in PGAdmin III. When I execute via the UniDac component, I get an error.

Any idea on what the problem might be ?

Thanks

Whit

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: replace statement

Post by AlexP » Thu 20 Feb 2014 15:06

Hello,

You should either create a persistent field in design-time or use data type mapping http://www.devart.com/unidac/docs/data_type_mapping.htm to create the required field type.

Post Reply