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%'
Blog from a software professional, Passionate to work in latest cutting edge technologies in order to get better results in business.
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%'
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
| 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 | |
|
| |
| URDU Translation | Dr. Col Muhammad Ayub | |
| | |
|
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;
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
--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 | |