[fpc-pascal] Create dynamic SQL according to available params

Michael Van Canneyt michael at freepascal.org
Thu Apr 7 14:17:03 CEST 2016



On Thu, 7 Apr 2016, Luiz Americo Pereira Camara wrote:

> 2016-04-07 9:03 GMT-03:00 Michael Van Canneyt <michael at freepascal.org>:
>
>>
>>
>> On Thu, 7 Apr 2016, Luiz Americo Pereira Camara wrote:
>>
>>
>>> Is there any code that given a SQL Template would generate the second
>>> filter when paramy is available and keep blank when not available?
>>>
>>>
>>>
>> I have not found such code. I rolled my own.
>>
>>
> Any chance sharing the code or at least the syntax?

No, that was for a commercial project. sorry.

Michael.



More information about the fpc-pascal mailing list