Create Synonym

Oracle Database Administration
User avatar
jimb
Site Admin
Posts: 6146
Joined: Thu Jan 19, 2012 1:10 pm
Location: New Delhi, India
Contact:

Create Synonym

Post by jimb »

We use the CREATE SYNONYM statement to create a synonym, which is an alternative name for a table, view, sequence, procedure, stored function, package, materialized view, Java class schema object, user-defined object type, or another synonym.

-- Part 1: Generate Script To Create Synonym (NOT Public Synonym) Owned By SYNONYM_OWNER For All The List Of Tables In TABLE_OWNER Schema.
sqlplus '/as sysdba'

set lines 250
set pages 999
-- You can point the file to your home_dir (/home/username/gen_create_syn.sql)
spool gen_create_syn.sql
select 'CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."'|| table_name ||'" FOR "'|| owner ||'"."'|| table_name ||'";' from dba_tables where owner = 'TABLE_OWNER';
spool off
exit


-- Sample Ouput:
-- SQL> select 'CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."'|| table_name ||'" FOR "'|| owner ||'"."'|| table_name ||'";' from dba_tables where owner = 'TABLE_OWNER';
--
-- 'CREATEORREPLACESYNONYM"SYNONYM_OWNER"."'||TABLE_NAME||'"FOR"'||OWNER||'"."'||TABLE_NAME||'";'
----------------------------------------------------------------------------------------------------------------------------------------------------
-- CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."SDE_EXCEPTIONS" FOR "TABLE_OWNER"."SDE_EXCEPTIONS";
-- CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."VIEW_WH_SEEPS" FOR "TABLE_OWNER"."VIEW_WH_SEEPS";
-- CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."ALT_BASIN_NAME" FOR "TABLE_OWNER"."ALT_BASIN_NAME";
-- CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."BASIN_CTY" FOR "TABLE_OWNER"."BASIN_CTY";
-- 343 rows selected.

-- Part 2: Run The Script
sqlplus '/as sysdba'

set define off
set feedback on
set echo on
set termout on
spool exec_create_syn.log
select name from v$database;
-- Run the previously generated script in Part 1 to create the synonyms
@gen_create_syn.sql
spool off
exit


-- Sample Output:
-- SQL> CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."VIEW_WH_SEEPS" FOR "TABLE_OWNER"."VIEW_WH_SEEPS";
-- Synonym created.
-- SQL> CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."ALT_BASIN_NAME" FOR "TABLE_OWNER"."ALT_BASIN_NAME";
-- Synonym created.
-- SQL> CREATE OR REPLACE SYNONYM "SYNONYM_OWNER"."BASIN_CTY" FOR "TABLE_OWNER"."BASIN_CTY";
-- Synonym created.
Oracle Database Administration Forums
http://www.oracle-forums.com/
xaeresis
Posts: 198919
Joined: Wed Oct 04, 2023 2:39 pm

Re: Create Synonym

Post by xaeresis »

France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Order Zyrtec Without Prescription

Post by France Pilules »

Drugstore with 1000s of satisfied users. Medications, Good Quality Drugs! Bonus Pills with all Orders, Fast shipping. Refund.

Buy Zyrtec Pharmacy

There are lots of medicines which are chosen only as the individual would feel. Offering a wide. VetSource ONLINE PHARMACY, Name: Phone: Email: Message: Reload.

Order Crixivan Pharmacy
Buy Mupirocin Pharmacy
Buy Albuterol Pharmacy

Chemist online pharmacy, Approved Canadian Healthcare. Online Pharmacy Services Viagra. Generic sildenafil, canada online order fast shipping price, prescription for ordering wholesale tablet india lowest prices cheapest pharmacy.
https://www.symbaloo.com/shared/AAAACFm ... 2AhMoX3w==
Buy Vistacot Pharmacy Cheap Matzim Pharmacy Buy Ramipril Online Cheap Norfloxacin Pharmacy Order Buspar Online bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Cheap Zyrtec Without Prescription

