473,320 Members | 1,933 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,320 software developers and data experts.

How to tell if a MQT is maintained by USER or SYSTEM


Please don't tell me using DB2LOOK.
I only found the following difference when I checked the SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if I can depend
on this.

Thanks,
FRX
Nov 12 '05 #1
6 2348
I am curious, what does the CONST_CHECKED column in SYSCAT.TABLES tell you? Is it different or does it say anything?

CONST_CHECKED CHAR(32) Byte 1 represents foreign key constraints.

Byte 5 represents materialized query table.

Encodes constraint information on checking. Values:

Y = Checked by system

U = Checked by user

F = In byte 5, the materialized query table cannot be refreshed incrementally.

--

Bob
Consulting I/T Specialist
IBM Toronto Lab
IBM Software Services for Data Management
[My comments are solely my own and are not meant to represent an official IBM position - ask my cat!]

"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message news:3F***************@sbcglobal.net...

Please don't tell me using DB2LOOK.
I only found the following difference when I checked the SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if I can depend
on this.

Thanks,
FRX
Nov 12 '05 #2
Thanks, Bob,
I will check tomorrow.
"Bob [IBM]" wrote:
I am curious, what does the CONST_CHECKED column in SYSCAT.TABLES tell
you? Is it different or does it say anything? CONST_CHECKED CHAR(32)
Byte 1 represents foreign key constraints.

Byte 5 represents materialized query table.

Encodes constraint information on checking. Values:

Y = Checked by system

U = Checked by user

F = In byte 5, the materialized query table cannot be refreshed
incrementally.

--

Bob
Consulting I/T Specialist
IBM Toronto Lab
IBM Software Services for Data Management
[My comments are solely my own and are not meant to represent an
official IBM position - ask my cat!]

"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message
news:3F***************@sbcglobal.net...
Please don't tell me using DB2LOOK.
I only found the following difference when I checked the
SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single
blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if
I can depend
on this.

Thanks,
FRX


Nov 12 '05 #3
Thanks for your answer.
I did some tests today. I can't depend on the CONST_CHECKED (Byte 5).
The value of this byte for a MQT which REFRESH IMMEIDATE can also be set
as 'U' (U = Checked by user).
Regards,
FRX
"Bob [IBM]" wrote:
I am curious, what does the CONST_CHECKED column in SYSCAT.TABLES tell
you? Is it different or does it say anything? CONST_CHECKED CHAR(32)
Byte 1 represents foreign key constraints.

Byte 5 represents materialized query table.

Encodes constraint information on checking. Values:

Y = Checked by system

U = Checked by user

F = In byte 5, the materialized query table cannot be refreshed
incrementally.

--

Bob
Consulting I/T Specialist
IBM Toronto Lab
IBM Software Services for Data Management
[My comments are solely my own and are not meant to represent an
official IBM position - ask my cat!]

"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message
news:3F***************@sbcglobal.net...
Please don't tell me using DB2LOOK.
I only found the following difference when I checked the
SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single
blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if
I can depend
on this.

Thanks,
FRX


Nov 12 '05 #4
Oh well - worth a try I guess :)

--

Bob
Consulting I/T Specialist
IBM Toronto Lab
IBM Software Services for Data Management
[My comments are solely my own and are not meant to represent an official IBM position - ask my cat!]
"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message news:3F***************@sbcglobal.net...
Thanks for your answer.
I did some tests today. I can't depend on the CONST_CHECKED (Byte 5).
The value of this byte for a MQT which REFRESH IMMEIDATE can also be set
as 'U' (U = Checked by user).
Regards,
FRX
"Bob [IBM]" wrote:
I am curious, what does the CONST_CHECKED column in SYSCAT.TABLES tell
you? Is it different or does it say anything? CONST_CHECKED CHAR(32)
Byte 1 represents foreign key constraints.

Byte 5 represents materialized query table.

Encodes constraint information on checking. Values:

Y = Checked by system

U = Checked by user

F = In byte 5, the materialized query table cannot be refreshed
incrementally.

--

Bob
Consulting I/T Specialist
IBM Toronto Lab
IBM Software Services for Data Management
[My comments are solely my own and are not meant to represent an
official IBM position - ask my cat!]

"Fan Ruo Xin" <fa*****@sbcglobal.net> wrote in message
news:3F***************@sbcglobal.net...
Please don't tell me using DB2LOOK.
I only found the following difference when I checked the
SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single
blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if
I can depend
on this.

Thanks,
FRX


Nov 12 '05 #5
Yes, Byte 1 of the property column will indicate what you want.

Fan Ruo Xin wrote:
Please don't tell me using DB2LOOK.
I only found the following difference when I checked the SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if I can depend
on this.

Thanks,
FRX


Nov 12 '05 #6
Thank you.
Regards,
FRX

te**********@hotmail.com wrote:
Yes, Byte 1 of the property column will indicate what you want.

Fan Ruo Xin wrote:
Please don't tell me using DB2LOOK.
I only found the following difference when I checked the SYSCAT.TABLES.
tabname TYPE STATUS PROPERTY
-------- ---- ------ --------------------------------
USRMQT S N Y
SYSMQT S N
2 record(s) selected.
PROPERTY VARCHAR(32) Properties for the table. A single blank indicates
that the table has no properties.
But from the explanation for the PROPERTY, I am not sure if I can depend
on this.

Thanks,
FRX


Nov 12 '05 #7

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

Similar topics

1
by: John | last post by:
Hi all, I have a problem with viewstate being maintained. I use LoadControl to load a user control and the data is sent down to the client correctly. However, when I change some data and post...
1
by: John | last post by:
Hi all, I have a problem with viewstate being maintained. I use LoadControl to load a user control and the data is sent down to the client correctly. However, when I change some data and post...
2
by: antonyliu2002 | last post by:
I am testing ASP.NET 2.0 Forms athentication with user credentials in SQL Server 2005. I don't want to put user credentials in web.config, so the credentials section is commented out. The...
3
by: HerbAsher | last post by:
Hi! I have some questions. I'm evaluating berkeley db as a embeddable storage engine for a project I'm working on. My questions: 1. Now that Berkeley DB is part of Oracle, is it still...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.