Subject | Re: [ib-support] SQL problem |
---|---|
Author | Daniel Rail |
Post date | 2002-02-26T00:23:33Z |
At 25/02/2002 08:19 PM, you wrote:
Delphi. I would suggest that you get FreeUDFLib made by Greg Deatz, it has
the Delphi source code that you can study.
Then the UPDATE statement would be:
update atable set partita=yourUDF(:part_new,singolo)
Hope this helps.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)
>I can write this:Here is a good example where you can use an UDF. You can create one in
>
>update atable set partita=:part_new || cast (singolo as char(8) )
>
>but this gives me something like 'foo1', while I need 'foo00000001'
>
>Any help ?
Delphi. I would suggest that you get FreeUDFLib made by Greg Deatz, it has
the Delphi source code that you can study.
Then the UPDATE statement would be:
update atable set partita=yourUDF(:part_new,singolo)
Hope this helps.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)