Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Convert Character Types to Numeric Types
How To Convert Character Types to Numeric Types? - Oracle DBA FAQ - Understanding PL/SQL Language Basics
✍: FYIcenter.com
You can convert character types to numeric types in two ways:
The sample script below shows you how to convert character types to numeric types:
PROCEDURE proc_convert_1 AS start_time CHAR(5); finish_time CHAR(5); elapsed_time NUMBER(5); BEGIN start_time := '12052'; finish_time := '15314'; elapsed_time := TO_NUMBER(finish_time) - TO_NUMBER(start_time); elapsed_time := finish_time - start_time; -- same as above END;
2007-04-30, 5783👍, 0💬
Popular Posts:
What is difference between ADPATCH and OPATCH ? # ADPATCH is utility to apply ORACLE application Pat...
What Happens to Indexes If You Drop a Table? - Oracle DBA FAQ - Managing Oracle Table Indexes If you...
What are the five levels in CMMI? There are five levels of the CMM. According to the SEI, Level 1 – ...
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...