Column references to other tables.
Hi,
Is there a script out there that specifies all column/dependecies for a table.
Eg
TABA has a column COL1.
I need to know all the other tables that reference TAB.COL1.
Thanks.
N
something like this ?
select
d.column_name
,d.owner
,d.table_name
,c.column_name
,c.owner
,c.table_name
from
user_cons_columns c
,user_cons_columns d
,user_constraints b
where
b.constraint_type = 'R'
and d.table_name = '&your_table'
and d.column_name = '&your_column'
and c.constraint_name = b.constraint_name
and b.r_constraint_name = d.constraint_name
and c.position = d.position
order by c.position
Similar Messages
-
Cell references to other tables, keep from changing
Here's what I am trying to do. I have two tables, in two sheets. Sheet 1::Table 1 and Sheet 2::Table 2.
The cells in Table 2 are all referenced to cells in Table 1 (with a formula that looks like =Table 1::X7).
I want to be able to move the rows in Table 1 around but have the formulas in Table 2 not change their reference. Now it seems they follow along. So the reference in Table 2 is =Table 1::X7 and I move row 7 in Table 1 so that it becomes row 6, my reference in Table 2 changes to =Table 1::X6. I don't want it to change. Changing the reference from relative to absolute doesn't seem to change this.
Any suggestions?
Thanks! Brian"I looked at INDEX and OFFSET but from what I can tell they don't accept a parameter for a different table."
OFFSET's base can be set as a cell on a different table. If that cell is in a Header row, it will not be included in sorts of the table, so in many cases cell A1 is chosen as 'base' (with row 1 set as a Header row), and offsets are calculated from that cell.
The example below shows results using OFFSET in columns B and C, and INDEX and OFFSET in column D, all of Table 2, to retrieve values from column X of Table 1. The yellow-filled row on Table 2 retrieves the values from the same cell as your =Table 1::X7 formula above. X7 is in the green filled row of Table 1.
The second pair of tables shows duplicates of the same pair of tables. Table 1 in this row has been sorted on the values in column B. Note that what was Row 7 of Table 1 is now Row 4 (although it is still labeled Row 7 in column A). Table 2 has not been sorted. The yellow-filled row is still in the same position and the formula in each of the three cells remains the same as it was in the first version of the table. The value retrieved is from cell X7 on the sorted Table 1.
Formulas (all in Table 2, entered in row 2, then filled down to row 10):
B2: =OFFSET(Table 1 :: $A$1,ROW()-1,23)
C2: =OFFSET(Table 1 :: $X$1,ROW()-1,0)
These two are pretty much the same.
The first uses A1 as the base, and requires a column offset of 23 steps to arrive at column X.
The second uses X1 as the base, and requires a column offset of 0 to remain in column X.
The row offset for both is set by the row in which the formula resides. ROW() returns the row number, from which 1 is subtracted to give an offset from row 1 of one step less than the row number of the formula's position.
D2: =INDEX(OFFSET(Table 1 :: $X$1,0,0,ROWS(Table 1 :: $X)),ROW())
This one uses OFFSET's ability to capture several values in an internal array, triggered here by adding a fourth argument to the function ( ROWS(Table 1::$X) ), to define the row-range as 'all of the rows in column X'. The values are extracted using INDEX.
Although INDEX has its uses, here I think it is redundant, and would use either of the two previous examples.
Regards,
Barry -
Check two columns and update other table
HI ,
I have a table called trackCenterline .Below is the table.
What i want to do is If the segmentSequenceID is 1 it should pick the corresponding SegmentID i.e 10001 and Check for the same segment id in other table called TrackSegment which is below. and pick the BeginMilepost of that segmentID and Update That
Milepost in a new table .At end SegmentSequenceID number it should pick ENDMilepost and update
TrackCenterline table.
TrackSegment table
In the below table for 10001 SegmentID it should pick BeginMilepost. For end Number of SegmentSequenceID in above table ID ends at 121 for that end sequenceID It should refer TrackSegment table below and pick EndMilepost and should be updated in another
table Milepost column.
after that a new segment starts with new sequence .and so on ...
bhavanaHi Deepa_Deepu,
According to your description, since the issue regards T-SQL. I will help you move the question in the T-SQL forums at
http://social.technet.microsoft.com/Forums/en-US/home?forum=transactsql. It is appropriate and more experts will assist you.
When you want to check two columns from two tables then return some results and update the third table. I recommend you use join function and combine two tables, then use update select from statement for modifying the Mailpost table. You can refer to the
following T-SQL Statement.
-----using join to connect to two tables
select TrackCenterline.FeatureId,TrackCenterline.SegmentId,
TrackCenterline.SegmentSequenceId,TrackSegment.BeginMilepost,TrackSegment.EndMilepost
from dbo.TrackCenterline join dbo.TrackSegment
on TrackCenterline.SegmentId=TrackSegment.SegmentId
order by TrackCenterline.SegmentId, TrackCenterline.SegmentSequenceId
---the result shows as following.
FeatureId SegmentId SegmentSequenceId BeginMilepost EndMilepost
AMK100011 10001 1 61.0000 61.3740
AMK100012 10001 2 61.0000 61.3740
AMK100013 10001 3 61.0000 61.3740
AMK1000121 10001 121 61.0000 61.3740
AMK100021 10002 1 61.1260 61.7240
AMK100023 10002 3 61.1260 61.7240
AMK100033 10003 3 61.3740 62.9530
-----Then you can use update select from statement to modify the Mailpost table, Or you can post the table structure of Mailpost
And for more information, you can review the following article about update statement.
http://www.techonthenet.com/sql/update.php
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
2 tables:
CREATE TABLE Requirement
reqID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
description varchar(200),
heading varchar(100),
GO
INSERT INTO Requirement VALUES (5296,'Cold pack','HH19_5');
INSERT INTO Requirement VALUES (5296,'Band-Aids','HH19_6');
INSERT INTO Requirement VALUES (5296,'First aid cream','HH19_7');
INSERT INTO Requirement VALUES (5296,'Tape','HH19_8');
INSERT INTO Requirement VALUES (5296,'Gloves','HH19_9);
INSERT INTO Requirement VALUES (5296,'Bandages','HH19_10');
INSERT INTO Requirement VALUES (5296,'Hand sanitizer','HH19_11');
INSERT INTO Requirement VALUES (5296,'Scissors','HH19_12');
INSERT INTO Requirement VALUES (5296,'Poison control information','HH19_13');
INSERT INTO Requirement VALUES (5296,'Name','HH02');
GO
CREATE TABLE Response
respID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
HH02 varchar(200),
HH19_5 varchar(20),
HH19_6 varchar(20),
HH19_7 varchar(20),
HH19_8 varchar(20),
HH19_9 varchar(20),
HH19_10 varchar(20),
HH19_11 varchar(20),
HH19_12 varchar(20),
HH19_13 varchar(20),
GO
INSERT INTO Response VALUES (33,'Mary',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (35,'Barbara',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (144,'Melissa',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (146,'Missy',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (5296,'Pamela',7,8,9,10,11,12,13,14,15);
GO
Result:
description
heading
response
Name
HH02
Pamela
Bandages
HH19_10
12
Hand sanitizer
HH19_11
13
Scissors
HH19_12
14
Poison control information
HH19_13
15
Cold pack
HH19_5
7
Band-Aids
HH19_6
8
First aid cream
HH19_7
9
Tape
HH19_8
10
Gloves
HH19_9
11
For now, I'm using where req_result_id = 5296. Only one row from the Response table is selected.
I'm playing with unpivot and cross apply. I might use two CTE's but am not yet sure how to join them. I would just like to see what others here suggest.
I only need help with T-SQL - not table design.
Let me know if you need more info or if I need to reformat the expected output to make it legible.
Thanks for any suggestions.CREATE TABLE Requirement
reqID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
description varchar(200),
heading varchar(100),
GO
INSERT INTO Requirement VALUES (5296,'Cold pack','HH19_5');
INSERT INTO Requirement VALUES (5296,'Band-Aids','HH19_6');
INSERT INTO Requirement VALUES (5296,'First aid cream','HH19_7');
INSERT INTO Requirement VALUES (5296,'Tape','HH19_8');
INSERT INTO Requirement VALUES (5296,'Gloves','HH19_9');
INSERT INTO Requirement VALUES (5296,'Bandages','HH19_10');
INSERT INTO Requirement VALUES (5296,'Hand sanitizer','HH19_11');
INSERT INTO Requirement VALUES (5296,'Scissors','HH19_12');
INSERT INTO Requirement VALUES (5296,'Poison control information','HH19_13');
INSERT INTO Requirement VALUES (5296,'Name','HH02');
GO
CREATE TABLE Response
respID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
HH02 varchar(200),
HH19_5 varchar(20),
HH19_6 varchar(20),
HH19_7 varchar(20),
HH19_8 varchar(20),
HH19_9 varchar(20),
HH19_10 varchar(20),
HH19_11 varchar(20),
HH19_12 varchar(20),
HH19_13 varchar(20),
GO
INSERT INTO Response VALUES (33,'Mary',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (35,'Barbara',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (144,'Melissa',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (146,'Missy',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (5296,'Pamela',7,8,9,10,11,12,13,14,15);
GO
;with mycte as (
select respID,req_result_id,response,heading from Response
cross apply (values
([HH19_5],'HH19_5')
,([HH19_6],'HH19_6')
,([HH19_7],'HH19_7')
,([HH19_8],'HH19_8')
,([HH19_9],'HH19_9')
,([HH19_10],'HH19_10')
,([HH19_11],'HH19_11')
,([HH19_12],'HH19_12')
,([HH19_13],'HH19_13')
,([HH02],'HH02') ) d(response,heading)
WHERE req_result_id=5296 )
select description,r.heading,response from Requirement r
inner join mycte m on r.req_result_id=m.req_result_id and r.heading=m.heading
Order by Case When len(r.heading)=4 then 1 Else 2 END, Len(Replace(r.heading,'HH19_','')) desc
drop table Requirement,Response -
Can a subquery hosted within a table reference that hosting table?
I have a large table that tracks Orders and Deliveries ("OrderAssign"). The OrderID column has a dropdown with a query that references some other tables that cover order details, like when each Order is due.
I'd like the dropdown query to only display order details for Orders that haven't been filled ("OrderAssign.Filled = 0"). The problem, I think, is that this would mean the query would reference the table that hosts it. Is this possible? I tried
to set up a test case, and got a generic syntax error I've seen many times before when the syntax is correct, but I'm using a SQL structure that Access doesn't like.
This table is linked to SQL, so I could also write a SQL view or function if that makes a difference.
I'm using Access 2010. Thanks!
EDIT: Huh, so I figured out a way, I think. I created a SQL view that filtered the records the way I wanted; then used the Linked Table Manager to create a linked view; then used that linked view in my dropdown subquery.
So I guess my follow up question to this is: is there any reason I SHOULDN'T do this? Will there be any issues with existing records in the table whose values will no longer show up in the constraining dropdown subquery?
EDIT 2: And I think I found the deal breaker. The field doesn't display the first column with the "real" info, the ID#. It displays the second. Once you add a query that doesn't display every row in the table, that query no longer has results to
display for the filtered records. So some of the records display the "real" info, which the users don't want to see, and the open records show the second field. Messy.
hydrogoniumI might not be using the right terminology. I have a lot of experience with SQL Server, relatively little with Access. I am doing this for a client who is used to entering data directly into the table, and wants minimal changes. However, the dropdown literally
has thousands of entries, which could be pruned by ~80% if filled orders are filtered out.
The table has "dropdown subqueries" (probably not the right term), which were created like so:
- Go to the Design tab.
- Click on the field you want to modify.
- Go to the lookup tab.
- Change the Display Control to 'Combo Box'
- Change the Row Source to a query, in my case, 'SELECT * FROM LinkedSQLView'
- Format the list as you want it displayed; in my case, the actual ID# is hidden in the first column, and the other ten columns are displayed.
The fields in question are:
- OrderRequestID (Number on Access / Int on SQL Server) - has a dropdown.
- OrderFillID (Number on Access / Int on SQL Server) - has a dropdown.
- OrderFilled (Yes/No on Access / Bit on SQL Server).
Purpose / Background: This table is basically a clearinghouse for entities making orders and other entities filling them. My client sits in the middle and matches everything up. It can get very complicated, because different products qualify for different
orders, and the amount supplied can be smaller or greater than an individual order.
hydrogonium -
Fact table have tow column reference the same dim table
In my analytic domain, my fact table have tow column reference the same dim table, but in physical diagram, between two table ,can only have one join, so i create a copy of the dim table, then finish the join in physical. This method can resolve this question, but not so good, Anyone have perfect solution?
user4497169 wrote:
Thanks,
yours method is very very good, I don't know this method before. Where do you get this imfomation?The sample sales RPD has (good) modelling references you can refer to, otherwise think about how you'd write the SQL Statement yourself, you'd need to use an alias to access the same table on seperate joins. -
How to use cell contents to indirectly reference other tables?
I think I need to use the INDIRECT or ADDRESS function here, but I just can't seem to structure it right. Does anyone have ideas?
I have a model that uses multiple tables, and I want to be able to enter table names, column names and row names into a new table, and for it to go and look up the right value in that TABLE::ROW NAME, COLUMN NAME.
In more detail: I have a table called SITES that has columns called Site1, Site2 etc, and rows of information such as Name, Phone, etc. I also have a whole series of tables called OPTION1, OPTION2 etc etc, which also have multiple columns for Site1, Site2 etc, and then rows of different information for each site, labelled Alt1, Alt2, Alt3 etc.
What I want to do is create new tables for reports, where I can enter eg OptionN in one cell, SiteN in another, and for that table to lookup the value of table OptionN::SiteN AltN. I need this to be built into the formulae partly for data integrity purposes eg, if the table shows Site1 name, and Option1, I need to be certain that the information in that table truly reflects Site1 and Option1 information, and also because I want to be able to create some simple whatif comparisons by changing a table from say Option1 to Option2 and seeing the difference.
So far, I have tried entering OptionN in A1 of the new table, and SiteN in B1, butI can't find a formula that will then go to table OptionN (A1) and lookup eg SiteN (B1), AltN. The AltN term would be written into the formula rather than referenced from another cell such as C1. I've tried the following sort of thing - none work:
=&A1 &"::" &B1 &"AltN"
=INDIRECT(A1&"::"&B1&"AltN")
=INDIRECT(ADDRESS(AltN,B1,,,A1))
I'd be very grateful for any help, as the ability to create tables that will lookup info from elsewhere using contents of its own cells will transform Numbers for me from a novelty to a seriously useful tool.
Message was edited by: MrJimMrJim wrote:
I've tried this, but it doesn't seem to work for non-numeric values. If $C was the name of a Header row, eg Mot, instead of a number then it doesn't seem to work.
James,
Here's a primitive example that, I believe, in your words "will transform Numbers for me from a novelty to a seriously useful tool".
In the Result column we have the nice little expression: =INDIRECT(Site&" "&Alt). You should be able to take it from there.
That's it.
Jerry
Edit: This presumes that you have gone to the Numbers Preferences and selected Use Header Names as References. -
Render a column based on other column value in the same table
JDev 11.1.1.6.0
This may be a silly question but I am stuck
I need to conditionally render a column say A. Condition is like if the value in the other column B of same table is equal to F. I should render column A only when this condition is satisfied. I have tried the following code:
<af:column sortProperty="PhoneNumber1"
sortable="false"
headerText="#{bindings.A.hints.PhoneNumber1.label}"
id="c146"
rendered="#{row.PhoneNumber1ResponseFlag eq 'F'}">
<af:outputText value="#{row.PhoneNumber1}"
id="ot130"/>
</af:column>
<af:column sortProperty="PhoneNumber1ResponseFlag"
sortable="false"
headerText="#{bindings.B.hints.PhoneNumber1ResponseFlag.label}"
id="c80" rendered="true">
<af:outputText value="#{row.PhoneNumber1ResponseFlag}"
id="ot129"/>
</af:column>
The data shown in the table for column PhoneNumber1ResponseFlag is F. Still my condition is not working.Timo was saying that it is not possible to render the column in some situations and not in anothers, you will always have to render the column.
The best way to do this is instead of showing a column with the text ' ', show something meaningfull to the user. This is a DataWarehouse advice to you and may be usefull since you're using ADF in a area that uses DataWarehouse..
So the code could be something like this (based on Timo's code):
<af:column sortProperty="PhoneNumber1"
sortable="false"
headerText="#{bindings.A.hints.PhoneNumber1.label}"
id="c146">
<af:outputText value="#{row.PhoneNumber1ResponseFlag eq 'False.' ? row.PhoneNumber1 : 'No value applied.'"
id="ot130"/>
</af:column>
<af:column sortProperty="PhoneNumber1ResponseFlag"
sortable="false"
headerText="#{bindings.B.hints.PhoneNumber1ResponseFlag.label}"
id="c80">
<af:outputText value="#{row.PhoneNumber1ResponseFlag}"
id="ot129"/>
</af:column>
Hope that helps,
Frederico. -
How do I delete a column for just one table and not all the others?
I have multiple tabels in a Pages document. I want to delete some columns on some of the tables but keep them on the other tables. When I delete the columns it deletes all of them on all of the tabels and I dont want that.
No. To do what you are asking for would require a separate table on each page.
Of course you can always move blocks of cells around manually, but I can't imagine how you would manage that.
Jerry -
How do I make a header column in a pivot table a field from the table
I am trying to reference a field for a header column in a pivot table. for example: 2006 - Cat, 2006-Dog
I am trying to get the following result:
2006-Cat January February March April May June July August September October November December Totals
Euthanise 159 203 188 252 376 501 393 315 304 276 212 207 3386
Intake 192 220 234 305 412 538 409 330 329 305 244 241 3759
Redeem 10 4 4 3 5 3 2 1 2 1 2 5 42
Rescue 0 0 2 10 0 0 0 1 0 2 0 4 19
2006-Dog January February March April May June July August September October November December Totals
Euthanise 306 375 347 341 458 484 385 441 317 384 325 318 4481
Intake 455 514 495 465 571 595 486 570 438 511 434 473 6007
Redeem 65 63 57 34 57 43 58 46 58 67 53 59 660
Rescue 0 0 0 1 0 0 0 0 3 1 0 0 5
2007-Cat January February March April May June July August September October November December Totals
Euthanise 223 265 229 275 569 508 451 359 310 318 231 225 3963
Intake 268 286 274 315 594 567 488 397 329 344 279 249 4390
Redeem 11 7 11 1 5 2 0 2 4 3 16 2 64
Rescue 7 0 0 1 0 1 2 1 1 0 1 0 14
2007-Dog January February March April May June July August September October November December Totals
Euthanise 436 374 313 343 395 362 422 403 394 350 275 343 4410
Intake 594 510 480 477 508 520 553 502 509 544 410 480 6087
Redeem 67 72 77 57 47 51 50 40 41 62 45 45 654
Rescue 2 3 0 1 0 0 4 0 3 0 1 1 15
Any help is greatly appreciated.<?xml version="1.0" encoding="UTF-8" ?>
- <ROWSET>
- <ROW>
<header>2006 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Euthanise</cue>
<anicnt>159.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Intake</cue>
<anicnt>192.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Redeem</cue>
<anicnt>10.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Euthanise</cue>
<anicnt>203.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Intake</cue>
<anicnt>220.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Redeem</cue>
<anicnt>4.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Euthanise</cue>
<anicnt>188.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Intake</cue>
<anicnt>234.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Redeem</cue>
<anicnt>4.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Rescue</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Euthanise</cue>
<anicnt>252.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Intake</cue>
<anicnt>305.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Redeem</cue>
<anicnt>3.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Rescue</cue>
<anicnt>10.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Euthanise</cue>
<anicnt>376.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Intake</cue>
<anicnt>412.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Redeem</cue>
<anicnt>5.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Euthanise</cue>
<anicnt>501.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Intake</cue>
<anicnt>538.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Redeem</cue>
<anicnt>3.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Euthanise</cue>
<anicnt>393.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Intake</cue>
<anicnt>409.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Redeem</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Euthanise</cue>
<anicnt>315.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Intake</cue>
<anicnt>330.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Redeem</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Euthanise</cue>
<anicnt>304.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Intake</cue>
<anicnt>329.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Redeem</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Euthanise</cue>
<anicnt>276.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Intake</cue>
<anicnt>305.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Redeem</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Rescue</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Euthanise</cue>
<anicnt>212.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Intake</cue>
<anicnt>244.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Redeem</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Euthanise</cue>
<anicnt>207.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Intake</cue>
<anicnt>241.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Redeem</cue>
<anicnt>5.0</anicnt>
</ROW>
- <ROW>
<header>2006 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Rescue</cue>
<anicnt>4.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Euthanise</cue>
<anicnt>306.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Intake</cue>
<anicnt>455.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Redeem</cue>
<anicnt>65.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Euthanise</cue>
<anicnt>375.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Intake</cue>
<anicnt>514.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Redeem</cue>
<anicnt>63.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Euthanise</cue>
<anicnt>347.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Intake</cue>
<anicnt>495.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Redeem</cue>
<anicnt>57.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Euthanise</cue>
<anicnt>341.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Intake</cue>
<anicnt>465.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Redeem</cue>
<anicnt>34.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Euthanise</cue>
<anicnt>458.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Intake</cue>
<anicnt>571.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Redeem</cue>
<anicnt>57.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Euthanise</cue>
<anicnt>484.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Intake</cue>
<anicnt>595.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Redeem</cue>
<anicnt>43.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Euthanise</cue>
<anicnt>385.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Intake</cue>
<anicnt>486.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Redeem</cue>
<anicnt>58.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Euthanise</cue>
<anicnt>441.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Intake</cue>
<anicnt>570.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Redeem</cue>
<anicnt>46.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Euthanise</cue>
<anicnt>317.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Intake</cue>
<anicnt>438.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Redeem</cue>
<anicnt>58.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Rescue</cue>
<anicnt>3.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Euthanise</cue>
<anicnt>384.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Intake</cue>
<anicnt>511.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Redeem</cue>
<anicnt>67.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Euthanise</cue>
<anicnt>325.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Intake</cue>
<anicnt>434.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Redeem</cue>
<anicnt>53.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Euthanise</cue>
<anicnt>318.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Intake</cue>
<anicnt>473.0</anicnt>
</ROW>
- <ROW>
<header>2006 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Redeem</cue>
<anicnt>59.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Euthanise</cue>
<anicnt>223.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Intake</cue>
<anicnt>268.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Redeem</cue>
<anicnt>11.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Rescue</cue>
<anicnt>7.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Euthanise</cue>
<anicnt>265.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Intake</cue>
<anicnt>286.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Redeem</cue>
<anicnt>7.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Euthanise</cue>
<anicnt>229.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Intake</cue>
<anicnt>274.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Redeem</cue>
<anicnt>11.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Euthanise</cue>
<anicnt>275.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Intake</cue>
<anicnt>315.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Redeem</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Euthanise</cue>
<anicnt>569.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Intake</cue>
<anicnt>594.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Redeem</cue>
<anicnt>5.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Euthanise</cue>
<anicnt>508.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Intake</cue>
<anicnt>567.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Redeem</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Euthanise</cue>
<anicnt>451.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Intake</cue>
<anicnt>488.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Rescue</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Euthanise</cue>
<anicnt>359.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Intake</cue>
<anicnt>397.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Redeem</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Euthanise</cue>
<anicnt>310.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Intake</cue>
<anicnt>329.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Redeem</cue>
<anicnt>4.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Euthanise</cue>
<anicnt>318.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Intake</cue>
<anicnt>344.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Redeem</cue>
<anicnt>3.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Euthanise</cue>
<anicnt>231.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Intake</cue>
<anicnt>279.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Redeem</cue>
<anicnt>16.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Euthanise</cue>
<anicnt>225.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Intake</cue>
<anicnt>249.0</anicnt>
</ROW>
- <ROW>
<header>2007 - CAT</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Redeem</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Euthanise</cue>
<anicnt>436.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Intake</cue>
<anicnt>594.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Redeem</cue>
<anicnt>67.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>January</MNTH>
<imonth>1</imonth>
<cue>Rescue</cue>
<anicnt>2.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Euthanise</cue>
<anicnt>374.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Intake</cue>
<anicnt>510.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Redeem</cue>
<anicnt>72.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>February</MNTH>
<imonth>2</imonth>
<cue>Rescue</cue>
<anicnt>3.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Euthanise</cue>
<anicnt>313.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Intake</cue>
<anicnt>480.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>March</MNTH>
<imonth>3</imonth>
<cue>Redeem</cue>
<anicnt>77.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Euthanise</cue>
<anicnt>343.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Intake</cue>
<anicnt>477.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Redeem</cue>
<anicnt>57.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>April</MNTH>
<imonth>4</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Euthanise</cue>
<anicnt>395.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Intake</cue>
<anicnt>508.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>May</MNTH>
<imonth>5</imonth>
<cue>Redeem</cue>
<anicnt>47.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Euthanise</cue>
<anicnt>362.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Intake</cue>
<anicnt>520.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>June</MNTH>
<imonth>6</imonth>
<cue>Redeem</cue>
<anicnt>51.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Euthanise</cue>
<anicnt>422.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Intake</cue>
<anicnt>553.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Redeem</cue>
<anicnt>50.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>July</MNTH>
<imonth>7</imonth>
<cue>Rescue</cue>
<anicnt>4.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Euthanise</cue>
<anicnt>403.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Intake</cue>
<anicnt>502.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>August</MNTH>
<imonth>8</imonth>
<cue>Redeem</cue>
<anicnt>40.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Euthanise</cue>
<anicnt>394.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Intake</cue>
<anicnt>509.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Redeem</cue>
<anicnt>41.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>September</MNTH>
<imonth>9</imonth>
<cue>Rescue</cue>
<anicnt>3.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Euthanise</cue>
<anicnt>350.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Intake</cue>
<anicnt>544.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>October</MNTH>
<imonth>10</imonth>
<cue>Redeem</cue>
<anicnt>62.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Euthanise</cue>
<anicnt>275.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Intake</cue>
<anicnt>410.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Redeem</cue>
<anicnt>45.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>November</MNTH>
<imonth>11</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Euthanise</cue>
<anicnt>343.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Intake</cue>
<anicnt>480.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Redeem</cue>
<anicnt>45.0</anicnt>
</ROW>
- <ROW>
<header>2007 - DOG</header>
<MNTH>December</MNTH>
<imonth>12</imonth>
<cue>Rescue</cue>
<anicnt>1.0</anicnt>
</ROW>
</ROWSET> -
How can I add a new column in compress partition table.
I have a compress partition table when I add a new column in that table it give me an error "ORA-22856: CANNOT ADD COLUMNS TO OBJECT TABLES". I had cretaed a table in this clause. How can I add a new column in compress partition table.
CREATE TABLE Employee
Empno Number,
Tr_Date Date
COMPRESS PARTITION BY RANGE (Tr_Date)
PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
PARTITION JUNK Values LESS THAN (MAXVALUE));
Note :
When I create table with this clause it will allow me to add a column.
CREATE TABLE Employee
Empno Number,
Tr_Date Date
PARTITION BY RANGE (Tr_Date)
PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
PARTITION JUNK Values LESS THAN (MAXVALUE));
But for this I have to drop and recreate the table and I dont want this becaue my table is in online state i cannot take a risk. Please give me best solution.Hi Fahed,
I guess, you are using Oracle 9i Database Release 9.2.0.2 and the Table which you need to alter is in OLTP environment where data is usually inserted using regular inserts. As a result, these tables generally do not get much benefit from using table compression. Table compression works best on read-only tables that are loaded once but read many times. Tables used in data warehousing applications, for example, are great candidates for table compression.
Reference : http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_data.html
Topic : When to Use Table Compression
Bug
Reference : http://dba.ipbhost.com/lofiversion/index.php/t147.html
BUG:<2421054>
Affects: RDBMS (9-A0)
NB: FIXED
Abstract: ENH: Allow ALTER TABLE to ADD/DROP columns for tables using COMPRESS feature
Details:
This is an enhancement to allow "ALTER TABLE" to ADD/DROP
columns for tables using the COMPRESS feature.
In 9i errors are reported for ADD/DROP but the text may
be misleading:
eg:
ADD column fails with "ORA-22856: cannot add columns to object tables"
DROP column fails with "ORA-12996: cannot drop system-generated virtual column"
Note that a table which was previously marked as compress which has
now been altered to NOCOMPRESS also signals such errors as the
underlying table could still contain COMPRESS format datablocks.
As of 10i ADD/SET UNUSED is allowed provided the ADD has no default value.
Best Regards,
Muhammad Waseem Haroon
[email protected] -
Table referenced by more than one other table
I'm no DBA so I was wondering if you could answer this fairly basic question. If I have a table that references more than 1 other table. For example Order links to a customer or Order can link to an Employee how would I represent that in the data model?
I'm guessing I could have the Order table have both an Employee ID and a Customer ID columns and null one or the other out depending on whether it was linked to an Employee or Customer but that seems a bit redundant in that there would always be at least one column being null.
Perhaps I could use table inheritance and just add the relevant foreign key col on the inherited tables but I'm fairly sure you can't have abstract tables.
Thanks for the help.For example:
table a = Primary_key1, col2, col3
table b = Primary_key1, primary_key2, col3
table c = Primary_key2, col2
To join all this tables you must do something like this:
select ....
from tablea,tableb,tablec
where tablea.Primary_key1=tableb.primary_key1 and
tableb.Primary_key2=tablec.primary2; -
Inserting data into a column from 2 different tables
Hi,
I need to insert data into a table using 2 other tables. The tables that contain data have identical column names.
Is using a UNION statement the only option?
Also, if I need to insert data into columns from only one of the either tables, how do i do it?
Thanks.For future reference, "doesn't seem to work" is a rather generic description... Posting the particular error message will be quite helpful, though I'm reasonably confident that I know the particular problem here.
First, if only for sanity, you probably want to explicitly list the columns of the destination table in your INSERT statement.
Second, it doesn't make sense to have DISTINCT clauses in queries that are UNION-ed together. A UNION has to do a sort to remove duplicates already.
Third, the two queries you are UNIONing together have to return the same number of columns, with the same names, in the same order.
You probably want something like
INSERT INTO new_table( col1, col2, col3, col4, col5 )
SELECT 'ABC' col1,
a.colA col2,
a.colB col3,
a.colC col4
a.colD col5
FROM table1 a
UNION
SELECT 'ABC' col1,
b.colA col2,
b.colB col3,
b.colC col4
NULL col5
FROM table2 bJustin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Need a formula to calulate multiple cells and add the sum total to a cell in a other table
Im a chef and my monthly inventory is a time consuming task. I get invoices from multiple suppliers on each day of the week. I enter them into a spread sheet and then need to add the sum total for all the invoices for say MONDAY. That total needs to be entered into a cell in another table called "daily spend". Is there a formula to automatically add say all the invoices from monday and input the daily spend cell on that table. Here is an example
I created a column B-to give each day a number(sometimes multiple invoices come from the same supplier for each day)<GREEN>..If there was a way to do this differently...Im happy to change the layout of the spreadsheet. I want to add the total $ (column F) for each day together(all the blue fields) and then insert the total into another cell seen in the next table . So in this example its F4+F16+F17=?, ? inserted into N2 of the next table
Thanks so much"I ve finally has a play with the advice you gave me but I have realized that the formula you gave me is for a week....and like I mentioned in my reply to you, one table is weekly the other is monthly....is there a way to overcome this? (my answer to you explains it)"
Hi Gavin,
Unfortunately, the scale of your illustrations in that reply made them difficult (or impossible) to read, even on the Retina screen.
The first formula, used to fill column B, extracts the Weekday number for each date. Since these numbers should be equivalent to the day of the month, You'll need to replace this with a formula that returns the Day value of each date:
Old:
B2: =WEEKDAY(A,2)
New:
B2: =DAY(A)
Fill down to end of column.
Because of the arrangeent of your Data table, you will need to repeat this formula in column H (with references to column G), etc. for each set of dates in the table.
The SUMIF formula in column F is fine as is, except that it assumes all condition data will be in column B of Data, and all data to be summed will be in column F of Data. Since this is obviously not the case for your Data table, you will need a separate iteration of the formula for each week in the table, with the four SUMIF statements enclosed in a SUM statement:
E2: =SUM(SUMIF(Data :: $B,A2,Data :: $F),SUMIF(Data :: $H,A2,Data :: $L),SUMIF(Data :: $N,A2,Data :: $R),SUMIF(Data :: $T,A2,Data :: $X))
Fill down for as many rows as there are days in the month being summarized.
Column references in the formula assume that six columns are used for each week, and that there is no gap in the table between weeks.
Note that the formula does not distinguish between transactions on July 7 and those on June 7 or August 7. Because of this, the Data table must be limited to transactions in a single calendar month.
Regards,
Barry -
GetPivotData with cell reference in a Table
I was told that this might be a better place to post this question than Microsoft Answers for Office.
I have a Table in which I need to use a GetPivotData function. I need to use a cell reference in that GetPivotData function. I have done this before with no problem in a normal cell range, but it seems like the syntax when using a Table screws
things up. Can anyone help me out here?
The GetPivotTable function would normally look like this if not in a Table.
=GETPIVOTDATA("[Measures].[Total Blocked Dollars]",'Sheet2'!$A$4,"[Dim Prod Ctrl No].[By Prod Ctrl No]","[Dim Prod Ctrl No].[By Prod Ctrl No].&[18418]")
That formula sits in a column called "Block" in my Table. The 18418 sits in a column called "ID" in my table. So what I have tried is:
=GETPIVOTDATA("[Measures].[Total Blocked Dollars]",'--Report Blocks--'!$A$4,"[Dim Prod Ctrl No].[By Prod Ctrl No]",concatenate("[Dim Prod Ctrl No].[By Prod Ctrl No].&[",[@[ID]],"]"))
I have tried a few combinations like this but I can't seem to use a cell reference from a table (which requires the [@[field]] syntax) to work with the GetPivotData.
Any ideas?
Thanks!That's not the issue. The GETPIVOTDATA function is actually IN a table. The arguments for the GETPIVOTDATA function need to reference a cell/column in the table, and it's only PART of the argument that needs to be replaced. In the example
below the 18418 needs to be replaced with the data in the same row of the table in a column named ID.
=GETPIVOTDATA("[Measures].[Total Blocked Dollars]",'Sheet2'!$A$4,"[Dim Prod Ctrl No].[By Prod Ctrl No]","[Dim Prod Ctrl No].[By Prod Ctrl No].&[18418]")
Does that clarify any?
Thanks for the response!
Maybe you are looking for
-
Print Quality Opions MIA!
I no longer have print quality options since I've upgraded to Leopard. I'm using an HP 930c and it would allow me before to select different qualities such as black and white, draft as well as make presets. I can't seem to find any answers on this. I
-
Thumbnails won't open and images won't import
I firewire transfered my files from my i-book to my new i-mac g5. All the thumbnails are viewable but I can't open them, i just get that spinning wheel. Furthermore, all image files that i try to import into i-photo either by dragging and dropping or
-
OBIEE 11g 11.1.1.6.0 to upper version Patch install problem
Hi when am trying install the patch for obiee11g 11.1.1.6.0 to upper version i facing this problem OPatch Version : 11.1.0.9.0 OUI Version : 11.2.0.1.0 The OUI version is not applicable for current OPatch version. OPatch failed with error code = 1 i
-
Problem in Customer Master data
Hio friend I need some examples what type of problems or issues or ticket comes at clients in Customer Master data maintenance. If possible send some scnerios with solution also how it was solved. Thanks Raj
-
I have tried to install itune upteen times with no luck
Hello all...I am really getting frustrated with the install of itunes on my windows 7 64bit machine...It goes all the way through the install till the end...and says "itunes cannot delete the old version of itunes and install cannot happen..." I have