ORA-00942 table or view does not exist Solution

Complete IT Professional - Fri, 2017-01-27 05:00
Have you gotten an ORA-00942 error? I’ll explain the cause and the solution of the error in this article. ORA-00942 Cause The error message appears when you try to run an SQL statement: ORA-00942: table or view does not exist This happens for one of many reasons: The statement references a table or view that […]
Categories: Development

Weekly Link Roundup – Jan 27, 2017

Complete IT Professional - Thu, 2017-01-26 17:57
This week I’ve read a few interesting articles on Oracle and I thought I’d share them here. RI (Referential Integrity) Constraints: 3 Reasons to Include Them in Your Data Warehouse Kent Graziano from The Data Warrior (and Snowflake) wrote an interesting article on using referential integrity constraints inside a data warehouse. I haven’t really considered […]
Categories: Development

ORA-00904 invalid identifier Solution

Complete IT Professional - Wed, 2017-01-25 05:00
Did you get an “ORA-00904: invalid identifier” error? Find out what caused the ORA-00904 error and how to resolve it in this article. ORA-00904 Cause So, you ran an SQL statement and you got this error: ORA-00904: invalid identifier What causes this error? It’s caused by referring to a column that does not exist, or […]
Categories: Development

Version Control for PL/SQL

Gerger Consulting - Tue, 2017-01-24 12:14
Let's get this straight:

  • It is possible to put PL/SQL in proper version control. 
  • It is possible to have developers work on the same logical code unit (package, procedure, function etc...) at the same time without co-ordinating first. 
  • It is possible to merge these changes at a later time automatically. 
  • It is possible to eliminate all the errors resulting from manual preparation of deployment scripts. 
  • It is possible to build an automated continuous delivery pipeline for PL/SQL.

If you'd like to know how, attend our free webinar. Register at this link.

Categories: Development

ZDLRA Database Patch Rollback fails with : Re-link fails on target "ioracle"

Arun Bavera - Mon, 2017-01-23 09:19
I was helping my colleague to apply DB patch for ZDLRA metadata repository

It required some conflicting duplicate patch to be rolled back but the roll back failed in between during make operation.
RollbackSession rolling back interim patch '20788771' from OH '/u01/app/oracle/product/'
 Patching component oracle.rdbms.deconfig,
 Patching component oracle.ldap.rsf,
 Patching component oracle.rdbms.rsf,
 Patching component oracle.rdbms,
 Patching component oracle.rdbms.dbscripts,…

RollbackSession removing interim patch '20788771' from inventory
Make failed to invoke "/usr/bin/make -f ioracle ORACLE_HOME=/u01/app/oracle/product/"....'/u01/app/oracle/product/ In function `krsp_avm_shutdown':
krsp.c:(.text+0x8aca): undefined reference to `krr_find_log_end1'
/u01/app/oracle/product/ undefined reference to `krrUt1'
/u01/app/oracle/product/ In function `kbrssvReadFChunk':
kbrssv.c:(.text+0x1b812): undefined reference to `kbrs_resilver'
collect2: ld returned 1 exit status
make: *** [/u01/app/oracle/product/] Error 1

The following make actions have failed :
 Re-link fails on target "ioracle".
We were able to find these missing object libraries in $ORACLE_HOME/.patch_storage using the find and nm commands:

Cd $ORACLE_HOME/.patch_storage
find . -name "*.o" -exec nm {} \; | grep krrUt1
Used the "ar"  command to updated the library /u01/app/oracle/product/  with the missing library object files and then ran the make command manually to overcome this problem..

ar r /u01/app/oracle/product/  krsp.o  ksdxt.o  kbrssv.o
$ cd $ORACLE_HOME/rdbms/lib
$ make -f ioracle

Also, we had to follow the solution in Note: 2131772.1for making ora.gipcd to up and running

In case if you are using opatch to rollback patch in GRID Home you may have to unlock CRS home for applying patch, follow the note:2136437.1
1. Shutdown cleanly if the clusterware is running in the failed node:
# crsctl stop crs -f
If the above fails because of partially run postpatch and not able to bring down ohasd:
# crsctl disable crs
Ensure all clusterware related process are down and nothing is running from the crs home:
# kill -9
Enable clusterware again:
# crsctl enable crs
2. Unlock the CRS home
# -unlock
3. Issue -patch to instantiate and lock the home

# -patch
Categories: Development

Oracle Triggers – The Complete Guide

Complete IT Professional - Mon, 2017-01-23 05:00
Oracle triggers are a handy but often misused function of the Oracle database. Learn all about them in this article. Table of Contents This is a long article, so here’s a table of contents you can use to navigate around the page: What are Oracle Triggers? Types of Triggers in Oracle Reasons to Use Oracle […]
Categories: Development

