Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: sine and cosine function from plsql

Re: sine and cosine function from plsql

From: Dan Clamage <clamage_at_mime.dw.lucent.com>
Date: 1997/09/26
Message-ID: <01bcca4f$34812fc0$54110b87@clamagent>#1/1

The trig functions take Radian arguments. For ex: select sin(30*3.14159265359/180) sin_30 from dual; sin_30


    .5

I'm surprised anyone actually has a use for trig functions in an RDBMS.

Abiy Alemu <abiy_at_biotec.jouy.inra.fr> wrote in article <Pine.SOL.3.91.970926120147.21595A-100000_at_biotec>...
> How does the call to sine and cosine functions work in plsql ? I tried
> select cos(value) into variable from dual , with value of number type.
 

| If all you've got are nails, better have a hammer. Received on Fri Sep 26 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US