Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

difference btn synonym, alias ,views

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sankari_thiyaga

New User


Joined: 14 May 2005
Posts: 4

PostPosted: Sat May 14, 2005 8:00 pm    Post subject: difference btn synonym, alias ,views
Reply with quote

hi,
could u plz explain me the difference btn synonym,alias,views.
Of these three which do occupy memory space?
which can be deleted?
sankari.
Back to top
View user's profile Send private message

brain_s390

New User


Joined: 06 May 2005
Posts: 58
Location: Mumbai

PostPosted: Sun May 15, 2005 1:15 am    Post subject: Re: difference btn synonym, alias ,views
Reply with quote

Synonym : It is an unqualified alternative name for a table or view.

VIEW : It is a virtual table made up of data from base tables and other views, but not stored separately.

ALIAS : An alias is an alternative to a synonym, designed for a distributed environment to avoid having to use the location qualifier of a table or view. The alias is not dropped when the table is dropped.

Hope above clarifies !!
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Mon May 16, 2005 5:27 pm    Post subject: differences
Reply with quote

Hi,

Alias and synanyms are alternate names for DB2 objects with the following differences.

Synonym:
1. this is the local object only user has to create and access it.
2.used in local environment.
3.when base table is dropped automatically synonyms are dropped.
4.SYSADM authority is not needed.

Alias:
1. this is the global object.
2.used in distributed environment.
3.when base table is dropped aliases not dropped.
4.SYSADM authority is needed to create this or CREATEALIAS previlege is needed.

View:
View is part of the table(s).

pavan
Back to top
View user's profile Send private message
sankari_thiyaga

New User


Joined: 14 May 2005
Posts: 4

PostPosted: Thu May 26, 2005 6:38 pm    Post subject: Re: difference btn synonym, alias ,views
Reply with quote

thank u ,i'm clarified.
sankari.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Define Alias for multiple Data sets u... sandy98669 JCL & VSAM 4 Fri May 27, 2016 1:07 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us