Perspective - designed paper on a table
I would like to take designed invitations (some have photos, some graphics, all have text) and give them a perspective to look as if they have been printed and are sitting out to be viewed, like on a table. I have reviewed some perspective tutorials, and understand that feature somewhat. A few problems I'm having.
When I place the invitation on the horizontal plane it angles it to the left or right, when I really just want it to lay directly in front (without a rotation).
Invitations with jpgs won't go into perspective.
What is the best way to accomplish this look? Is it best done in photoshop? I prefer illustrator--because I'm more familiar with it, but will do it in whatever program will give me the best look.
You are welcome, shjaredarj.
Wrapping it in an Envelope should enable you to send even a raster image to the table surface (I was too slow editing post #2).
My description may have been a bit too woolly:
You should ClickDrag horizontally towards the middle of the top segment of the rectangle, not the centre of the rectangle.
And let go of the mouse before letting go of the keys
I hope you will report your findings.
Similar Messages
-
Suggestions On Table design - Usage of Nested Tables.
Hi All,
DB Vesion - 10.2.0.1.0
We have an existingtable say, REPORT_MASTER with more than 4 Million records.( 27 Columns )
Now the requirement is as follows: Every day, a job has to run to upadte each row in the REPORT_MASTER table. ( COLUMNs to be updated are new columns -to be designed)
Rules for the updation are generated dynamically depending on a parameter table.
In total, more than 500 update statement will run for updating the whole table (it is not possible reduce the number of updations). Now after the updation the records in the table will be like
ExistingColumns NewColumn1 NewColumn2 NewColumn3 ........
........ BRF01.1 BRF02.5 BRF03.1 .......
........ BRF01.3 BRF02.1 BRF03.2 .......
........ ...... ...... ...... ......First few updates, for example will update "NewColumn1". Next few updates will update "NewColumn2" and so on..
Now My Query is about designing the new columns:
1.If I did as the above sample output there should be 37 new columns as per current requiremnent. It can increase when new report is required.
2.If I go for a Nested Table, my concern is about the update statement. Is there any way to achieve the below code..
update report_master
set new_nested_tab_col(5) = 'BRF02.6'
where .....
And also how will be the performance?
3.If I go for a detail table, it will have a size of almost 37 times that of master_table.
I have to loop through this table (ofcourse with joining to the master table) 37 times again afetr updation for report generation. (This is required anyhow, but here data volume is high)
4. Other methode, ofcourse not very professional, is to keep a single varchar2 column and update that column, so that it will have value like
BRF01.1,BRF02.3,BRF03.1....
Or any other better alternative..?
Please suggest.
Thanks in advance,
Jeneesh
Edited by: jeneesh on Apr 13, 2009 11:36 AM
Update statements will be like as follows, if the basic design is selected :
update REPORT_MASTER set NEW_COLUMN1 = 'BRF01.1' where dynamic_condition1 and NEW_COLUMN1 is not null;
update REPORT_MASTER set NEW_COLUMN1 = 'BRF01.2' where dynamic_condition2 and NEW_COLUMN1 is not null;
update REPORT_MASTER set NEW_COLUMN2 = 'BRF02.1' where dynamic_condition25 and NEW_COLUMN2 is not null;
...Edited by: jeneesh on Apr 13, 2009 12:40 PM
Taking it to front....
Edited by: jeneesh on Apr 14, 2009 8:37 AM
Still I am not comfortable to use 37 columns..APC wrote:
Not sure what you're expecting from us. I'm afraid you haven't explained your scenario clearly, so it's difficult to offer design advice. I will try to explain better:
Basically, requirement is to generate 37 (BRF01 to BRF37) reports from the table CRB_OUTPUT_VIEW_TAB.
(This is the Master Data Table - In the original thread I have mentioed it as REPORT_MASTER).
Each report needs to apply different rules. For this, a RULE table(Parameter table) is provided.
Master Data Table
SQL> desc crb_output_view_tab
Name Null? Type
COMPANY VARCHAR2(240)
GLNO VARCHAR2(144)
CURRENCY VARCHAR2(15)
CUSTOMER_NAME VARCHAR2(240)
ACC_DEAL_NO VARCHAR2(29)
FCY VARCHAR2(18)
LCY VARCHAR2(18)
INT_EXH_RT NUMBER
VALUE_DATE VARCHAR2(10)
MAT_DATE VARCHAR2(10)
CUSTOMER VARCHAR2(50)
BRANCH VARCHAR2(25)
INT_BASIS VARCHAR2(10)
OGLKEY VARCHAR2(207)
SECTOR VARCHAR2(6)
INDUSTRY VARCHAR2(6)
TARGET VARCHAR2(2)
RESIDENCE VARCHAR2(2)
NATIONALITY VARCHAR2(2)
REPORT_DATE VARCHAR2(11)
GL_DESC VARCHAR2(50)
PORTFOLIO VARCHAR2(10)
LOAN_TYPE VARCHAR2(10)
EXH_RT NUMBER
BLSHEET VARCHAR2(50)
SOURCE CHAR(3)
CATEGORY VARCHAR2(6)
BRF_CODE VARCHAR2(20)
DR_CR VARCHAR2(6)
NA VARCHAR2(6)
Rules - Master Table
SQL> select * from brf_parameters order by brf_id,seq;
PARAM_ID BRF_ID SEQ BRF_CODE COLUMN_NAME DATA_TYPE
2 BRF01 1 BRF010001 GLNO CHAR
1 BRF01 1 BRF010001 CURRENCY CHAR
3 BRF01 2 BRF010002 GLNO CHAR
4 BRF01 3 BRF010006 GLNO CHAR
6 BRF01 4 BRF010008 GLNO CHAR
5 BRF01 4 BRF010008 RESIDENCE CHAR
390 BRF02 1 BRF020001 RESIDENCE CHAR
391 BRF02 1 BRF020001 BRF_PARENT CHAR
392 BRF02 2 BRF020002 RESIDENCE CHAR
393 BRF02 2 BRF020002 INDUSTRY CHAR
394 BRF02 2 BRF020002 BRF_PARENT CHAR
Rules - detail Table: (Linked to brf_parameters by param_id)
SQL> select * from brf_param_values where param_id in (1,2);
PARAM_ID CONDITION VALUE1 VALUE2
1 IN AED
2 IN 0010
SQL> ed
Wrote file afiedt.buf
1 select p.seq,p.brf_id,p.brf_code,p.column_name,v.condition,v.value1,v.value2
2 from brf_parameters p,brf_param_values v
3 where p.param_id = v.param_id
4* order by p.brf_id,p.seq,p.param_id
SQL> /
SEQ BRF_ID BRF_CODE COLUMN_NAME CONDITION VALUE1 VALUE2
1 BRF01 BRF010001 CURRENCY IN AED
1 BRF01 BRF010001 GLNO IN 0010
2 BRF01 BRF010002 GLNO IN 0010
3 BRF01 BRF010006 GLNO IN 0030
4 BRF01 BRF010008 RESIDENCE IN AE
4 BRF01 BRF010008 GLNO IN 0040
5 BRF01 BRF010009 GLNO IN 0040
6 BRF01 BRF010004 GLNO IN 0050
6 BRF01 BRF010004 CATEGORY IN 5001
6 BRF01 BRF010004 DR_CR IN Debit
7 BRF01 BRF010049 DR_CR IN Debit For genarating the report BRF01 :
Updation will be done based on each "SEQ" value shown above. So..
Ist update: (Generated from SEQ = 1 for BRF_ID = BRF01)
update crb_output_view_tab set new_brf_code_column = 'BRF010001'
where currency in ('AED') and GLNO in ('0010');
--This is sample. it will be like : GLNO in ('0010','0040','0056'.....)IInd update: (Generated from SEQ = 2 for BRF_ID = BRF01)
update crb_output_view_tab set new_brf_code_column = 'BRF010002'
where GLNO in ('0010')
and new_brf_code_column is null;..... And so on.
The data in the "new_column" is required for report generation.
After all the updations the report "BRF01" (through UTL_FILE) will be generated.
After that updation for BRF02 will be performed and report will be generated.
I have to store the data for all BRF01,BRF02.. because these are used for online reports which are accessed from Discoverer also.
What changes are you making that has lead to you considering nested tables or child tables? I have explained in detailed manner above. (Please revert if not clear)
Why would a detail table be 37 times as big as one table? I was thinking of adding a PK to "crb_output_view_tab" and a new detail table like
pk_from_crb_output_view_tab NUMBER
brf_id VARCHAR2
brf_code VARCHAR2Now here the number of rows will be 37* number_of_rows_in_crb_output_view_tab
Big in which dimension(s)? I have to join the master table and new_detail_table for each report generation
What drives the design - the updating of REPORTS_MASTER or the application which uses the updated data?The time for updation and daily generation of 37 reports (We can ignore the performance of discoverer reports)
Thanks,
Jeneesh -
Design question - add another table or another column?
Hi there,
quick design question:
I have the following tables:
Traveler
CreditCard
Group
A traveler is going with group X and pay (creditCard) with Y. he can go on multiple groups and can pay with Y or Z...
my question is this:
should I make another table CrditCard_Group which will have the following columns:
user_id
group_id
creditCard_id
or simply to have in the creditCard table another column: Group_id
thanks for any adviseThis is not JDBC nor Java, it's database modeling.
Said this, the answer is: it depends; if you have to record the fact that a traveler belonging to a group pays with credit card X you need the table with three ids. If you just need to record the traveler using a credit card and the traveler belonging to a group you need two tables each with the two ids. -
How to design fact and dimension tables
Hi Team,
Please provide me some useful links!!
I have a Parent & Child table each has around 8 Million records (1 to many relation). These two tables need relation with many other master tables to generate any report.
I want to desing a fact and dimension(s) for this parent & Child tables.
Please help me what are the things I have to keep in mind when desingning datawarehouse fact and dimension tables?
Thanks,
AliHi, any update on this?
-
Web Application designer : computation on two tables ?
Hello .
I have 2-4 queries in same web template.
Can i compute using between cells of two queries using some class.
I know of a class CL_RSR_WWW_MODIFY_TABLE using which
i can modify contents of same table for formatting needs.
Is there some way to compute between cells of two tables
Regards
DeepaliHI Deepali,
This is not that easy. And you need to do a lot of coding, which is not supported by SAP. But i will describe it in upper level.
In the Table where you want to add foreign Data, create a modify Class. The modify has a method called init. redifine that method. This method has as importing paramter a reference to class called cl_rsr_www_page.
This Class contains all objects of page. This class has a method called GET_PAGE_OBJETCS. Here you can get a refrence to the other data_provider which is most of the time of type cl_rsr_www_view. The view class has public attribute n_r_request of type cl_rsr_request. this class has a attribute N_SX_OUTPUT which is a structure of type RRX1_SX_REQUEST_OUTPUT. Which contains the query result. Here you can get the value of the other cell which should be inserted.
Now redifine the methods of the write the value in a specific cell , eg. DATA_CELL.
i hope this helps.
best regards,
Kai wachter -
I would like to request some design assistance/recommendations. We are using Oracle 9i (soon to go to 10g) with both a Delphi Client/Server front end and a VS .Net Web Application. Here is the scenario:
We have a contracts application used by the Air Force and they need to add much more detailed funding data about the contracts. Basically a contract can be funded by one or more funds types (imagine different checking accounts). These funds types can be broken out in a hierarchical manner. Here is an example:
Parent Fund
Child Fund1
Child Fund 2
Child Fund 3
AFCEE
AF BRAC Overhead
Technical Assistance
Program Management
AF BRAC Project
Base ABC
Base DEF
Base GHI
AF Restore Act
ERPIMS
Technical Assistance
Air Force
11WG
AF O&M
BA01
BA02
AF BRAC Project
Base ABC
Base DEF
Base GHI
ACC
AF O&M
BA01
BA02
BA03
BA04
AF BRAC Overhead
AF BRAC Project
Base ABC
Base DEF
Base GHIUsing the information above, Contract XYZ can receive Technical Assistance funding from the AFCEE/AF BRAC Overhead funding pool and also from the AFCEE/AF Restore Act funding pool.
When the Project Manager enters the data, initially they may only know they are getting AFCEE funds and later on find out exactly what kind it is. Also Sr. Management is going to want reports that aggregate the dollars by fund type and as you can see in the example above, there are 3 AF BRAC Project funds types each with a different parent. I am going to meet to get a few more details on the Sr. Management report requirements. By the way, there are just under 3000 fund type combinations currently identified but it could easily go over 5000.
I am considering two possible table designs for the lookup table to store this information.
DESIGN 1
Fund_Type_Seq NUMBER PK
Fund_Type_Code VARCHAR2(25) Not Null
Parent_Fund_Type_Code VARCHAR2(25) Null
Fund_Type_Desc VARCHAR2(500) Null
DESIGN 2
Fund_Type_Seq NUMBER PK
Fund_Type_Root VARCHAR2(25) Not Null
Fund_Type_Child1 VARCHAR2(25) Null
Fund_Type_Child2 VARCHAR2(25) Null
Fund_Type_Child3 VARCHAR2(25) Null
DATA TABLE DESIGN (Design of table holding Fund Type data for a contract)
Contract_Seq NUMBER PK
Fund_Type_Seq NUMBER PK
Funded_Dollars NUMBER(12,2) Null
And a couple other columns always in data tables in our system.The reason for the DESIGN 2 is that from a UI perspective, just showing “AF BRAC Project” 3 times without showing its lineage (so to speak) will not be useful to the PM and I am not sure of how to display a fund types entire lineage using design 1 (Possibly using a tree view and using the Connect By Prior / Start With SQL command structure).
So…Any suggestions, recommendations (and telling them that they are insane, while tempting, is unfortunately, not an option).
Thanks
Richard AndersonThanks, I was leaning towards the first Design. What I was wondering about was exactly how to query the data. Basically we will have a Contract Table, the Contract_Funding table (a child to contract) and the VVL_Fund_Type table (the Design 1 table). The user will want to pick one or more fund_types as filters to the report. Here is one select statement I came up with (haven't tested it as there are no funding tables). Am I on the right track?
Select c.contract_number,
c.contract_obligated_amount,
c.contract_obligated_date,
ft.Fund_Type_Code,
cft.funded_dollars
from contract c,
VVL_Fund_Type ft,
Contract_Funding cft
where c.contract_seq = cft.contract_seq
and cft.funding_seq = ft.funding_seq
and ft.fund_type_code in (SELECT fund_type
FROM VVL_Fund_Type
start with fund_type in (select vft.fund_type_code
from vvl_fund_type vft
where vft.Parent_Fund_Type_Code = 'AF O&M'
connect by Parent_Fund_Type_Code = prior Fund_Type_Code)
OR
Fund_Type_Code = 'AF O&M')The 'AF O&M' may actually be a whole set of fund types in which case I would have to use an " in ('xyz, 'abc', etc) clause. The real problem will be if they view the AF O&M code associated with the 11WG as different from the AF O&M code associated with ACC. If that is the case (and I am meeting tomorrow to find out), I haven't a clue as to how to write the query other than maybe using a fund_type_seq in (123, 8378, 2828, 2987) clause.
Thanks Richard Anderson -
Best Practice for Designing Database Tables?
Hi,
I work at a company for tracking devices (GPS Devices). Our SQL Server database is designed to have a table for each device we sell, currently there is 2500 tables in our database and they all have the same columns they only differ in table name. Each device
sends about 4K records per day.
currently each table hold from 10K records to 300K records
What is the best practice to design a database in this situation?
When accessing database from a C# application, which is better to use, direct SQL commands or views?
a detailed description about what is best to do in such scenario would be great.
Thanks in advance.
Edit:
Tables columns are:
[MessageID]
,[MessageUnit]
,[MessageLong]
,[MessageLat]
,[MessageSpeed]
,[MessageTime]
,[MessageDate]
,[MessageHeading]
,[MessageSatNumber]
,[MessageInput]
,[MessageCreationDate]
,[MessageInput2]
,[MessageInput3]
,[MessageIO]Hello Louis, thank you so much for your informative post. I'll describe in detail what situations I came through my 9 months of work in the company (working as a software engineer, but I am planning to take over database maintenance since no one is maintaining
it right now and I cannot do anything else in the code to make it faster)
At every end of the month our clients generate report for the previous month for all their cars, some clients have 100+ cars, and some have few. This is when real issue start, they are calling their data from our server through internet while having 2000
unit sending data to our server, they keep on getting read time out since SQL Server gives priority to insert and hold all select commands. I solved it temporary in the code using "Read Uncommitted" once I initialize a connection through C#.
The other issue is generating reports for a month or two takes lots of time when selecting 100+ units. Thats what I want to solve, the problem is the one who wrote the C# app used hard coded SQL Statements
AND
the company is refusing to upgrade from SQL Server 2003 and Windows Server 2003.
Now talking about reports, there are summary reports, stops reports, zone reports ..etc most of them depend usually on at least MessageTime, MessageDate, MessageSpeed, MessageIO and MessageSatNumber.
So from your post I conclude that for now I need to set snapshots so that select statements don't get kicked out in favor for insert commands, but does SQL Server automatically select from the snapshots or do I have to tell it to do so?
Other than proper indexing what else I need? Tom
Phillips suggested Table partitioning but I don't think it is needed in my case since our database size is 78GB
When I run code analysis on the app, Visual Studio tells me I better use stored procedures, views than using hard coded Select Statements, what difference will this bring me when talking about performance?
Thanks in advance. -
PayPal buttons inside table scramble Design View in DW CS5.5
I developed my web site using Dreamweaver 8:
http://www.harmonize.com/hatleymusic/classic.html
As you see, I have PayPal buttons inside table cells. I did this using Design View, putting the insertion point in the table cell, going to code view, and pasting the PayPal button code at the insertion point. This all worked fine.
I just upgraded to DW CS5.5. and now when I try to use the same procedure, the Design View image gets scrambled after I paste the button code in code view. The table format is no longer in place, and I can no longer see where the cells of the table are. However, when I go to Live View, everything looks fine including the table and the buttons.
Can anyone tell me how to overcome this problem? As it stands, I cannot use DW to work on my web site, which is a major problem for me.
Thanks.How do I get someone to respond to my question here?
Let me try again.
With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable. Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution? If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Now go back to Design view and see how it looks. If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it. Of course, I can't design in Live View.
PLEASE can someone out there help me.
Many thanks. -
Unable to create Tables in design view
One of the two problems I am having (the other will also be
posted) is that I am no longer able to use Design View to Insert
Tables at all - I get the following error message: (I made a
printscreen of the error but not sure how to embed the picture in
this post so here is the message verbatim).
"While executing objectTag, the following JavaScript error(s)
occured:
At line 26 of file "Macintosh HD:Applications:Macromedia
Dreaweaver 8:Configuration
bjects:Common:Table.htm":
Type Error: cmdDOM.parentWindow.createTableStr is not a
function"
I can create tables only if I type the html for them by hand
into the code pane. The file that the error message references does
exist, and appears to look fine (code-wise). I've also tried
uninstalling and reinstalling DW8, removing and recreating the
Configuration Folder as well as the site prefs and site definitions
- nothing has cured this problem.
I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
I am positive that I did not have this problem, or any of the other
current problems, with DW MX , and I installed DW8 as a stand-alone
app so that I could still use MX if needed. This and the other
problems don't occur with MX but I would really like to get them
solved because 8 offers other benefits that I want to be able to
use.
I'm wondering if anyone else has had this problem and managed
to find a fix for it.One of the two problems I am having (the other will also be
posted) is that I am no longer able to use Design View to Insert
Tables at all - I get the following error message: (I made a
printscreen of the error but not sure how to embed the picture in
this post so here is the message verbatim).
"While executing objectTag, the following JavaScript error(s)
occured:
At line 26 of file "Macintosh HD:Applications:Macromedia
Dreaweaver 8:Configuration
bjects:Common:Table.htm":
Type Error: cmdDOM.parentWindow.createTableStr is not a
function"
I can create tables only if I type the html for them by hand
into the code pane. The file that the error message references does
exist, and appears to look fine (code-wise). I've also tried
uninstalling and reinstalling DW8, removing and recreating the
Configuration Folder as well as the site prefs and site definitions
- nothing has cured this problem.
I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
I am positive that I did not have this problem, or any of the other
current problems, with DW MX , and I installed DW8 as a stand-alone
app so that I could still use MX if needed. This and the other
problems don't occur with MX but I would really like to get them
solved because 8 offers other benefits that I want to be able to
use.
I'm wondering if anyone else has had this problem and managed
to find a fix for it. -
Issues with Nested Tables and Adobe Designer
Hi,
I have some strange issues when I am trying to create a nested dynamic table with SAP DATA in Adobe Designer.
My Outer Table has article items and in this table I got a nested charges. For instance the table contains this data:
DATA
|->Article1
|--->charge111
|--->charge211
|
|->Article2
|--->charge122
|--->charge222
Now I am trying to display the data in a Adobe Designer table. But if I create a table with a row article and a repeating row charge all charges will be displayed under the first Article.
This is the result:
DATA
|->Article1
|--->charge111
|--->charge211
|--->charge122
|--->charge222
|
|->Article2
How can I solve this issue? I tried to select data binding on charges like article.DATA.charges.DATA[*] but this don't work.
Anyone an idea?Alex,
Is it print based form or interactvie form.
ABAP
If it is printbased form and if you are designing from SFP, you can use the following solution.
You have to create a nested table in the context as below.
say Table1-> Article ( fields: ARTICLENAME,....other fields) info Table2->cost info(fields:ARTICLENAME,Charge...,other fields).
The 2 tables should contains data as beow.
Table1 data.
1row->Article1 -.....other values.
2row->Article2 -.....other values.
3row->Article3 -.....other values.
Table2 data.
1row->Article1 -Charge11 .....other values.
2row->Article1 -Charge12 .....other values.
3row->Article1 -Charge13 .....other values.
4row->Article2 -Charge21 .....other values.
5row->Article2 -Charge22 .....other values.
6row->Article2 -Charge23 .....other values.
7row->Article3 -Charge31 .....other values.
8row->Article3 -Charge32 .....other values.
9row->Article3 -Charge33 .....other values.
In the context drag table2 into the table1 and define where clause on ARTICLENAME.
In the layout drag nested table in the body page and make alignments.
If your requirement is interactive, may be you can use the similar logic. -
How design transaction table for accounting system
Hi master;
Sir,
I making accounting system for garment factory chart of account table I design but
I confused in transaction table how I design make only one table
Such as
Trans
Ac_code
Date
V_no
Description
DR_amount
CR_amoun
Chequ_no
Or make transaction master detail style
Tran_master
V_no
Date
Description
Ac_code
Chequ_no
Tran_detail
S_no
V_no
Ac_code
Description
DR_amount
CR_amoun
But how I get ledger from both style please give me idea how I set transaction table
Or give I any sample application or sample code
Thanking You
AamirHi master;
Sir,
I making accounting system for garment factory chart
of account table I design but
I confused in transaction table how I design make
only one table
Such as
Trans
Ac_code
Date
V_no
Description
DR_amount
CR_amoun
Chequ_no
Or make transaction master detail style
Tran_master
V_no
Date
Description
Ac_code
Chequ_no
Tran_detail
S_no
V_no
Ac_code
Description
DR_amount
CR_amoun
ut how I get ledger from both style please give me
idea how I set transaction table
Or give I any sample application or sample code
Thanking You
Aamir
only one table voucher may have more then one invoice then i would go with master detail .
If you maintain one table how will you maintain more then one invoice's voucher.
Khurram -
Hello,
I am relatively new to BI and am wondering the pros and cons of a particular design of a fact table and associated dimensions. In the first case below the fact table would have one row with fields T, N, M for which the codes would come from a dimension
(the Tis etc just demonstrate the idea -- would normally be an integer key in place).
In the second case I have two dimensions - one for the Criteria (T,N, or M) and another table for the actual Criteria values. This approach would require numerous rows for each ID - again the fact table would just be populated with keys from the two
dimensions rather than the actual values seen below.
Is either of these just plain wrong or are both valid but one is better than the other?
Thanks kindly for any consideration.Hello Nimesh,
Thank you for the thoughts. Please see my replied below.
1. Will there be any other/Additional value needs to be added in future? (Except T,M,N)
There will initially be a set of values including T,M,N (more may be added in the future depending on
what new things international cancer research comes up with but for now these are pretty static)
2. What will be value if ID 1234 is not related to N or M?
There a whole bunch of other measurements that are taking in addition to N, M,and N. Typically, one sees a fact table as narrow but long. In this case since there are many different dimensions for staging a cancer the fact table could be 10 columns
wide AND long.
3. What is the relation between (T and Tis) or (N and N3)? Can it linked to One to many?
Tis only one possible value for the measurement T. There could be T1, Tx, T2 etc etc. These are all just types of T measurements. Same for N and M. One can say that if a patient has T of Tis, N of N3 and M of M0 then their cancer
stage is III.
4. If it's Dimension model, you can combine small dimensions into one dimension.
Do you have a specific example of this in mind or I can look at on a website? -
Custom Design rules on table partitions
Hi
I need to create several custom design rule at the table partition level.
for example one of the rule is that
for all table partitions
if a table partition name begins with M
then it should not be compressed
and also should not be in tablespace called xyzHow do i go about enforcing this rule using the design rulesHi,
here is simple example, you can improve it easily. In fact you have two rules and it's better to create two rules.
var ruleMessage;
var errType;
var table;
//define the function
function checkPartitions(){
ruleMessage = "";
model = table.getDesignPart();
tp = model.getStorageDesign().getStorageObject(table.getObjectID());
result = true;
if(tp!=null){
partitions = tp.getPartitions().toArray();
for(var i=0;i<partitions.length;i++){
partition = partitions;
if(partition.getName().startsWith("M") && "YES".equals(partition.getDataSegmentCompression())){
result = false;
ruleMessage = "Partition " + partition.getName()+" for table "+tp.getLongName()+ " cannot be compressed";
break;
tablespace = partition.getTableSpace();
if(tablespace!=null && "xyz".equals(tablespace.getName()) && partition.getName().startsWith("M")){
result = false;
ruleMessage = "Partition " + partition.getName()+" for table "+tp.getLongName()+ " cannot be in tablespace xyz";
break;
return result;
//call the function
checkPartitions();
you should define it for "Table" object. And your physical model should be open.
Philip
Edited by: Philip Stoyanov on Jan 10, 2012 4:53 AM -
Column RV_TYPE in table CG_REF_CODES in Designer 6i?
Hi,
We moved recently from Designer 6 to Designer 6i. When asked to generate the CG_REF_CODES table, Designer 6i created a table similar to the one we already had under Designer 6 except for column RV_TYPE which is missing.
Does anybody know if this a bug or is this column not needed anymore?
Thanks
Jean V.Sounds like a bug to me, but one thing you can check is the generator options that affect the reference code table. In the Design Editor select your application in the navigator, then the Options menu. Select "Generator Options...", then "General..."
One thing you might fool with is the File Name Length restriction - mine is blank, but then I tend not to use CG_REF_CODES, so I haven't generated them for quite a while. Try setting it to 30, which would be the right number for Oracle, or to 0, which is supposed to mean "no restriction". -
Design capture of hash partitioned tables
Hi,
Designer version 9.0.2.94.11
I am trying to capture from a server model where the tables are hash partitioned. But this errors because Designer only knows about range partitions. Does anyone know how I can get Designer to capture these tables and their constraints?
Thanks
PetePete,
I have tried all three "current" Designer clients 6i, 9i, and 10g, at the "current" revision of the repository (I can post details if interested). I have trawled the net for instances of this too, there are many.
As stated by Sue, the Designer product model does not support this functionality (details can be found on ORACLE Metalink under [Bug No. 1484454] if you have access), if not, see excerpt below. It appears that at the moment ORACLE have no urgent plans to change this (the excerpt is dated as raised in 2001 and last updated in May 2004).
Composite partitioning and List partitioning are equally affected.
>>>>> ORACLE excerpt details STARTS >>>>>
CDS-18014 Error: Table Partition 'P1' has a null String parameter
'valueLessThan' in file ..\cddo\cddotp.cpp function
cddotp_table_partition::cddotp_table_partition and line 122
*** 03/02/01 01:16 am ***
*** 06/19/01 03:49 am *** (CHG: Pri->2)
*** 06/19/01 03:49 am ***
Publishing bug, and upping priority - user is stuck hitting this issue.
*** 09/27/01 04:23 pm *** (CHG: FixBy->9.0.2?)
*** 10/03/01 08:30 am *** (CHG: FixBy->9.1)
*** 10/03/01 08:30 am ***
This should be considered seriously when looking at ERs we should be able to
do this
*** 05/01/02 04:37 pm ***
*** 05/02/02 11:44 am ***
I have reproduced this problem in 6.5.82.2.
*** 05/02/02 11:45 am *** ESCALATION -> WAITING
*** 05/20/02 07:38 am ***
*** 05/20/02 07:38 am *** ESCALATED
*** 05/28/02 11:24 pm *** (CHG: FixBy->9.0.3)
*** 05/30/02 06:23 am ***
Hash partitioning is not modelled in repository and to do so would require a
major model change. This is not feasible at the moment but I am leaving this
open as an enhancement request because it is a much requested facility.
Although we can't implement this I think we should try to detect 'partition by
hash', output a warning message that it is not supported and then ignore it.
At least then capture can continue. If this is possible, it should be tested
and the status re-set to '15'
*** 05/30/02 06:23 am *** (CHG: FixBy->9.1)
*** 06/06/02 02:16 am *** (CHG: Sta->15)
*** 06/06/02 02:16 am RESPONSE ***
It was not possible to ignore the HASH and continue processing without a
considerable amount of work so we have not made any changes. The existing
ERROR message highlights that the problem is with the partition. To enable
the capture to continue the HASH clause must be removed from the file.
*** 06/10/02 08:32 am *** ESCALATION -> CLOSED
*** 06/10/02 09:34 am RESPONSE ***
*** 06/12/02 06:17 pm RESPONSE ***
*** 08/14/02 06:07 am *** (CHG: FixBy->10)
*** 01/16/03 10:05 am *** (CHG: Asg->NEW OWNER)
*** 02/13/03 06:02 am RESPONSE ***
*** 05/04/04 05:58 am RESPONSE ***
*** 05/04/04 07:15 am *** (CHG: Sta->97)
*** 05/04/04 07:15 am RESPONSE ***
<<<<< ORACLE excerpt details ENDS <<<<<
I (like I'm sure many of us) have an urgent immediate need for this sort of functionality, and have therefore resolved to looking at some form of post process to produce the required output.
I imagine that it will be necessary to flag the Designer meta-data content and then manipulate the generator output once it's done its "raw" generation as a RANGE partition stuff (probably by using the VALUE_LESS_THAN field as its mandatory, and meaningless for HASH partitions!).
An alternative would be to write an API level generator for this using the same flag, probably using PL/SQL.
If you have (or anyone else has) any ideas on this, then I'd be happy to share them to see what we can cobble together in the absence of an ORACLE interface to their own product.
Peter
Maybe you are looking for
-
Can't scan now that my printer is wireless
I disconnected my C6380 All-in-One Printer from cables and have it connected via wireless. It prints fine, but I no longer get the Scan options when I go into Control Panel. I am on Windows 7 Ultimate 64-bit. Any suggestions out there? I have it
-
BI Foundation domain not visible in the EM after forms and Reports install
We installed OBIEE 11g successfully and it has created a domain i.e. bifoundation_domain. Whenever we used to login to EM and Weblogic Console, it was showing "bifoundation_domain". Yesterday we have further installed Oracle Forms/reports 11g server.
-
Good Day, I'm encountering this problem java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor here's the java code Class.f
-
Is it possible to have Keynote print 6 slides per page the way PowerPoint for Windows does (3 slides in each of two columns on the page), rather than 6 slides vertically along the left side of the page?
-
Spam term "number of hits"?
I am trying to understand this underpinning of combatting spam, referring to the "number of hits required before mail is considered spam." What does it mean? "Number of hits?" Thanks.