Feeds:
Posts
Comments

Archive for the ‘Oracle’ Category

Oracle Gyan…

Today while working on my project I suddenly got the requirement of getting all the Table Name which contains the particular Column Name. At that time i thought its not possible, but oracle has features of that also. You can get the details of all the Tables including the Column Name.
Just use “ALL_TAB_COLUMNS”.
This particular table [...]

Read Full Post »

Oracle : LNNVL Function

Recently i got a very weird CR in my project. In my project we are generating dynamic query for update and insert and that to we will generate it from the datatable column name. Now the problem was, for some column the value can be NULL so in the update statement we can’t write as [...]

Read Full Post »

Basically this post is meant for PL/SQL coders who might not be using analytic function (like me) due to very complex syntax. Personally i found analytic function to be very useful and recently i used it in my project since there was requirement which can be fulfilled only Analytic Function. So i can say my [...]

Read Full Post »

Oracle : Translate Function

Most  of them might be knowing Translate Function in Oracle.The TRANSLATE function allows you to replace characters in an expression that appear in a from string to their corresponding character in the to string. For Example :
select translate(‘Rishi*Daftary’,’*’,’#’) from dual;
Above query will replace all the occurence of * to #. But the main problem here [...]

Read Full Post »