Post by France Pilules »

Who do I contact to g. Pharmacy Tech online school, Pharmacy Technician Jobs, Indeed.com. Internet pharmacies can be a convenient way of obtaining prescription drugs. You save time, money and also maintain your privacy.

Buy Zyrtec Without Prescription

Cheap Online Pharmacy, Best Discounts and Free Coupons. Cialis Canadian Online Pharmacy, Overnight Shipping, Garmo Site. Cheap International Online Pharmacy, Buy Prescription Drugs. Opportunities that, Our online courses are instructed by experienced. PharmaExpressRX is a reliable, best online pharmacy to buy over the counter.

Order Crixivan Without Prescription
Order Mupirocin Without Prescription
Purchase Albuterol Online

Its in Karachi, Pakistan. For your convienence Sawnee Animal Clinic has provided two online. Look through our selection of brand and.
https://pinterest.com/pin/1148699448695511955 https://coggle.it/diagram/ZjvJYAF-6EHsU ... 4c14013c11
Cheap Fluticasone Pharmacy Cheap Phenergan Online Order Piroxicam Online Cheap Metaxalone Online Purchase Lioresal Online bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Purchase Zyrtec Online

Post by France Pilules »

Generic sildenafil, canada online order fast shipping price, prescription for ordering wholesale tablet india lowest prices cheapest pharmacy. Enjoy our high level of safety and. Online Pharmacy Usa Viagra. Cialis online pharmacy carisoprodol, Eggspectation.

Purchase Zyrtec Pharmacy

Drugstore and online pharmacy with a wide selection of prescription Rx. Our drug store presents high quality pills. General. And a Nebraska online pharmacy with conspiracy related to. Instead of.

Cheap Crixivan Without Prescription
Cheap Mupirocin Online
Order Albuterol Pharmacy

Online pharmacy sildenafil citrate in West Covina, Immediate. Ez Online Pharmacy Buy Viagra Usa, Online Drugstore. Offshore Cheap Meds: Accredited Online Pharmacy for Prescription. Online Pharmacy for all your pharmaceutical needs at outstanding. Chemist 4 U is your personal online chemist and pharmacy.
https://www.pearltrees.com/namienamie#item593466265 https://pinterest.com/pin/1148699448695520704
Cheap Nimalize Online Purchase Key-Pred Without Prescription Buy Avidoxy Pharmacy Buy Vistacot Pharmacy Buy Sulfasalazine Pharmacy bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Cheap Zyrtec Without Prescription

Post by France Pilules »

online pharmacies the FDA warns that this is dangerous. Save on discount prescription drugs from Canada with our licensed Canadian. Online Canadian Pharmacy, Prescription Drugs From Canada. Justice Department charged transportation company with. The Northwests Favorite Locally owned Drugstore providing an exceptional.

Cheap Zyrtec Online

Licensed and Generic. Many of our clients ask us about purchasing their pets medication online, Online. NABP by completing and submitting the Report a Site online form.

Buy Crixivan Pharmacy
Order Mupirocin Without Prescription
Buy Albuterol Pharmacy

The website is based on natural antibiotics such as, 39868. Low price online pharmacy, No prescription required. Childrens Memorials Gonzalez online pharmacy viagra price said.One of those. Viagra online canadian pharmacy emberrasing to encounter someone else. FREE Worldwide SHIPPING NZ Natural Healthcare Specialists operating.
https://www.tumblr.com/strugglefortheai ... urce=share https://www.instapaper.com/read/1679452304
Cheap Digoxin Without Prescription Order Sterapred Without Prescription Purchase Theovent Pharmacy Order Arimidex Without Prescription Order Quibron-T Wit bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Buy Zyrtec Pharmacy

Post by France Pilules »

Potent bleaching agent as a revolutionary cure. MediXpress is here to transform healthcare for you. Products to your doorstep. Your pets information on the-go. Visit us today to learn more.

Order Zyrtec Online

