Hi Florian,
Thanks for your reply. I tried these methods, but then it fails during creation, and does not compile. The first method will give the following error:
Could not execute 'CREATE FUNCTION "IPTEST"( ip_comparison_type nvarchar(10), ip_thing_type nvarchar(20) ) RETURNS ...'
Error: (dberror) sql syntax error: incorrect syntax near ":lv_from_date": line 80 col 41 (at pos 2348)
The second method will return the following error:
Could not execute 'CREATE FUNCTION "IPTEST"( ip_comparison_type nvarchar(10), ip_thing_type nvarchar(20) ) RETURNS ...'
Error: (dberror) sql syntax error: incorrect syntax near "=>": line 80 col 40 (at pos 2347)
Regards,
Isuru