473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

functions in oracle

hi,
can anyone plz tell me that why following functions are used in oracle:

--> to_date()
--> to_char()
--> to_number()
Apr 5 '07 #1
3 1384
Saii
145 Expert 100+
chk this link...

http://www.unix.org.ua/orelly/oracle/prog2/ch14_01.htm
Apr 5 '07 #2
debasisdas
8,127 Expert 4TB
--> to_date()
--> to_char()
--> to_number()Basically these there are convertion function
Used to convert one data type into another type

ex--


select to_date(280407,'ddmmyy') from dual

select to_char(sysdate,'MONTH') FRM DUAL


Keep trying few more

HJope that helps u
Apr 28 '07 #3
Plz I Want To Select Random Number
From Only One Tabe
What About 'sample(n)' Function And What Is Mean By The Parameter N


DO THE PARAMETER N MEAN THE NUMBER I WANT TO SELECT FROM
THE TABLE
May 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Kiyoung Yang | last post by:
Hi, I'm using Oracle 9i with the spatial option. It seems that the spatial function, e.g., SDO_NN, does not consider the 3rd element in a point. I tried the following script to create a table,...
5
by: Yuri G. | last post by:
Hi, I'm trying to come up with a solution to seemingly simple database query, which I'm sure could be done with Oracle9 analytical functions, but somehow the solution is elusive: I have a...
4
by: Amardeep Verma | last post by:
Hi, Do any versions of SQL Server support the following functions, as they appear in the Oracle Database:- 1) XMLElement 2) XMLAttributes 3) XMLForest Thanks in Advance for your reply Bye
4
by: Roger Redford | last post by:
Dear Experts, I'm attempting to marry a system to an Oracle 817 datbase. Oracle is my specialty, the back end mainly, so I don't know much about java or javascript. The system uses javascript...
1
by: giant food | last post by:
Hi, I'm in the process of converting an Oracle database into postgresql. One thing I've noticed is that postgresql functions keep the entire function body in a string, e.g.: CREATE OR REPLACE...
14
by: Tony | last post by:
Can someone a little more clever than I (which means just about anyone on this list) tell me what the implications/benefits are of this are please? ...
0
by: Bruno Lavoie | last post by:
Hello, i'm etablishing a naming convention for a new project under postgresql. For tables, sequences, views, that's ok! I used good naming conventions for this in the past and i'll keep these...
0
amitpatel66
by: amitpatel66 | last post by:
All, Please find below POST about Oracle SINGLE ROW FUNCTIONS which might be useful. SINGLE ROW FUNCTION are those which are executed once for each and every row of the Query. The different...
0
debasisdas
by: debasisdas | last post by:
This thread contains some useful tips/samples regarding FUNCTIONS in oracle, that the forum members may find useful. FUNCTION: ========== 1.IT IS A COMPILED BLOCK OF CODE WHICH IS STORED AS AN...
0
debasisdas
by: debasisdas | last post by:
FUNCTION WITH DEFAULT PARAMETER =================================== CREATE OR REPLACE function weekdaysinmonth(mdate date default sysdate-(to_char(sysdate,'dd')-1),weekday integer default 1) ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.