How to include multiple tables in dbxml.get()
Hi,
I need to use a complex sql statement where in there are 5 table, joined with multiple where clauses. How do I implement this using DBXML.GET() procedure to get the desired results..
Please help...
Thanks
Ram.
Use the 'pin' on your table editor
http://www.thatjeffsmith.com/archive/2011/11/sql-developer-quick-tip-pin-query-result-sets-and-plans/
Then open your 2nd table. If you want to see both at the same time, right-click on the table editor tab and select 'New Editor Tab Group'
Not a silly question, but no need to shout :)
Similar Messages
-
1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed in the stat plan ?
2. Does rowsource statistics gives some kind of understanding of Extended stats ?You can get Row Source Statistics only *after* the SQL has been executed. An Explain Plan midway cannot give you row source statistics.
To get row source statistics either set STATISTICS_LEVEL='ALL' in the session that executes theSQL OR use the Hint "gather_plan_statistics" in the SQL being executed.
Then use dbms_xplan.display_cursor
Hemant K Chitale -
How to include in table of contents the list of figures and list of tables?
How to include in table of content the "Table of contents", "List of figures" and "List of tables"? All are generated with function Table of contents, but they will not appear in generated table of contents even if they have proper style of headings - Heading 1, as other chapter.
I get this in generated Table of contentes of my dissertaion thesis:
Table of contents
Preface
Table of contents <- missing
List of tables <- missing
List of figures <- missing
Introduction
Main
Conclusion
Is it ok, that generated lists are not included in table of contents?You've just confused me.
My understanding of how this is set up is that either:
This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
OK, wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they display indide a little box. Not a text box, but a kind of little frame around the numbers. That frame makes it imposible to delete just one number: when the TOC says that Section 6.1 is in page 135, for example, you cannot delete just the 5, it deletes, not just the 3 numbers, but also the doted tab."
I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links. -
How to use multiple table in single control file?
Hi,
How to use multiple table and data file in sigle control file? I have a four table and four csv file i mean data file for that. I am running concurrent program to load the data from csv file to custom table. based on my input data file name, it has to take automatically from one control file.
Can anyone share with me how can i acheive this?
ThanksHi,
Can't we acehive like below. I don't this exactly corrcect.
OPTIONS (SKIP=1)
LOAD DATA
INFILE << file name 1 >>
APPEND INTO TABLE XXCZ_VA_SAMPLE1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
PARENT_ITEM "TRIM(BOTH FROM :PARENT_ITEM)"
LOAD DATA
INFILE << file name 2 >>
APPEND INTO TABLE XXCZ_VA_SAMPLE2
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
ITEM_NUMBER "TRIM(BOTH FROM :ITEM_NUMBER)"
)Edited by: orasuriya on Sep 14, 2009 3:03 AM -
How to handle multiple tables data in Entity Beans?
How to handle multiple tables data in Entity Beans?
i mean, my bean (non trivial) is responsible for frequent
insertion in one table and some deletion on another table.
Can anyone of you...please..?Is your data model right? If you are adding in one and deleting in another it sounds to me more like a process that an entity, in which case you may revisit your data model and simplify it, add in a session bean with the process method to co-ordinate between the two.
However, if you want to map multiple different tables within a single entity bean it is possible and just part of the mapping. How you actualyl specify it depends on which implementation you are working with.
Cheers,
Peter. -
How to add multiple table when creating add on using b1de
Hi all,
Plz help me
How to add multiple table when creating add on using b1de.
ThanksHi dns_sap,
Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
If so, you can use the following code
Add User Table
Try
Dim lRetCode As Long
Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
oUDT.TableName = TableName
oUDT.TableDescription = TableDescription
oUDT.TableType = TableType
lRetCode = oUDT.Add
'// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
oUDT = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Add User Field
Try
Dim lRetCode As Long
Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUDF.TableName = TableName
oUDF.Name = FieldName
oUDF.Description = FieldDescription
oUDF.Type = FieldType
lRetCode = oUDF.Add
'// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
If lRetCode <> 0 Then
oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
End If
Catch ex As Exception
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Finally
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
oUDF = Nothing
lRetCode = Nothing
GC.Collect()
End Try
Regards,
Vítor Vieira -
How to display multiple tables from database using netbeans swing gui
plz reply asap on how to display multiple tables from database using netbeans swing gui into the same project
Layered Pane with JTables or you can easily to it with a little scripting and HTML.
plzzzzzzzzzzzzzzzzz, do not use SMS speak when posting. -
HOW TO OPEN MULTIPLE TABLES IN SQL DEVELOPER SIMULTANEOUSLY
hello i m new to sqldeveloper so plz dnt laugh if m asking silly question
HOW TO OPEN MULTIPLE TABLES IN SQL DEVELOPER SIMULTANEOUSLYUse the 'pin' on your table editor
http://www.thatjeffsmith.com/archive/2011/11/sql-developer-quick-tip-pin-query-result-sets-and-plans/
Then open your 2nd table. If you want to see both at the same time, right-click on the table editor tab and select 'New Editor Tab Group'
Not a silly question, but no need to shout :) -
How to drop multiple tables in SQL Workshop
Hi,
I'd like to drop multiple tables in one time but
SQL command processor returnes error message: ORA-00933.
Could you please tell me how to drop multiple tables in
one time?
My trial was follows
Drop table "table1", "table2"
Result
ORA-00933: SQL command not properly ended
Regards,
Hideki SakamotoHideki,
SQL syntax permits you to specify only one table in a DROP TABLE command.
The SQL Command Processor permits you to run one statement or PL/SQL block per submission.
So there are at least two ways you can do this. You could either upload or create a SQL script in SQL Workshop which contains your multiple statements:
drop table "table1"
drop table "table2"
or you could execute a single anonymous PL/SQL block in the SQL Command Processor, as in:
begin
execute immediate 'drop table "table1"';
execute immediate 'drop table "table2"';
end;
Joel -
How to include multiple image components into a single custom component???
How to include multiple image components into a single custom component???
Hi Marcel,
an ABAP transaction can only run or at least be started on one single system. A portal transaction can be assigned using a URL. This doesn't need any logical component.
Regards
Andreas -
How to include a table multiple times in InfoSet Query
Hi,
Is it possible to include a table more than once in an InfoSet Query, I created an InfoSet Query and Include Table A, then included Table B now i want to join Column 1 and 3 of Table A to be join with column1 of Table B, in other words, Table B is a Master data table, and Table A is a transaction data table, how this can be acheived.
Thanks
Akila. RYou cannot achieve this.
Instead, compound the column 1 with column 3 info objects and create join with Table B.
This will result in same intended functionality. -
How to create multiple tables in Adobe air?
Hi, I am using Flash CS5 coding for adobe air 2.0.
How do you create a database with multiple tables and link them together?
I know how to do it in SQL just can't seem to get it to work in Flash CS5 Adobe air.
The following is ONLY an example of a database layout that shows linking tables together.
Table CUSTOMER
customerID - PK
customerName
Table ITEMS
itemID- PK
itemName
Table ORDERS
orderID- PK
data
customerID = 1
customerName = bob
itemID = 1
itemName = cup
orderID = 1
output example
1,bob,1,cup,1
ThankyouBump
-
How to use multiple tables in DRIVING_SITE
Hi All,
I see very bad performance with my query having dblinks to remote database.
How can I use DRIVING_SITE for multiple remote tables here?
Does it it useful to use on DRIVING_SITE multiple tables?
What is impact of using ORDER BY on local table column ( table A in below case) in the query?
SELECT A.col1, B.col2 , C.col3
FROM A, B@dblink1, C@dblink1, D@dblink2
WHERE <few join conditions>
ORDER BY A.col1 ;
Join conditions in above query is taken care to have better performance. But from our analysis it is understood that poor performance is due to DB Links to remoate database. What is best approach to get good performance with DB Links?
Regards,
Ramhttp://download.oracle.com/docs/cd/E11882_01/server.112/e17120/ds_appdev004.htm#ADMIN12196
Will give you an idea of where to start. -
Dear All,
My database is 11gR1 and Linux is the platform.
I have more then 50 very important tables and around 15 database users.
I want to implement fine grained auditing on these important tables.
This is how I am going to implement it:
SQL>BEGIN
DBMS_FGA.add_policy(
object_schema => 'Scott',
object_name => 'SAL',
policy_name => 'SALARY_CHK_AUDIT',
audit_condition => NULL,
handler_schema => 'imran',
statement_types => 'SELECT,INSERT,UPDATE,DELETE',
audit_column => NULL);
END;
what is i have to pass multiple tables in object_schema and multiple users in handler_schema.
I hope i am able to clear my question, any doubts please let me know.
Regards, ImranHi,
object_schema - The schema of the object to be audited. (If NULL, the current log-on user schema is assumed.)
in case if you like to audit for multiple users - then try to test by holding a null value and test access the important tables -where the relevant auditing records are generated as per your requirement or not. i have not tested.. try it
- Pavan Kumar N -
How to update multiple tables using results from query
I'm a bit rusty on this stuff and am hoping for some help.
Table 1 is:
location_id, location_name
Table 2 is
location_id, employee_id and misc. other columns
Then there are multiple tables with associated data, keys being location_id and employee_id.
There are no established relationships.
Trying to come up with a process to change location_id for all employees assigned to a particular location.
It seems to me that the basics are
select employee_id from Table2 where location_id='xxxxxx'
Then take each employee_id returned and change their location_id in each of the other tables
I'm not clear on how to load the returned employee id's as variables and then loop through them.
ThanksThanks for the welcome. I'll read up on the rules now.
Below is the DDL for a couple of the tables.
Version = 11g
I would query the users table for all users with a certain site_id and then use them to update the site_id in the users table (and other tables)
-- DDL for Table USERS
CREATE TABLE "USERS"
( "USERID" VARCHAR2(8 BYTE),
"PASSWORD" VARCHAR2(50 BYTE),
"FIRST_NAME" VARCHAR2(50 BYTE),
"LAST_NAME" VARCHAR2(50 BYTE),
"SITE_ID" VARCHAR2(5 BYTE),
"ROLE_ID" VARCHAR2(1 BYTE)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "SITES_DATA_TS"
CACHE ;
-- DDL for Table EMPLOYEE_PROFILE
CREATE TABLE "EMPLOYEE_PROFILE"
( "EMPLOYEEID" VARCHAR2(9 BYTE),
"PROGRAM" NUMBER,
"REQUIREMENT" NUMBER,
"JOBNUM" VARCHAR2(50 BYTE),
"STATUS" VARCHAR2(50 BYTE),
"PROGRAM_TYPE" VARCHAR2(50 BYTE),
"SITE_ID" VARCHAR2(5 BYTE),
"NUM_QUAL_TEST_ATTEMPTS" NUMBER(7,0)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "SITES_DATA_TS"
CACHE ;
Maybe you are looking for
-
How can I Cache the data I'm reading from a collection of text files in a directory using a TreeMap? Currently my program reads the data from several text files in a directory and the saves that information in a text file called output.txt. I would l
-
How to retrieve data from Table Control
Hi, I am a Beginner to ABAP. I want to know how to fetch the selected rows from Screen table control. Here is my scenario: I am having one table control with selection field. Once i select some rows means the selected rows are going to be stored in o
-
What's the role and purpose of Qty f avail chk in sub po?
Hi, when I view the components of a subcontract PO, I find a component with 3000 requirement qty and 2270 qty for available check. Then I recheck the availability of this component, the data don't change even though I have enough stock. I want to kno
-
Post XI configuration guide needed
Hi, Does anyone have a post installation configuration guide for XI. There are porblems like not able to monitor in RWB, take s/w components into IR, cant create scenario in ID. User has all the roles. But more configuration is there i gues. Please f
-
HT4009 In app purchase refund form?
I received an email regarding in app purchases and submitting a request for refunds. Where is the form that I need to fill out for the possible refund?