Wednesday, March 21, 2012

Oracle: Search for column names in Oracle DataBase

I am looking for a SQL to find in tables in which a Column is present. The following SQL was helpful:

 

SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLUMNS WHERE COLUMN_NAME LIKE '%COL X%'

Sunday, March 18, 2012

Oracle: How to get All Schemas size in Server

The Following SQL is helpful to list the size of All Schemas present in Oracle Database

 

select owner, sum(bytes)/1024/1024 tsize

from dba_segments

group by owner

order by tsize desc

 

Trust its helpful…

 

Regards

Fauzi

FW: Allah calls to the home of peace

 

 

Hope you all are in good health. May almighty Allah shower us all with His blessings and guide us on the right & straight path, Aameen.

 

 

....:: 10. Yunus-Jonah (Makkah) ::....

Arabic


WaAllahu yadAAoo ila darialssalami wayahdee man yashao ila siratinmustaqeemin

TAMIL Translation  | Allama A.K.Abdul Hameed Baagavi(Rah)


 

Malayalam Translation | Cheriyamudam Abdul Hammed Madani & Kunchi Muhammed Parapur


ENGLISH Translation – Dr. Muhammad Taqi-ud-Din Al-Hilali, Ph.D. & Dr. Muhammad Muhsin Khan

 

[10:25] Allah calls to the home of peace (i.e. Paradise, by accepting Allah's religion of Islamic Monotheism and by doing righteous good deeds and abstaining from polytheism and evil deeds) and guides whom He wills to a Straight Path.

 

ENGLISH TAFSIR  - TAFSIR IBN ABBAS


(And Allah summoneth) all created beings by means of the profession of divine Oneness (to the abode of peace) the Peace (al-Salam) is Allah and His abode is Paradise, (and leadeth whom He will to a straight path) an established religion with which He is pleased, i.e. Islam.

 

URDU Translation | Dr. Col Muhammad Ayub


 



 

 

 

                       

Thursday, March 15, 2012

Oracel: How to create Sequence & Trigger

Following the syntaxes to create Sequence & Triggers

 

To Create Sequence:

===================

 

CREATE SEQUENCE "SchemaName"."Table1_LOG_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1

 

 

To Create Trigger:

==================

 

CREATE TRIGGER SchemaName.Table1_LOG_TRIGGER

BEFORE INSERT ON SchemaName.Table1_LOG

FOR EACH ROW

BEGIN

SELECT Table_LOG_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;

END;

 

Tuesday, March 13, 2012

Online HTML and CSS Table Border Style Wizard

Hi Reader,

 

I was looking for an online resource which can automatically generate styles for the tables which we create during web page development.

 

The following website was very much useful J

 

http://www.somacon.com/p141.php

 

Best Regards

Fauzi

Oracle SQL: How to find session that is blocking any object: For Monitoring

--List the session that is blocking any object: for Monitoring

 

select O.object_name,O.object_type,S.sid,S.UserName,S.MACHINE, S.serial#,L.oracle_username,L.os_user_name,L.locked_mode

from dba_objects O,v$locked_object L,v$session S

where O.object_id = L.object_id and S.sid = L.session_id

 

Thanks & Regards

Fauzi

 

 

 

Sunday, June 19, 2011

Sample to find Area and perimeter of a Polygon

Hi,
Today tried a sample to fetch Area and perimeter of a surface using ArcGIS API with Google maps. It is easy to use, we just need to join the points for the respective surface for which we need to find the Area & perimeter and double click. I always like Central park in Newyork, Thought let us try the tool there... It works perfect... please find the link & screen shot below.

Live Sample: http://www.kuwaitfresh.com/find_area.html