I could copy the example from the Sqlite documentation or you could just look it up in the API description. You write your function, in this case only a few lines of code, and bind it to Sqlite using the API.

http://www.sqlite.org/capi3ref.html
sqlite3_create_function

Jakub Ladman wrote:
But the question was "how"

Probably i am asking time after time stupid questions only - It is because my english is not half good to orientate oneself easily in the documentation, so quick summary in someones answer makes more than hours of reading docs.
Usualy i am asking if i understand not to some paragraph in docs.
Sometime it is enough to read it in other words.
(Something you consider as absolutely simple, may be difficult to understand, not technicaly, but as english text, or easy to overlook.

If you feel my questions  incommodious, please ignore it.

Thank You
Jakub Ladman




Dne pátek 09 březen 2007 22:57 John Stanton napsal(a):

Just add a sine function in the normal manner of adding a function.  It
is very simple.

Jakub Ladman wrote:

Hi Friends

Is there a possibility to have sin cos an acos, functions in sqlite?
How to write it in?
I really need it and i have fear, that sinus values table will be so slow
and so big for critical precission.

I will need to select coordinates which are laying in circle of known
center and radius.
Unfortunately at small time intervals and on a slow machine.

Thanks

Jakub

-------------------------------------------------------------------------
---- To unsubscribe, send email to [EMAIL PROTECTED]
-------------------------------------------------------------------------
----

---------------------------------------------------------------------------
-- To unsubscribe, send email to [EMAIL PROTECTED]
---------------------------------------------------------------------------
--


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to