Oracle VAR_POP Function with Examples

Complete IT Professional - Fri, 2017-01-20 05:00
This article will explain the Oracle VAR_POP function and show you some examples. Purpose of the Oracle VAR_POP Function The VAR_POP function finds the population variance of a set of numbers, excluding NULLs. What does this mean? The population variance is a calculation that determines the difference or variation in a complete set of numbers. […]
Categories: Development

Weekly Link Roundup – Jan 20, 2017

Complete IT Professional - Thu, 2017-01-19 18:02
Here’s my weekly link roundup for Jan 20, 2017. What Is This Link Roundup? A “link roundup” is a type of post on a website where the author collates a list of articles they have read recently, and adds them all into a single post. The aim is to make the readers of the site […]
Categories: Development

Oracle VAR_SAMP Function with Examples

Complete IT Professional - Thu, 2017-01-19 05:00
In this article, I’ll explain the Oracle VAR_SAMP function and show you some examples. Purpose of the Oracle VAR_SAMP Function The VAR_POP function will return the sample variance of a set of numbers, after excluding NULLs. What does this mean? The sample variation calculates the variation of a sample of numbers from the overall set. […]
Categories: Development

Extending Oracle HCM with Oracle Application Builder Cloud Service - It's Simple

Shay Shmeltzer - Wed, 2017-01-18 13:37

I blogged before showing how easy it is to extend Oracle Sales Cloud using Oracle Application Builder Cloud Service.

We do get a lot of customers of Oracle HCM that approach us asking if they can use the same tools to extend Oracle HCM apps. While Oracle Application Builder Cloud Service (ABCS) has the list of Oracle Sales Cloud services pre-populated in the service catalog , you can pretty easily connect ABCS to Oracle HCM services too and get data and build an application around this data.

In the video demo below I'm building an application that records the details of the cars employees are allowed to bring onto campus. I leverage a REST service exposed by Oracle HCM to get the list of employees. ABCS also automates querying using the same service so you can search for a specific employee.

ABCS lets me create an app with the same look and feel as Oracle SaaS displaying the specific fields that interest me in the specific layout I want. Further more I can add custom data object that tracks the details of the cars and associate it with the HCM data.


Note that in the security section I'm using basic security with a fixed user for the sake of simplicity in the demo. Note however that in the selection list I can also use the currently logged in Oracle Cloud user - to synch the user of my ABCS and their HCM authorization.

HCM Security Setting

Check it out:

Want to try it on your own - get a trial account of Oracle Application Builder Cloud Service here

Categories: Development

Demo: Version Control for PL/SQL in 30 Minutes

Gerger Consulting - Mon, 2017-01-16 12:38
Hi Everyone! We prepared a 30 minute demo video to show you how Gitora can help you manage your PL/SQL code base. Check it out below:

Categories: Development

What’s The Difference Between Oracle ROWNUM vs Oracle ROW_NUMBER?

Complete IT Professional - Mon, 2017-01-16 05:00
Have you seen ROWNUM and ROW_NUMBER in Oracle and wondered what the difference is? Learn what they are and the differences between Oracle ROWNUM vs Oracle ROW_NUMBER in this article. What Is Oracle ROWNUM? You might think that ROWNUM is a function in Oracle. However, it’s not a function. It’s a “pseudocolumn”. It acts like […]
Categories: Development

APEX 5.1 New Features

Denes Kubicek - Mon, 2017-01-16 01:57
APEX 5.1 ist endlich da. Oracle Application Express wird mit jedem Release besser und zieht immer mehr Entwickler weltweit in seinen Bann. Es ist einfach, einfache wie auch komplexe Applikationen auf Basis des Oracle Stacks zu entwickeln. Es macht sogar richtig Spaß !

Mit APEX 5.1 sind als wichtiges neues Feature die Interactive Grids mit dazu gekommen. Wir haben sehr lange auf eine moderne Möglichkeit gewartet, Excel - ähnliche Funktionen auf einer Webseite mit APEX zu implementieren. Jetzt ist es endlich soweit :) . Sogar Master-Detail-Detail-Detail-... Beziehungen sind umsetzbar, unsere Anwender werden sich freuen.

Darüber hinaus gibt es auch in vielen anderen Bereichen wichtige Neuerungen, die uns das Leben erleichtern. Gleichzeitig sind aber auch einige wichtige Dinge zu beachten, damit wir ein reibungsloses Upgrade durchführen können.

In diesem Kurs lernen Sie die neuen Funktionalitäten von Oracle Application Express 5.1 kennen, insbesondere wie Sie diese erfolgreich in der Praxis einsetzen.