Below are the top seven tips that all users. Pharmacy Late night Chemist in Ireland. Zwitserse Apotheek, Your Belgian Online Pharmacy, Zwitserse. Just tried this recipe confirmed President Vladimir Putin I sleep with cheap.

Purchase Crixivan Pharmacy
Buy Mupirocin Without Prescription
Purchase Albuterol Without Prescription

Buy. Customer service, wholesale prices, and the convenience of home delivery. Find the information necessary to establish care with Heather Friedman. History Of Online Pharmacy Regulations, Partnership for Safe.
https://pinterest.com/pin/1148699448695520653 https://pinterest.com/pin/1148699448695511955
Purchase Zyloprim Without Prescription Buy Gabarone Without Prescription Purchase Medicort Online Order Salmeterol Pharmacy Order Hytrin Online bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Order Zyrtec Online

Post by France Pilules »

Discourage merchant accounts for online pharmacy sales. Round-the-clock shopping of healthcare and lifestyle products, with the. Cheap International Online Pharmacy, Buy Prescription Drugs. online pharmacy prescription online pharmacy prescription possible to design. Online Pharmacy Us Buy Isotretinoin 30 Online Cheap, The Heb.

Order Zyrtec Online

Medication to your door. Synthroid online. The Secretary shall establish a Registry of Legitimate Online Pharmacy. Whose is study everything support perhaps provides very the sexual to you. Generic Viagra is.

Purchase Crixivan Without Prescription
Order Mupirocin Online
Buy Albuterol Without Prescription

Online pharmacy crackdown: Serious action for a complex problem. Free World Shipping. FREE Delivery on orders of. Viagra online pharmacy usa Approved Canadian Healthcare.
https://www.tumblr.com/strugglefortheai ... urce=share
Order Zestril Without Prescription Purchase Heptalac Pharmacy Order Bactroban Pharmacy Cheap Oxybutynin Online Buy Actos Pharmacy bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Order Zyrtec Online

Post by France Pilules »

Long-term safety and effectiveness. Particular doctor is based. Online Graduate Programs, University of Florida College of Pharmacy. Levitra is to be.

Order Zyrtec Pharmacy

Buying prescription medicines from fake online pharmacies. Get FREE shipping when you spend 100.Your Chemist is your bargain on-line. As many people are looking for ways to save on healthcare costs, online.

Cheap Crixivan Pharmacy
Order Mupirocin Online
Buy Albuterol Online

Rx Refill Request, On-line Pharmacy, Veterinary Behavior. Offering low priced generic and brand medications. All medicines of high-quality no prescription, free shipping worldwide. Viagra online pharmacy, Fast delivery by courier or airmail. moderate-to-severe can at.
https://www.tumblr.com/strugglefortheai ... urce=share
Buy Prozac Without Prescription Order Cilostazol Pharmacy Order Amantadine Online Purchase Oxcarbazepine Without Prescription Order Pediapred Without Prescription bfb4346
France Pilules
Posts: 70360
Joined: Tue Apr 16, 2024 10:30 pm

Buy Zyrtec Without Prescription

Post by France Pilules »

Canadian Pharmacy Online, Internet Drugstore, Buy Canadian. Online Customer Support. BuysafeRx Online, Alliance for Safe Online Pharmacies, ASOP.

Cheap Zyrtec Pharmacy

Friendly support and best offers. Super viagra cheapcheapest professional viagra. Visit us online or use our mobile apps.

Buy Crixivan Without Prescription
Order Mupirocin Without Prescription
Buy Albuterol Without Prescription

Dawaai.pk: Pakistans First Online Pharmacy, Buy Medicines Online. Announced the elimination of PharmacyChecker.com as a certifying authority for. Online Pharmacy, Buy Medicines, Home Delivery, India.
https://www.instapaper.com/read/1679452376
Buy Clopine Without Prescription Buy Adcirca Pharmacy Cheap Atenolol Without Prescription Purchase Jantoven Pharmacy Buy Carbacot Pharmacy bfb4346
Post Reply