473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Certificate 700 (DB2 Familly Fundamentals)


I'm taking this exam on Wensday. There is one question I don't understand
from test (online) exam:

For which objects (Table, View, Index...) SQL source (DDL) is held in system
catalog and for which objects isn't?
Jul 3 '06 #1
10 2521

One more question: using which DB2 tool (Query Patroller, Rational
Connect...) you can do a select on a DB2 and Oracle from one line of code
(one SELECT)?
Jul 3 '06 #2
"John Smith" <jo********@microsoft.comwrote in message
news:_O********************@news.siol.net...
>
I'm taking this exam on Wensday. There is one question I don't understand
from test (online) exam:

For which objects (Table, View, Index...) SQL source (DDL) is held in
system catalog and for which objects isn't?
The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.
Jul 3 '06 #3

"Mark A" <no****@nowhere.comwrote in message
news:26******************************@comcast.com. ..
"John Smith" <jo********@microsoft.comwrote in message
news:_O********************@news.siol.net...
>>
I'm taking this exam on Wensday. There is one question I don't understand
from test (online) exam:

For which objects (Table, View, Index...) SQL source (DDL) is held in
system catalog and for which objects isn't?

The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.
In other words, the DDL for CREATE VIEW is stored explicitly in the DB2
Catalog.

For other objects, the DDL is not stored explicitly but the detailed
description of the object is found in the appropriate tables of the catalog.
For instance, if you look at SYSIBM.SYSTABLES, you will find all of the
attributes of every table in your database; each attribute is stored in a
separate column. Therefore, the exact DDL that was used to create these
objects is not kept but all of the information is available by reading the
catalog tables and views.

Since the real DDL is more convenient in some cases than the catalog
definitions, many DBAs store all DDL that get executed. In most shops, the
DBAs create all of the higher-level objects and use scripts to create the
objects. They keep the scripts after they have been executed. Then they have
both the original script, which shows the real DDL, and can get all of the
details from the catalog as well.

--
Rhino
Jul 3 '06 #4
The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.
As much as I remember, test question was to choose 2 objects which have
complete DDL definitions (CREATE...) stored in system catalog. Are you sure
the views are the only objects?
Jul 4 '06 #5
>The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.

As much as I remember, test question was to choose 2 objects which have
complete DDL definitions (CREATE...) stored in system catalog. Are you
sure the views are the only objects?
What about triggers?
Jul 4 '06 #6
"John Smith" <jo********@microsoft.comwrote in message
news:8I********************@news.siol.net...
>
>The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.

As much as I remember, test question was to choose 2 objects which have
complete DDL definitions (CREATE...) stored in system catalog. Are you
sure the views are the only objects?
In your OP, the choices you gave were "(Table, View, Index...)". Among those
three, only the DDL of the View is stored.

There are other objects that have their DDL stored in the Catalog. You can
check out the Catalog definitions in the SQL Reference Vol 1 Appendix D to
find the answer.
Jul 4 '06 #7
You can find this in your DB2 Admin. reference Handdbook where all the
tables are described.
The SYSIBM.SYSTABLES catalog tables has a column that identifies the type of
object (V=View,T=Table,A=Alias) as well as a column PACKED_DESC which has a
compacted definition of the object. There's also an INDEX_DESC column in
SYSIBM.SYSINDEXES.
I believe but not definite that this where the db2look utility gets its info
when you use it to extract the DDL from an object
As a matter of fact, it has add'l columns, REL_DESC, TRIG_DESC,AST_DESC, and
so on where what is related to the table is stored.

To answer your question, I'd say all of the above as mentioned in your
question.
HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Mark A" <no****@nowhere.coma écrit dans le message de news:
26******************************@comcast.com...
"John Smith" <jo********@microsoft.comwrote in message
news:_O********************@news.siol.net...
>>
I'm taking this exam on Wensday. There is one question I don't understand
from test (online) exam:

For which objects (Table, View, Index...) SQL source (DDL) is held in
system catalog and for which objects isn't?

The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.

Jul 4 '06 #8
I'll correct myself before someone else does.
The TEXT of the definition is in SYSIBM.SYVIEWS and that is the only object
that has it like that.
So I guess your answer should be View only.
Apologies, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"John Smith" <jo********@microsoft.coma écrit dans le message de news:
gW********************@news.siol.net...
>
One more question: using which DB2 tool (Query Patroller, Rational
Connect...) you can do a select on a DB2 and Oracle from one line of code
(one SELECT)?
Jul 4 '06 #9
Yes, trigger definitions are stored in syscat tables.

Regarding accessing DB2 and Oracle from single line of code, Relational
connect can be used in a federated environment to have native read
access to variety of database sources.

Cheers,
Ashrujit
John Smith wrote:
The View DDL is in the catalog. For the others, the information about
columns, etc are in the various catalog tables.
As much as I remember, test question was to choose 2 objects which have
complete DDL definitions (CREATE...) stored in system catalog. Are you
sure the views are the only objects?

What about triggers?
Jul 5 '06 #10

Thank you.
Jul 6 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rosalie Mignon | last post by:
I've developped an application under Visual Basic 5.0. This application manage the parallel port. Application is working well under Windows XP Pro, but will not work under Windows XP Familly...
4
by: vagrawal | last post by:
I'm trying to install "DB2 workgroup Edition" from "Dummies Test Engine DB2 UDB v7.1 evaluation copy" CD, which comes with DB2 fundamentals certification for Dummies for db2 certification exam 512....
0
by: Arman | last post by:
Hi all Im thinking of creating some sort of a familly tree system using MS access. I was wondering if any one has a similar schema somewhere, i could use to get some ideas. Thanx
23
by: Leo | last post by:
Dear All, I am wondering if there is any programming certificate in C which can prove somebody's C skills. I just had a job phone interview. Somebody asked me a lot of C questions which I was...
8
by: Frank Swarbrick | last post by:
I just got an email from Amazon.com offering me a pre-order of "DB2 9 for Developers" by Philip K. Gunning. Clicking on the link it showed me a few other possibly interesting books: "IBM DB2 9...
8
by: Ashish | last post by:
Is there any way to make my transcripts of the DB2 certifications viewable for public ? Right now only I can view my scores , but I am unable to give an access to let others view my scores... Is...
5
by: rhino | last post by:
I have some questions about DB2 certification. 1. Are the DB2 V8 exams still available, specifically in the Toronto area? I went to the certification portion of the IBM website and it took me to...
2
by: rhino | last post by:
Am I correct in assuming that it is NOT normal practice to repeat all the certification exams for the new DB2 version when a new DB2 version comes out? Let's say I took exams 700 and 701 and...
6
by: Yee.Chuang | last post by:
Hi, I'm learning what database is and how it works these days, I choose IBM DB2 express V9.5 as my DBMS(DataBase Management System), but I'm have no idea how to use it properly. Now I'm wondering...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.