Lernen Sie von und diskutieren Sie mit den weltweit bekannten Oracle APEX Experten:

Denes Kubicek, langjährige Projekterfahrung in den Bereichen Oracle und APEX mit multisite Applikationen, Preisträger des "Oracle APEX Developer of the Year 2008" Awards des Oracle Magazines, ein Oracle ACE Director und sehr bekannt im Oracle APEX OTN Forum für seine Beispielapplikation und

Dietmar Aust, erfahrener Oracle Consultant mit Spezialisierung auf Oracle APEX, Oracle ACE und aktiv in den OTN Foren zu APEX und Oracle XE, mit regelmäßigen Präsentationen auf den einschlägigen Oracle Konferenzen (DOAG, ODTUG, Oracle Open World).

Categories: Development

Announcing “Database Star Academy”

Complete IT Professional - Fri, 2017-01-13 20:03
All of the online courses I have created used to be on a separate site of mine called Software Developer Academy. These have now all been moved to a new section under my main site, called Database Star Academy. Read on to find out more. What Is Database Star Academy? It’s the name of a membership section on […]
Categories: Development

Oracle TO_MULTI_BYTE Function with Examples

Complete IT Professional - Fri, 2017-01-13 05:00
In this article, I’ll be covering the Oracle TO_MULTI_BYTE function, and look at some examples. Purpose of the Oracle TO_MULTI_BYTE Function The TO_MULTI_BYTE function is used to convert a character string from single-byte characters to multi-byte characters. Your database must contain both single-byte and multi-byte characters for this function to be useful. If there are […]
Categories: Development

Oracle COVAR_POP Function with Examples

Complete IT Professional - Thu, 2017-01-12 05:00
In this article, I’ll explain what the COVAR_POP function does and show you some examples. Purpose of the Oracle COVAR_POP Function The Oracle COVAR_POP function calculates the population covariance of a set of number pairs. What is a “population covariance”? Good question. Here’s an article that explains what the definition is. Just like the COVAR_SAMP […]
Categories: Development

My first blog post with

Dimitri Gielis - Mon, 2017-01-09 18:18

I’m trying to write this blog post with

Just like Martin I’m also searching for alternative ways to write blog posts. I don’t want to completely migrate my blog to a new platform, so I’m searching for a way to write in Markdown and deploy to Blogger.

Why Markdown?
Since our development of APEX Office Print (AOP) we also use Markdown for our documentation as it makes including code samples easier, it can be version controlled and overall it’s pleasant to write in. Whenever we deploy a new version, we publish the markdown as HTML. For example you see the result of our documentation here. SSjj… we like Markdown so much that we are even looking into supporting Markdown to write your template in AOP, next to Word, Excel and Powerpoint, but more on that in the February timeframe. :)

So I’m giving a try, it’s just another Markdown editor, but it can publish directly to Blogger. It allows me to include code samples like this:

l varchar2(100);
l := 'hello world';

Or if I want to reference somebody I can use a quote:

Oracle Application Express (APEX) changed my life. – Dimitri Gielis

And a list … for example the top 3 reasons I’m looking at a different way to blog:

  1. Faster to write a post
  2. Reuse my writings in different ways
  3. Easier to share code

So this post is really to try the different options of which should show up in Blogger after I hit the publish button.

Here’s an image which I plan to use in my next post:
enter image description here

If you see this and the post looks ok, my test went well :)

Categories: Development

What are the Differences Between a Primary Key vs Foreign Key?

Complete IT Professional - Mon, 2017-01-09 05:00
I explain what a primary key and foreign key is, as well as the differences between primary key vs foreign key in this article. What Is a Primary Key? What is the primary key definition?  A primary key is one or more columns in a table that are used to uniquely identify the row. When […]
Categories: Development

Oracle COVAR_SAMP Function with Examples

Complete IT Professional - Fri, 2017-01-06 05:00
In this article, I’ll explain what the Oracle COVAR_SAMP function does and show you some examples. Purpose of the Oracle COVAR_SAMP Function This function returns the covariance of a set of number pairs. What does that mean? Here’s an explanation of what a covariance is. This function, like the CORR and COVAR_POP function, can be run […]
Categories: Development

Oracle VSIZE Function with Examples

Complete IT Professional - Thu, 2017-01-05 05:00
In this article, I’ll explain what the Oracle VSIZE function does and show you some examples. Purpose of the Oracle VSIZE Function The VSIZE function returns the number of bytes of an expression using the internal representation. That sounds a lot like the LENGTH function, doesn’t it? I’ll explain the differences shortly after we cover […]
Categories: Development


Subscribe to Oracle FAQ aggregator - Development