Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h1OMwZj08058
 for <oracle-l@orafaq.net>; Mon, 24 Feb 2003 16:58:35 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h1OMwXJ08048
 for <oracle-l@orafaq.net>; Mon, 24 Feb 2003 16:58:33 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id LAA29922;
 Mon, 24 Feb 2003 11:42:41 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 005570CA; Mon, 24 Feb 2003 10:34:00 -0800
Message-ID: <F001.005570CA.20030224103400@fatcity.com>
Date: Mon, 24 Feb 2003 10:34:00 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Wayne Straughn" <Wayne.Straughn@blpc.com.bb>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Wayne Straughn" <Wayne.Straughn@blpc.com.bb>
Subject: RE: Using fully qualified table_name.database_object in application code?
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----_=_NextPart_001_01C2DC33.85074F7B"
------_=_NextPart_001_01C2DC33.85074F7B
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

One possible disadvantage is that your apps are then 'tied' to a =
particular schema...  if you wanted to run
them against another schema,  you would have to go back and modify =
everything...
=20
To get around this:
You could create public synonyms  pointing to a  particular schema's =
tables so if a reason ever arose to
switch schema you'd only have to  modify one set of code... your public =
synonym script.
=20
Wayne Straughn



 -----Original Message-----
Sent: Monday, February 24, 2003 12:29 PM
To: Multiple recipients of list ORACLE-L
code?



I would like to know if it is advocated to use fully qualified =
table_name.database objects in application code.

Example would be schema.table_name in a PL/SQL code.

I would like to know the Pros/Cons if there are any?

Thanks in advance.




  _____ =20

Do you Yahoo!?
Yahoo!  =
<http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/> Tax =
Center - forms, calculators, tips, and more


------_=_NextPart_001_01C2DC33.85074F7B
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<BLOCKQUOTE>
  <DIV><SPAN class=3D844501718-24022003><FONT face=3DTahoma>One=20
  possible&nbsp;disadvantage is that&nbsp;your apps are then 'tied' to a =

  particular schema...&nbsp; if you wanted to run</FONT></SPAN></DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT face=3DTahoma>them against =
another=20
  schema,&nbsp; you would have to go back and modify=20
  everything...</FONT></SPAN></DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT=20
  face=3DTahoma></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT face=3DTahoma>To get =
around=20
  this:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT face=3DTahoma>You could =
create public=20
  synonyms&nbsp; pointing&nbsp;to a&nbsp;&nbsp;particular =
schema's&nbsp;tables=20
  so if a reason ever arose to</FONT></SPAN></DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT face=3DTahoma>switch =
schema you'd only=20
  have to&nbsp;&nbsp;modify one set of code...&nbsp;your public synonym=20
  script.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT=20
  face=3DTahoma></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D844501718-24022003><FONT face=3DTahoma>Wayne=20
  Straughn</FONT></SPAN></DIV></BLOCKQUOTE>
<BLOCKQUOTE><FONT face=3DTahoma>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DArial><FONT=20
  color=3D#0000ff><FONT size=3D2><SPAN=20
  class=3D844501718-24022003></SPAN></FONT></FONT></FONT><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT><BR><FONT size=3D2><SPAN=20
  class=3D844501718-24022003><FONT face=3DArial=20
  color=3D#0000ff>&nbsp;</FONT></SPAN>-----Original =
Message-----<BR><B>From:</B>=20
  laura pena [mailto:lizzpenaorclgrp@yahoo.com]<BR><B>Sent:</B> Monday, =
February=20
  24, 2003 12:29 PM<BR><B>To:</B> Multiple recipients of list=20
  ORACLE-L<BR><B>Subject:</B> Using fully qualified =
table_name.database_object=20
  in application code?<BR><BR></DIV></FONT></FONT>
  <P>I would like to know if it is advocated to use fully qualified=20
  table_name.database objects in application code.</P>
  <P>Example would be schema.table_name in a PL/SQL code.</P>
  <P>I would like to know the Pros/Cons if there are any?</P>
  <P>Thanks in advance.</P>
  <P><BR>
  <HR SIZE=3D1>
  Do you Yahoo!?<BR><A=20
  =
href=3D"http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/"=
>Yahoo!=20
  Tax Center</A> - forms, calculators, tips, and =
more</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2DC33.85074F7B--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Wayne Straughn
  INET: Wayne.Straughn@blpc.com.bb

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

