CREATE OR REPLACE FUNCTION is_number(char_in VARCHAR2) RETURN NUMBER IS
BEGIN
FOR x IN 1 .. LENGTH(char_in) LOOP
— remove , & .
IF SUBSTR(char_in,x,1) in (’,’ , ‘.’ , ‘ ‘) THEN
RETURN 0;
END IF;
END LOOP;
IF [...]
|
||||||
|
CREATE OR REPLACE FUNCTION is_number(char_in VARCHAR2) RETURN NUMBER IS IF [...] CREATE SMALLFILE TABLESPACE “TBS_NAME” DATAFILE ‘$ORACLE_BASE/$SID/file.dbf’ SIZE 5120M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE 32767M LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO GET POOL INFORMATION Create Database link: desc user_db_links set linesize 121 Select to_char(to_date(’01-JAN-1970′) + 1257424753/86400,’DD-MM-YYYY HH:MI:SS’) from dual; SELECT to_char(TO_DATE(’19700101000000′,’YYYYMMDDHH24MISS’)
declare In oracle they call changing TABLESPACE for a Table(s) is Move, thus, you can move table between tablespaces by using this query ALTER TABLE TABLE_NAME MOVE TABLESPACE TABLE_SPACE_NAME explain plan for Grant scheme to another user Grant Package to user Control Files A control file is a small binary file that is created during database creation. A control file tracks many of the internal database functions, such as the structure of the database, datafile locations, synchronization information, and backup and recovery information. Anytime there is a major change in the structure of the database, such as [...] |
||||||
|
Copyright © 2010 El-Shihabi - All Rights Reserved |
||||||