ORA-01858: a non-numeric character was found where a numeric was expected
Error Message What it means This error occurs if a wrong value is passed when converting a number or string to date. Solution To fix this problem, find out what…
Simply Explaining Technology
Error Message What it means This error occurs if a wrong value is passed when converting a number or string to date. Solution To fix this problem, find out what…
Decode function has the same functionality as an IF-THEN-ELSE statement. It is present in Oracle 9i and above. It has the syntax For example, This is like saying the following…
A package is an encapsulated collection of related PL/SQL types, objects, procedures, and other program objects. Packages have a package specification and a package body. Package specification declares constants, variables,…
Changing case To change the first letter of the word to cap, use the inicap function. Use upper to covert to uppercase and lower to convert to lower case. Examples:…
Procedural Language extension of SQL (PL/SQL) combines SQL with procedural programming features such as looping, conditionals, and reusable blocks. PL/SQL engine processes PL/SQL statements. PL/SQL statements can reside on the…
The most commonly used set operators in Oracle are: union intersect minus Union Union combine results returned by two or queries into a single table. In a union, all tables must…
NVL function NVL function can be used to substitute a value when null in encountered. It has the following syntax: If string has a value, it will be displayed. If…
If you want to list tables in MySQL, you simply type the following command: Oracle does not provide such a short cut. You have to type the following command: The…
There are two ways of adding a leading dollar sign to numbers in Oracle. You can either define the column with a number format that displays a number with dollar…