Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » sqlite3 Custom Function in SqlExp (is it possible?)
Re: sqlite3 Custom Function in SqlExp [message #57385 is a reply to message #57384] Wed, 28 July 2021 19:58 Go to previous messageGo to previous message
JeyCi is currently offline  JeyCi
Messages: 50
Registered: July 2020
Member
JeyCi wrote on Wed, 28 July 2021 18:37
As so as simple math functions is problematic to do (e.g. multiply 2 columns), I decided to create Custom Function for this purpose.
...
to use it in quicker U++ Update-Select later on... preferably without Fetching

Embarassed sorry to hurry with this topic - in my final project everything works as I desired - without C.F., normal multiplication, & Update OK in SqlExp
 	it* Update(j)(IT, Case(t == "C", (f*k)-s) \
           (t == "P", s-(f*k)));	

- with appropriate SqlIds...
- Smile my real problem is solved
p.s.
in any case:
let the example of C.F. just be in mind...


Best regards.

[Updated on: Wed, 28 July 2021 20:13]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: ODBC Assertion failed
Next Topic: Using MYSQLDLL flag
Goto Forum:
  


Current Time: Tue May 14 06:38:10 CEST 2024

Total time taken to generate the page: 0.03392 seconds