Is it possible to display one table on different sheets?
I'd like to use one table on different sheets.
On these sheets are also other tables, but one should be the same on each sheet.
Is this possible?
You can make one table refer to (take data from) another.
Here is a simple example where I made a table named "Source" and duplicated the table and named is "Destination-1".
the table "Destination-1" refers to table 1 like this:
A1=Source :: A1
copy cell A1 in the table "Destination-1" , then select ALL cells using the menu item "Edit > Select All", then paste
you may now duplicate this table to make additional "copies" as needed. To duplicate a table, select the table, then select the menu iten "Edit > Duplicate"
NOTE: you should be aware that data flows FROM the table "Source" to the destination tables-- NOT the other way.
Similar Messages
-
Create Foreing Key to one table in different dataBase
Hi, I need create a reference to one table in other database. I understand that Database Link can be used to connect me to other database but when I am creating the foreing key in my table, I can see only the tables in the schemas that have my data base not the other schemas. I created a connection with database link but I do not see the form to make reference to this connection from the create table wizard. I am using Oracle 9i and the client is 9.01.01.
Thanks in advance,
Mónica AlarcónWe cannot use tables in another table to enforce data integrity. This makes a lot of sense if you think about what would happen if the remote database goes down.
If you want to do this, then you need to use replication (materilaized view) to bring the parent table's data into the locaL database.
Cheers, APC -
Vlookup-trouble with tables from different sheet?
I have trouble getting vlookup to work properly, especially when I try to name a table from a different sheet. Being a long time excel user I am used to only click on the top left cell in the lookup table and Excel assumes that the entire table is the area you want to look up. How is this supposed to work in Numbers? There is some irony here:
I get a #ref error in Numbers when it looks like everything is OK and I try to copy my formula. It looks like this in the first row: =vlookup(B3;[table name]::$A$!:E506;3;0) but when I drag that downwards I get #ref for the lookup table - unable to see what the trouble might be. So I export the file to Excel, and then open the exported Excel-file with Numbers, and it works... Any suggestions?Hi aarild,
Here's a picture that may help:
Instead of clicking the top left cell of a table as in Excel it works better in Numbers 3.0 to select the entire columns as the range, in my example $Name:$Amount.
Unlike in Excel, generally you're better off structuring your data in tables with a Header Row (and perhaps Header Column) and then body rows with no blank rows beneath them, and perhaps a Footer Row.
That way you can refer to the ranges in your formulas similar to the way you would use named ranges in Excel.
SG -
Is it possible to commit one table, while other are rolleded backed
Hi to all,
I am working on a report that calls a package which populates some tables dynmically, after the report is done it does a rollback.
I want to capture the data it populates in one of the tables, I have created a temp table, a procedure which populates the data before it does a rollback.
My question is, when the rollback happens will mydata from the table will be rollbacked, if I do a commit in the procedure which inserts into my temp table will the data populated in others be committed too, in which case it will create a lot of problems. I cannot see the code of the package as how many tables are getting populated.
Can I possible do a commit just for my temp table?
Thanks to allThanks,
Actually I created a procedure like this.
PROCEDURE insert_temp_tables IS
v_temp_fin_r3licrpt_count number;
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
SELECT COUNT(*)
INTO v_temp_fin_r3licrpt_count
FROM temp_fin_r3licrpt;
IF v_temp_fin_r3licrpt_count > 0 THEN
DELETE FROM temp_fin_r3licrpt;
END IF;
INSERT INTO temp_fin_r3licrpt
SELECT *
FROM fin_r3licrpt;
COMMIT;
END;
I tested this in SQLPlus and it works fine it commits only the SQL in the transaction and all other statements remain uneffected. But the problem is that when I created the procedure in reports I got this error.
Procedure Body: INSERT_TEMP_TABLES, 1 Error
Error 127 at lines 5, column 8
PRAGMA AUTONOMOUS_TRANSACTION is not a supported pragma
we are using Oracle 6i reports, could this be problem.
What was your suggestion by
anonemous transaction procedure;
Can you brief about this...
Thanks again..
Habeeb -
Transfer from Subtotal in one table to another sheet.
Hi, about a year ago i made a salary application for my production company. This works quite well, but when I supposed to report amounts for each employed to the swedish tax authorities I am still not automatic because I haven't solved how to transfer a subtotal sum to a specific cell in another sheet. I am sure that this has been discussed earlier, but in the searches I have done I can't find a similar question. So if someone has an idea where to look or knows if it is possible.
What I would need is to have a formula like LOOKUP (I guess that is the english formula for looking up references) or similar so that I can identify a Subtotal for a specific class of rows (i.e. salaries for one person).Thanks for the reply. If I understand you correctly the approach is simple an genial. I am all the time using and thinking within the frame of the elegant sorting functions that you find in the tables. Very easy to use when you need a quick result, though as far as I can see impossible to bring with you. But of course just put the conditions i a Sum.if. Simple!
Thanks.
Leif -
Proper use of one table in different business areas
Hi
We will be using certain DB tables in several business areas and we are more than one person to define them.
If a table is loaded from the database for each of the business areas it will be numbered 'table 1, 2...' which does't seem very desirable. Also I'd rather define hiearchies only once and for all.
If a table is loaded only once and used for all the business areas all the joins which are necessary in the different business areas are shown. This will be confusing. If one of us considers a certain join unnecessary he might accidentially delete the wrong one belonging to a different business area.
Exporting the business areas including the joins regularly is probably not a great help if afterwards new joins for other business areas were added.(?)
Am I misunderstanding the concept of Discoverer?
How do you handle such a situation?
Advice appreciated
FranziskaHi Michael, et al,
I'm just planning my EUL and your comments in the last post seem relevant.
My general plan is as follows:
(1) Create a BaseMaster BA which is used to bring and tables/views from the database into disco. The folders in here will be created with "New Folder from database" and be fairly straightforward, with only very simple calculations and no aggregations in calculations. The joins will echo the joins in the underlying database. This is not shared with Users.
(2) Create a CustomMaster BA which contains Custom Folders which consist of various SQL views of the database. The SQL in these may use have some more complex calculations and these calculations may include aggregation. This will not be shared with users.
(3) Create a CentralMaster BA which contains Complex Folders which are assembled from items from the BaseMaster BA and the CustomMaster BA. These folders may include more complex calculations and the calculations may include aggregated items.
(4) Create a number of User BA's. Using Manage Folders, share the relevant Folders from the Central Master.
I've got a few questions relating to this.
(a) Custom Folders based on Folders
It would seem nice to me if it were possible to create Custom Folders which were based on other Folders, rather than Database Views. Then, even if you need a view and a complex transformation of that view in your business area, you still only have one place where the EUL brings that view into disco. My understanding is that this is not possible. Am I right? I suppose there could be an argument that complex transformations should be pushed back to the DBA but it seems reasonable to me that sometimes this sort of thing could be within the remit of the disco admin?
(b) SQL Efficiency
Am I right in thinking that generally a complex folder is usually not much less efficient than using a base folder because the SQL interpreter ends up optimising the SQL?
And a last question which has turned out rather complex - by all means ignore it if you like - it's me getting to grips with the process.
(c) Nested Complex Folders
I presume that if a transformation is needed which would in a normal database environment would need a mainquery and a subquery, then this could be done in a
number of ways (adhering to the above methodology) by:
(i) Get the DBA to write a view which does both mainquery and subquery and then bring into the BaseMaster and then straight into the CentralMaster folder.
(ii) Get the DBA to write the subquery, bring this into the BaseMaster and then implement the mainquery in the CentralMaster.
(iii) Create a Folder in CustomMaster which implements both mainquery and subquery and then bring this into the CentralMaster folder.
(iv) Create a Folder in the CustomMaster which implements just the subquery and then implement the main query in the Central Master.
If you've got this far - thankyou for baring with me.
Perhaps there's something written about this sort of thing or maybe it's just a matter of practice!
Any thoughts on all this would be much appreciated.
Kind regards
Suhada -
Is it possible to use a table in the sheet footer in Numbers '09?
Hello there.
I can't find a way to to that. In Pages '09 it is indeed possible and very simplie and intuitive. The very same approach doesn't work for me in Number. Is it possible at all?
Thanks in advance.You can not place a table in the header/footer in Numbers
-
I have recently changed from Excel to numbers and i can't work out how to change cells. I have a sheet for each month, on that sheet i have all my outgoings on a daily basis. Those cells are the same in every table. In Excel i could hold shift and click the tab for each month and then change the information in all those cells. Can i do this in Numbers, if so how?
This is not a feature of Numbers.
-
Data Pump -Importing one table index
Is it possible to import one table index alone(any table ex emp ) .If it can be how should the param should look like ..
Thanks and Regards
harrisI can't think of anything that would prevent this from working. You just need to make sure that the large table does not have any ref constraints, or other associations with the other tables that may get screwed up while the other users are using the database.
Dean -
Display Data from multiple models in one table
Hi Experts,
Is it possible to display data from multiple models in one table smltnsly.
I have created a table dynamically.Now I would like to display data from multiple models... If this possible,can anyone give me a lead as to how to do it..
Regards
SUHi
Your Model Nodes be
Model1
---Output_Model1
Attrib1
Attrib2
Model2
---Output_model2
Attrib1
Attrib2
and the value node is
ValueNode
---Attrib1
---Attrib2
Now the coding.
int size;
IPrivate<ViewName>.IOutput_mode1Node node1 = wdContext.nodeOuptut_Model1();
IPrivate<ViewName>.IValueNodeElement elem;
size = node1.size();
for(int i=0; i<size; i++)
elem = wdContext.createValueNodeElement();
elem.setAttrib1( node1.getOutput_Model1ElementAt(i).getAttrib1() );
elem.setAttrib2( node1.getOutput_Model1ElementAt(i).getAttrib2();
wdContext.nodeValueNode().addElement( elem );
similar code for Model Node 2
Regards
Abhimanyu L -
I want to display the 3 different counts in one table
Hi,
I have three different counts , now I want to display the 3 counts in one table. Is it possible,
For example :
1. Select count(*) from table1 ;
Ans : 10
2. Select count(*) from table2;
Ans : 20
3. Select count(*) from table3;
Ans : 30
Now I want to display like this
A 10
B 20
C 30
ThanksNihar,
You can write a pl/sql block to achieve this
CREATE TABLE new_table (table_name VARCHAR2 (30), COUNT NUMBER);
DECLARE
CURSOR mcur
IS
SELECT table_name
FROM user_tables
WHERE table_name IN ('A', 'B', 'C');
v_sql VARCHAR2 (100);
v_count number;
BEGIN
FOR x IN mcur
LOOP
v_sql := 'select count(*) from ' || x.table_name;
EXECUTE IMMEDIATE v_sql INTO v_count;
INSERT INTO new_table
VALUES (x.table_name, v_count);
END LOOP;
COMMIT;
END;
select * from new_table;Regards -
How to display multiple data from different table in one table? please help
Hi
I got sun java studio creator 2(the separate installation not the one in the net beans)....
My question is about displaying data that have been taken from the database.... I know how to display data in a table(just click on the table "bind data" )... but my question is that:
when i want to use a sql statement that taken the data from different table...
how can i display that data in the table(that will be shown in the web) ??? when i click bind data on the table i can only select one table i can't select more than one....
Note:
1) i'm using the rowset for displaying the data in the table, since the sql statement is depending on a condition(i.e. select a from b where c= ? )...
2) i mean by different table is that( i.e. select a from table1,table2 )..
thanks in advance...Hi,
937440 wrote:
Hi every one, this is my first post in this portal. Welcome to the forum!
Be sure to read the forum FAQ {message:id=9360002}
I want display the details of emp table.. for that I am using this SQL statement.
select * from emp where mgr=nvl(:mgr,mgr);
when I give the input as 7698 it is displaying the corresponding records... and also when I won't give any input then it is displaying all the records except the mgr with null values.
1)I want to display all the records when I won't give any input including nulls
2)I want to display all the records who's mgr is null
Is there any way to incorporate to include all these in a single query..It's a little unclear what you're asking.
The following query always includes rows where mgr is NULL, and when the bind variable :mgr is NULL, it displays all rows:
SELECT *
FROM emp
WHERE LNNVL (mgr != :mgr)
;That is, when :mgr = 7698, it displays 6 rows, and when :mgr is NULL it displays 14 rows (assuming you're using the Oracle-supplied scott.emp table).
The following query includes rows where mgr is NULL only when the bind variable :mgr is NULL, in which case it displays all rows:
SELECT *
FROM emp
WHERE :mgr = mgr
OR :mgr IS NULL
;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL it displays 14 rows.
The following query includes rows where mgr is NULL only when the bind variab;e :mgr is NULL, in which case it displays only the rows where mgr is NULL. That is, it treats NULL as a value:
SELECT *
FROM emp
WHERE DECODE ( mgr
, :mgr, 'OK'
) = 'OK'
;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL, it displays 1 row. -
How many trigger possible on one table?
How many trigger possible on one table?
Hi,
shiv kumar wrote:
How many trigger possible on one table?There's no limit.
If you have more than one trigger that fires at the same time (for example "BEFORE INSERT OR UPDATE ... FOR EACH ROW"), ask yourself why you want or need 2 separate triggers, rather than one (which maybe calls two sparate procedures). -
Possible for POJO to have a set of children with only one table?
I have a situation that I'd like to model with Hibernate, but I'm not sure how to proceed.
I've got two objects: Filter and Criterion. Filter has a java.util.Set of Criterion children.
I currently have a schema with two tables: FILTERS and CRITERIA. The FILTERS table has nothing more than a primary key. CRITERIA has a foreign key relationship with FILTERS. I have a FilterDAO that will query the FILTERS table and bring back a Filter object that will use the one-to-many, parent-child relationship between the two tables to populate the Set.
A DBA here has pointed out that the FILTERS table is anemic - it has nothing more than a primary key. She suggested that I eliminate it and go directly against the CRITERIA table to populate that Set.
I'm so used to thinking about these things in terms of primary/foreign key relationships that I'm not seeing how to accomplish this with Hibernate. Is it a mere <set> declaration that populates the child java.util.Set<Criterion>? The WHERE clause would have to include a filter type. Is that where the JOIN has to come? Is the two table schema absolutely necessary, or can I get away without it?
Hibernate allows the object model to be more fine-grained than the schema. The classic example is a PERSON table that has address information it in. I can model this on the object side using Person and Address classes and ask Hibernate to fetch the Address state as a component. Is this the same situation as my Filter and Criterion?
Sorry if I sound confused, or if the question rambles. I guess I don't understand Hibernate well, because any time I get off the beaten path I fall into a hole.
%Well, you're more advanced than me with Hibernate. I'd be very surprised if that were true, DrClap. 8)
I can't even get one-to-many relationships working the
way I'd like, every time I think I have it right
(i.e. just the same as the examples) it gives me some
guff about backreferences not existing.I'm finding Hibernate to be a bit difficult, especially when I don't have control over the schema. Our DBAs don't seem to follow all the "best practices" that Hibernate recommends.
So my advice might not be the best. But if you don't
have the Filters table, but you still need to get all
the Criterions with "filter key" = x, then isn't that
just a Query? Sure, you get the data back as a List,
but you can wrap that in a Set pretty easily.I've gone back to the DBA and concluded that we have to have a FILTERS table (there's a FILTER_TYPE descriptor field that I've added). It's back in, so the 1:m with CRITERIA should work fine.
But it begs the question: Does Hibernate and O/R mapping demand at least one table per object?
If I look in "Hibernate In Action" on page 92, it says "A major objective of the Hibernate project is support for fine grained object models" - more classes than tables. There should be an adjective "persistent" applied to classes in that phrase, because I can have many more classes that are not persisted.
So I take this to mean that the limit is one persistent class per table, but never less. True?
% -
Automatic Payment program -line item cleared not displaying in table
automatic Payment program -line item cleared not displaying in table
i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
Can some one please guide me on this.Hi Priyanka,
First, which table are you referring to. If your fist APP run clears the line item, it will no longer be available in the open item.
Please be more specific on the problem so that we can try to help you. If possible, please provide screenshots.
Regards,
Ganesh
Maybe you are looking for
-
I am signed into the App Store on my iphone 4 and one of my apps need updating and my brother is signed into it because I didn't have any credit to make an ID so he signed in so I could download apps but its like its locked to his Apple ID I have tri
-
My husband and I traded phones a week ago. Now I have my phone back. So when I got my # back I tried to recall all my stored data via icloud but nothing except contacts was retrieved. At ATT they said they could tell that I have over 200 photos bu
-
Openbox menu etc doesn´t show [SOLVED]
Hi, I really need some help here. I can´t figure out what the hell is wrong with my openbox. I had it running smooth, and because Im new to Linux and Arch I played around I guess and configured. Somehow I guess I have configured somesthing totally wr
-
Installation of oracle8i (8.1.7) on linux 6.2
hello, This is regarding installation of oracle8i(8.1.7) on redhat linux6.2. We are facing problems at the begining step of creation of "oracle" user accout & "dba" group. Even though we are successfull in creating user & group we are not able to pro
-
Hi All, DB version is 10.2.0.4 An insert statement is running for almost 14 hours now. The wait event shows direct path read temp SID EVENT WAIT_TIME SECONDS_IN_WAIT P1 P2 1264 direct path read temp