Question about linked tables
I want to create a table and am using sql8 as back end.
My front end is Access. I want to create a button in the access form that will update certain values in a table in the database. I dont want to add the database in the access form.
I am thinking of creating a linked table getting values from the main table and create a linked table from it. Then i was thinking of updating the linked table by adding it up to the access form and using a button for the update query.
Would it work.
What wud be the syntax to create a linked table from the main one and wud the updates show on the main table if i update the linked table.
Is there an alternative to it.
I do not want to use any triggers though.
Ashish
Hi
update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update . we can bypass this process by delta methods.
M Kalpana
Similar Messages
-
Hello Gurus,
I have a question about "update table" entries. I read somewhere that an entry in update table is done at the time of the OLTP transaction. Is this correct? If so, does this happen on a V1 update or V2 update? Please clarify. Similarly, an entry in the "extraction queue" (incase you are using "queued delta" will happen on V1 update. I just want to get a clarification on both these methods. Any help in this matter is highly appreciated.
Thanks,
SreekanthHi
update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update . we can bypass this process by delta methods.
M Kalpana -
SSMA (Access - SQL 2012) newbie question about new tables
I have successfully run SSMA and moved the back end tables of an Access project to SQL Express 2012.
Some questions:
- if I add a new table to the SQL backend, how do I get it to appear in the Access project?
- if I want to move the whole thing to another computer, how do I go about it?
- do I always have to have the SSMA app installed?
- I can't see an ODBC datasource on the machine
Thanks for some help
CarolChiThanks, I was not clear in my questions:
1. Given that from now on the tables should all be in SQL, I think it would be better to create new tables in SQL them there rather than create them in Access and have to keep moving them to SQL with SSMA. So if I create a new table in SQL how can I
see it in Access? Or can I easily create a linked table in Access?
The table created by SSMA have this property:
If I create a new table in SQL and link it I get a more classic ODBC connection:
2. I am happy with SQL backup/restore, attach/detach. But how does Access know where the SQL Database has gone?
3. I thought the migration was a one time task, but from what you say it is an ongoing "linking" app. So I would be better to export my tables and re-link them to get something that can be moved to another network or computer?
4. The SSMA looks very much like an ODBC connection.
This is a new project so I will have to make lots of new tables and also move the whole thing around to different computers, on different networks.
CarolChi -
The program I am using is Dreamweaver CS3.
I have body copy that came to me via email attachment and was created in windows 7. This copy has two areas that need to have links. From this point what do I need to do in order to add the links so that when I insert it onto my Dreamweaver page I will be able to highlight the copy where the links go and add the address in the property inspector? Below is the email I was speaking of and appreciate all of you ideas and help.
Little House Helps Build Habitat Homes!!
The cast and crew of Little House on the Prairie - the Musical, including Melissa Gilbert - playing Ma, are heading to Cowtown to put on an amazing production and help Trinity Habitat for Humanity!
PHOTO HERE
Melissa Gilbert working on a Habitat Home.
Trinity Habitat will be receiving a donation at the end of tour!
So show your support - purchase some tickets to the Musical for family and friends, which helps Habitat too!! The June 8-13 show will be at Bass Hall.
Click on the link below for tickets, times and event details.
http://littlehousethemusical.com/tickets/
The partnership with the Little House production and Habitat for Humanity began in the fall 2009 and will continue as the show travels to the remaining show cities. To read more about the partnership, click here.Go through the XHTML and CSS tutorials at W3Schools to learn the jargon. XHTML = content. CSS = styles.
HTML & CSS Tutorials - http://w3schools.com/
Once you understand the terminology, you'll better understand what DW does for you.
Next, work through some on-line tutorials by creating a few test sites. These will familiarize you with modern web concepts and introduce you to the DW tools & work space.
Getting Started with DW CS3
http://www.adobe.com/devnet/dreamweaver/articles/getting_started_dreamweaver_cs3.html
Creating your first website in CS4 (part 2) -- the same basic principles apply to all versions of DW
http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt2.html
Learn to Work with CSS
http://www.adobe.com/devnet/dreamweaver/css.html
In addition to the Adobe Devnet tutorials, you'll find many more on-line tutorials at the following sites.
Lynda.com - http://www.Lynda.com
Community MX - http://www.communitymx.com/
If you get stuck on anything, feel free to post questions in this forum.
Have fun!
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
Question about multiple tables and formulas in numbers
I was wondering about having a formula that effects one table based on data in the other table. I have a spreedsheet that i created for work. In column A is a list of addresses. In column B-ZZ is a list of "billing codes" the get applied to the service work done for that address.Its kind of difficult to look at this large spreadsheet on my iphone and edit it on the go. Is there a way to, Have another column, possibly on sheet 2 or something, where i type in these "billing codes" and they would fill an x or some other character in cell that corrisponds with that billing code on that address line? So to be as plain as possible, I want to enter data in one cell (another sheet if possible) and have it "mark" another cell in response to the specific data on that "entry cell." Im thinking this way because instead of scrolling back and fourth on the sheet on my iphone, to "mark" the boxes, i could just navigate to sheet 2 enter the data, or "billing codes" and they would "X" the cell that would match up with the code column and address row. each address row would have a seperate "entry field" in sheet 2, to make the formula easier. thanks for any help
Tom,
That's a lot of columns for jsut a table of marks that reflect an input. Sure, you could have each cell in that giant table check to see if some corresponding cell contains certain text, but that document is going to be slower than you might be able to tolerate.
Jerry -
Question about selection table analysis
Dear All,
My last post was closed by the moderator so I would like to ask a different question. Please apologize if my question is trivial.
1. There is a selection table seltab with one fields of type I, with the following contents:
I GT 3 0
I NE 8 0
The literature eg. ABAP Objects says that the control statement like IF or CASE can be used with logical expression IN.
Now I am checking if the variable test fulfills the conditions defined by the selection table.
DO 10 TIMES.
IF test IN seltab.
write test.
ENDIF
test = test + 1.
ENDDO.
As a result I get a full list of values.
1 2 3 4 5 6 7 8 9 10
2. Now, if the table contains
I GT 3 0
I get
4 5 6 7 8 10 as expected
3. If the table seltab contains
I NE 3 0
the result also seems to be ok
1 2 4 5 6 7 8 9 10
The final question is. Is it true that the logical expression IN cannot be used with IF for more complex data comparisions?
Thanks,
GrzegorzWell, the contents
I GT 3 0
I NE 8 0
I read as:
the variable fulfills the condition if is greater than 3 and not equal 8
test > 3 and
test <> 8
which should give the result from the example above a list
4 5 6 7 9 10
What is wrong with my analysis?
Regards,
Grzegorz -
hi gurus,
i need to find a relation between profit center and G/L account to do same reporting on charges by profit centers.
in table GLPCA i have the fields i need, but i have a question: are all the charges traced in this table (GLPCA) ? in other words are all the vendors invoices present in this table.
Thank you.Only for those entries in which profit center is assigned.
Eg :Say expenses or revenue for which profit center is assigned directly. only the expenses line item(i.e Dr) or revenue line item (i.e CR) alone will be there in GLPCA.
But in BSEG you can find both the entries(Dr & Cr) for the same doc, which you cant find in GLPCA.
Hope you understood.
else revert
Reg
Sujai -
Question about temporary tables and imports.
Hello everybody.
Interesting one this. We have an application that uses global temporary tables. We refresh live to test using import of the application schema. I noticed when doing this yesterday that the temporary tables were being recreated in test as perminant rather than temporary.
Is there a reason for this? Has anyone come across this before? Is there a way around it (apart from manual checking)?
Many thanks
RupCould you specify how you found out that it is coming in as permanent?
I believe exp/Imp will export and import it is Temporary table. I have just done a simple test to check and it works fine;
Here is my test log:
SQL> connect scott
Enter password:
Connected.
SQL>SQL> CREATE GLOBAL TEMPORARY TABLE test_global
2 (startdate DATE,
3 enddate DATE,
4 class CHAR(20))
5 ON COMMIT DELETE ROWS;
Table created.
SQL> select table_name,temporary from user_tables where table_name='TEST_GLOBAL';
TABLE_NAME T
TEST_GLOBAL Y
SQL> select table_name,temporary from user_tables;
TABLE_NAME T
DEPT N
EMP N
BONUS N
SALGRADE N
TEST_GLOBAL Y
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
C:\Documents\dbmsdirect\Testing\global>exp
Export: Release 10.2.0.2.0 - Production on Wed Feb 20 12:18:45 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: scott
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
Enter array fetch buffer size: 4096 >
Export file: EXPDAT.DMP > test_global
(2)U(sers), or (3)T(ables): (2)U > t
Export table data (yes/no): yes >
Compress extents (yes/no): yes >
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
About to export specified tables via Conventional Path ...
Table(T) or Partition(T:P) to be exported: (RETURN to quit) > test_global
. . exporting table TEST_GLOBAL
Table(T) or Partition(T:P) to be exported: (RETURN to quit) >
Export terminated successfully without warnings.
C:\Documents\dbmsdirect\Testing\global>sqlplus /nolog
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 20 12:19:50 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> connect scott
Enter password:
Connected.
SQL> drop table test_global purge;
Table dropped.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
C:\Documents\dbmsdirect\Testing\global>imp
Import: Release 10.2.0.2.0 - Production on Wed Feb 20 12:20:19 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: scott
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
Import file: EXPDAT.DMP > test_global.DMP
Enter insert buffer size (minimum is 8192) 30720>
Export file created by EXPORT:V10.02.01 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
List contents of import file only (yes/no): no >
Ignore create error due to object existence (yes/no): no >
Import grants (yes/no): yes >
Import table data (yes/no): yes >
Import entire export file (yes/no): no > yes
. importing SCOTT's objects into SCOTT
. importing SCOTT's objects into SCOTT
Import terminated successfully without warnings.
C:\Documents\dbmsdirect\Testing\global>sqlplus /nolog
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 20 12:22:44 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> connect scott
Enter password:
Connected.
SQL>
SQL> select table_name,temporary from user_tables;
TABLE_NAME T
DEPT N
EMP N
BONUS N
SALGRADE N
TEST_GLOBAL Y
SQL> insert into TEST_GLOBAL values (sysdate,sysdate,'test1');
1 row created.
SQL> select * from TEST_GLOBAL;
STARTDATE ENDDATE CLASS
20-FEB-08 20-FEB-08 test1
SQL> commit;
Commit complete.
SQL> select * from TEST_GLOBAL;
no rows selected
SQL> select table_name,temporary from user_tables where table_name='TEST_GLOBAL';
TABLE_NAME T
TEST_GLOBAL Y
SQL> -
I'm doing an assignment on linked lists and I'm having trouble understanding the insert method. I'm using the one from the book and it works fine, but I don't quite understand it.
public void insert(Object o) {
Node n = new Node(o,current);
if (previous == null)
head = n;
else
previous.next = n;
current = n;
It's my understanding that current is the value that your currently at in the list. Previous is equal to the value before the current. So, previous.next is equal to current. This reasoning won't make the list progress with this code. Can someone tell me what I'm not understanding, or explain how this progresses?Thanks, that helps alot. Now, I have another question. I need to add and remove nodes from the list. I have it setup where the user can choose what node to delete. It compiles and runs fine, but when I try to delete a node, it doesn't delete it. Doing some troubleshooting, I found that it gets into the for loop, but doesn't do anything with the if/else statement. I put a printline in the if and else part, and it never printed out the statement in the if statement or in the else statement. Here's the code I'm using. getLentgh() is a method I wrote to return an integer value of how many nodes are in the list. I've also tried putting in a printline after the for loop, but still in the try, it didn't print it out.
else if(source == remove) {
String del = JOptionPane.showInputDialog("Enter an integer to remove.");
Node temp = new Node(del,current);
if(del != null){
try{
for(int c = 0; c < list.getLength(); c++){
if(temp.data == current.data){
list.remove();
c = list.getLength();
else{
list.advance();
}catch(NullPointerException e){
} -
Question about ADF Table's detailStamp component..
Hi,
I've written a skin... The thing is I want that table placed inside detailStamp component to have a bit lower height rows than the containing table.. but keeping the same skin. Is it possible somehow? It's very urgent..Hi
thank you for reply.
indeed i used that weblog before , one i used and i am happy with is that tab menu system.
just create a xml file and your menu with enough security is ready to go.
but i can not understand how i should use this example method for my own requirement.
so let me explain what i need to do :
I have a javascript based menu in my web application.
one its item is that a user click on it and he /she can see his/her transactions.
so it is a javascript menu and not a command button or command link.
and i can not use any java code when user select that item (maybe it is possible to use java code but i do not now how i can do it).
when user select transactions item , application will open /faces/transactions.jsp .
now in transactions.jap i have a table that i should user transactions to him . but i do not know how to filter the view object when this page is going to be opened.
i searched and asked and i found that i should use bind variable and.... .
now i declared a bind variable for userID in transaction view but i do not know how i can set value of this variable .
what i thought is :
1-set the variable in java code of viewObject , for example in its constructor .
2-write some scriptlet in transactions.jsp to set value of that variable.
3-maybe jdev has some drag drop / wizard stuff to bind that variable in query to the variable in managed bean.
as this view is allways filtered with that userID for each session i think if i could bind it to userID property of managed bean my problem will be solved.
which of the above way is correct way to do ?
thanks -
Hi,
Can anyone clarify me this
Can I insert rows into dual table (being a programmer) ?? Using oracle 9i ... If no, can DBA do that ??? Say suppose, I have inserted 100 records in the dual table .. In any way, my applications are going to get hampered after inserting the records in the dual table
RegardsOr perhaps this:
SQL> SELECT * FROM
2 ( select rownum from dual connect by rownum <= 10 );
ROWNUM
1
2
3
4
5
6
7
8
9
10
10 rows selected.In 9i at least you most certainly can insert into sys.dual, which is a regular table in the SYS schema, although you deserve all you get if you do so:
/Users/williamr: su - oracle
Password:
/Users/oracle: sqlplus '/ as sysdba'
SQL*Plus: Release 9.2.0.1.0 - Developer's Release on Fri Mar 10 19:21:45 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Developer's Release
With the Partitioning and Oracle Data Mining options
SQL> SELECT COUNT(*) FROM sys.dual;
COUNT(*)
1
1 row selected.
SQL> INSERT INTO dual VALUES ('Z');
1 row created.
SQL> SELECT COUNT(*) FROM sys.dual;
COUNT(*)
2
1 row selected.
SQL> set serverout on
SQL> EXEC DBMS_OUTPUT.PUT_LINE(user);
BEGIN DBMS_OUTPUT.PUT_LINE(user); END;
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.STANDARD", line 264
ORA-06512: at line 1
SQL> roll
Rollback complete.
SQL> EXEC DBMS_OUTPUT.PUT_LINE(user);
SYS
PL/SQL procedure successfully completed.
SQL> So it is technically possible, but monumentally inadvisable to mess about with sys.dual.
For a rather surreal suggestion related to this scenario, see:
oracle-wtf.blogspot.com/2006/03/create-your-own-dual-table.html -
Hi all, can you show me the way to turn off the "show all" option in af:table (when we use paging)? Thanks a lot!
Harry.hi Harry
I'm not sure what your question is, but the af:table component in the SRList.jspx page of the SRDemoSample application uses "paging".
<af:table value="#{bindings.findServiceRequests1.collectionModel}"
binding="#{backing_SRList.srTable}" var="row"
rows="#{bindings.findServiceRequests1.rangeSize}"
first="#{bindings.findServiceRequests1.rangeStart}"
emptyText="#{bindings.findServiceRequests1.viewable ? 'No rows yet.' : 'Access Denied.'}"
selectionState="#{bindings.findServiceRequests1.collectionModel.selectedRow}"
selectionListener="#{bindings.findServiceRequests1.collectionModel.makeCurrent}">
<!-- ... -->
</af:table>(tip : You can use "Your Control Panel" to make your name visible in forum posts.)
success
Jan Vervecken -
Simple beginner question about default tables (LOGMNR, etc.)
Hi all, I just installed SQL Developer and the Express server. I have worked with other SQL databases and with remote Oracle databases. But never been a DBA for an Oracle DB. I tried searching on LOGMNR and AQ$_, but couldn't find anything, hence this question.
If there is some online documentation that covers these particular tables and my question, then a pointer to that would be appreciated.
Anyway, I created a connection per the instructions and it seemed to work. But when I look at tables listview, I see a whole slew of tables. I assume these are all housekeeping/meta data tables (eg. information_schema in MySQL). Is this correct?
Also, short of manually creating a filter for each of the file types ("%$%"help", "LOGMNR%", "SQLPLUS%", etc.), is there an easy way to ignore these tables and just see the tables I want to create for testing purposes?
And I am curios why these all show up by default. Could it be that I am expecting something because of experience with other databases and am actually doing things the "wrong" way? Or is this just because I am using the Express Server? Or is there another (very good) reason for these tables to exist?
Thanks,
justmeThe complete oracle documentation is at http://tahiti.oracle.com. There is a lot of it, but Log Miner and Advanced Queuing have their own manuals. You should also consider starting with the Concepts Manual followed by one of the "2-day" tutorials such as "2-Day DBA"
What user are you connecting as? It sounds as if you are connecting as SYS or SYSTEM if you can see the dictionary tables.
You should create a separate user to connect as.
(create user myuser identified by mypassword;
grant connect,resource to myuser;) -
A question about sorting tables.
Hello All!
Just a quick question: performance wise, which is better, declare an itab with the 'sorted table of' or use the 'sort itab' later.
Thanks in advance!
Moderator message: please try yourself and search for available information and previous, similar discussions.
Edited by: Thomas Zloch on Feb 23, 2012Hi Kevin,
follow for example more or less the code given in this thread: Functionality to dynamically sort tableview columns and implement a <i>compare</i> method corresponding to your needs (for example using <i>compareToIgnoreCase</i> method of <i>String</i>).
Hope it helps
Detlev -
Question about making tables in Pages :-)
Hello! I can't resize tables in Pages. I can drag them downwards but not horizontally! Anyone know why or what I can do about it? Thanks!
HI promises,
Do you men you can increase the size of a table vertically, but not horizontally?
Tables are inserted as inline objects. Inline objects are treated like text, and are bound by the text margins set for the document (or for a layout within the document). When inserted, their width defaults to the maximum allowed.
In the image, you can see the margin stops at 1 and 7.5 inches (indicated by blue arrows). You can't make the inline table any wider, but you can make it narrower.
Click away from the table to deselect any cells that may be selected, then click once on the table to select the whole table. Use the mouse to grab the handle at the center of the right edge of the selected table, and drag left to decrease the width of the table. All columns will narrow proportionally:
Move the smaller table left or right using the Text formatting tools avilable—the alignment buttons or a tab character and a tab stop.
Regards,
Barry
Maybe you are looking for
-
Report on deleted sales orders ( va02)
hi, i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode). to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all
-
Problems downloading Photoshop Elements 9 software to my new computer using Windows 8
Can someone please assist me in getting my software to work on my new computer. I have installed the disc...... almost at the end of installation the computer froze and eventually after a couple of hours, I removed the disc and interupted the install
-
How do I copy my new Andrea Bocelli music DVD into itunes?
-
Planned Orders (Independent) to standard routings
Hi Experts, Is there any link between planned orders and standard routings. If there's any, please indicate. Thanks and points will be given, LM
-
Error Code: A12E1 on re-install/update
Hi - I get the error A12E1 when I try to update/reinstall. I have: - Restarted my machine - Uninstall Adobe Application Manager - Deleted everything in Library/Application Support/Adobe/OOBE Please advise. D