Treatment in a table
Hi all
I have one in the form of Page, where I select several lines in and then say submit.
Now my requirment is whenever I say submit, I need to call an API, the api call takes the values of the selected lines and she's own action.
So where do I need to create a process of type pl/sql to accomplish. How to pass multiple values of line to my api.
I under stand that we are dealing not tidy, but we are dealing with several rows at a time.
Please let me know.
Thank you
Kumar
Hello
You can use the substitution string APEX$ ROW_SELECTOR to designate the line selection box
Kind regards
Jari
Tags: Database
Similar Questions
-
Top 3 treatments in the table groyp by Department
Hi friends,
I want the query for albums 3 treatments in the table groyp by Department
Please help me
Thanks and greetings
kesana Niasseselect ename, dept,sal from (select ename,dept, sal, row_number() over (partition by dept order by sal desc) rn from employee) where rn <= 3 /
You can also use TOP N query, RANK and DENSE_RANK analytical function instead of row_number to get the same result
-
I would like the encoder of data as well as the duration of treatment in a table
Hello
I want to draw my value encoder of data as well as the duration of treatment simultaneously in a table by getting data in real time. Please help me with solutions or ideas.
Hi Jean Claude,
did you think of the VI you want to create - before actually creating it?
-Both your DAQAssistents started '1 value on demand' but you convert the thread of DDT in 2D arrays! Why? Why don't you convert a scalar - because that's what carries the thread of DDT!
-Why did you "insert a table", when you want to add to (or enhance) a table? Use rather BuildArray!
Having time values too you need to calculate: subtracting the start time of hour:
-
Performance in the treatment of the based on a game, several tables from target
Welcome.
I have question about a treatment based on a game, when mapping have several tables in the target. I noticed that OWB generate SQL code that usually build a query for each table in the target insertion. Suggest that each table has results from different stages of the treatment, so multi table insert cannot be used. Looking for generated code PL/SQL, I feel that each insert query managed independently and so each make analyses of source table and joins on its own.
To make my question more concrete, I will introduce two simple examples of stream ETL:
1) start-> (table scan)--> (joins)--> (inserting into the table t1)
2) start-> (table scan)--> (joins)-> two targets: (insert into table t1)
-> two targets: (deduplicator)--> (insertion in table t2)
Admit, that scans and joins are very expensive comparing to insert rows. Thus, it is usually, if oracle performs scans of tables 2 and joined in example 2) and example 2) take twice longer than example 1)?
Or fact Oracle is so smart that it can cache the result of entering the first query and use it again in the second query?
Best regards
PawelHi Pawel,
Thus, it is usually, if oracle performs scans of tables 2 and joined in example 2) and example 2) take twice longer than example 1)?
Yes, you are right
Or fact Oracle is so smart that it can cache the result of entering the first query and use it again in the second query?
Nor the database Oracle or OWB don't is not to intermediate capabilities query result caching.
While the Oracle database feature "result cache queries", but it must match exactly to SQL source and it store only the final query result...Kind regards
Oleg -
Put the active table in respect of the development when the script was interrupted by a dialog box
I adapted a script which browse tables in a file of Fm and asks the user if he wants the current to be reformatted or not active table
I have not find a clean way to the table that is currently selected in the variable "tbl" or visible on the screen when the scripts sends a dialog box.
The workaround I found is to launch a format on the table before sending the guest, in this case the table processing is apparent when the prompt arises.
But I would like to have the visible table and avoid doing all the treatments on the table until the user has had a chance to respond to the prompt.
I guess that there must be a method to draw the attention of the active window on an item that is selected in a variable?
function ApplyTableFormat (doc)
{
If (doc.) ObjectValid())
{
var tbl is doc. SelectedTbl
var tbltitle;
var tblTextItem;
While (tbl. ObjectValid())
{
tbltitle = "";
tblTextItem = tbl. FirstPgf.GetText (Constants.FTI_String);
for (var i = 0; i < tblTextItem.length; i ++)
{
tbltitle += tblTextItem [i] .sdata;
}/ * How my "tbl" visible in the window active doc? */
If (Alert ("format:" + tbl.)) "Tbltitle + FirstPgf.PgfNumber + '? \nClick Cancel to abort. ((', Constants.FF_ALERT_CANCEL_DEFAULT))
return;
/ * Insert here the table formatting code * /.TBL = tbl. NextTblInDoc;
}
}
on the other
{
Alert ('no active doc', Constants.FF_ALERT_CONTINUE_WARN)
return
}
}There is a document feature that allows to scroll the window to a location of particular text:
doc. ScrollToText (textRange);
You might be able to do something like this:
doc. ScrollToText (new TextRange (tbl. TextLoc, tbl. TextLoc));
-Rick
-
How to pass the form on a table after a query?
With the help of Oracle 11.2 and Apex 4.1.
1. I use a form on a table with buttons: QUERY, INSERT, DELETE and CANCEL.
2. after INSERT and DELETE, the shape is erased.
3 but I would remove the form after the QUERY. Well, I want to clarify when the user wants to that he erased!
4. and, in fact, I have a process to clear the Cache for the button CANCEL.
5. when I click on CANCEL, there is a flash like redraws the screen.
6 and I think this is the case, is that after the cache is cleared, the variable RCD_ID of the page has the prior value and treatment of the "table row" retrieves the file once more.
7 so I return values that I wanted to clear! Looks like I'm being undermined by the functionality of the ARF. (ARF, ARF!)
1. I tried to change the "Go to page nn" to clear the cache for the page, but that seemed to make no difference.
2. I tried to adjust the page RCD_ID variable to "as I do after DELETION, but that has not worked either to CANCEL.
Thoughts?
I guess it's just me, but the extremely annoying part of the APEX is that some simple obvious things – like the form of compensation - have no obvious simple solution. I would say, there are a few obvious approaches, but none seems not to work. You would think that a 'CLEAR' button would be a standard button or CANCEL to had an option to clear the form and or clear a list of items on the page.
HowardHoward (DBA in training) wrote:
For the button CANCEL, 1) I clear the cache of the page and 2) I put the variable RCD_ID (P2_RCD_ID) ". But without effect. When I consider the debug report, I don't see any indication that CANCEL was pressed or that these processes have been executed. So, maybe they are not running. I see the record being extracted again - which is what I want to avoid.
Processes are not executed because the page is not submitted. The Cancel button does a redirect, not a shipment:
apex.navigation.redirect('f?p=21997:2:13040303230582::NO:::')
Change the button action to present, with the value of the request as "CANCEL".
By default, generated by the wizard Cancel button will be created to perform a redirect. The anticipation is that the behavior required to navigate to another page in the application without changes to session state or process.
-
raise errors ora-01426 truncating the table
Hello
We have a process that runs in the following process for some tabls game
1 disable constraints
2. the truncating tables
3. activation of the constraints
but after treatment for 5 tables, truncating up error
BEGIN < process name >; END;
*
ERROR on line 1:
ORA-01426: digital overflow
ORA-06512: at the "< procedurename >", line 33
ORA-06512: at line 1
This line 33 point to run immeidate ' truncate table < table name >
Can I know what is the reason for throwing "digital overflow" error truncating the table...
Thanks in advanceuser9080289 wrote:
Thank you.Is my verision of oracle 11g
Then, you could have the described bug. Follow the instructions how to bypass (flush with low-value stats monitoring) or apply the #8226471 patch.
Nicolas.
-
Insert/update of the lines in tabular form from one table to another table
Hello
I'm having a tabular presentation for a table (equip_test) with 2 columns (equip_id, equip_name). I create a new
Button (submit_alt) in this tabular form. I need to insert or update lines that are changed in this table to form
another table (equip_staging) when you press the submit_alt button. How can I do this? How can I identify which lines are
Insert or update? The process of the page I am trying since this button is
But it does not work. Help, pleasebegin FOR i in 1..APEX_APPLICATION.G_F01.count LOOP insert into equip_staging values(APEX_APPLICATION.G_F02(i),APEX_APPLICATION.G_F03(i)); END LOOP; end;
Thank you
TJUnchecking (does not) the column is a problem. Use this SQL instead (which is included in my examples):
SELECT empno, empno || apex_item.hidden (33, wwv_flow_item.md5 (ename, sal, job)) empno_display, ename, sal, job FROM emp
and join this column hidden from your display column. In this way, it should work. When you feel there is no data found message in the treatment in a table, it will mean that the id does not exist.
Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------ -
Error then that HFM copy APP?
Hi all
As part of HFM copy App activity, while creating the copy of my request for Production in Dev, the utility completed the activity with few errors. I put here the Logs. Please suggest me what went wrong and how it could have been avoidd:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DEEMOQTR4_TASK_AUDIT_COPY_08032012 CONNECTS
Early treatment for table DEEMO_TASK_AUDIT_COPY_08032012...
Loading the table definition for table DEEMO_TASK_AUDIT_COPY_08032012...
TableInfo::LoadTable: Definition of table (DEEMO_TASK_AUDIT_COPY_08032012) loading the cache...
TableInfo::LoadTable: Definition of Table (DEEMO_TASK_AUDIT_COPY_08032012) returned by the database.
TableInfo::LoadTable: Loading info index for the table (DEEMO_TASK_AUDIT_COPY_08032012)...
TableInfo::LoadTable: Support for the definition of Table (DEEMO_TASK_AUDIT_COPY_08032012).
Determine the number of rows in the DEEMO_TASK_AUDIT_COPY_08032012 table.
Found 0 records in the DEEMO_TASK_AUDIT_COPY_08032012 of the source table.
Looking for sequences used by the DEEMO_TASK_AUDIT_COPY_08032012 table...
Creating a destination DEEMOQTR4_TASK_AUDIT_COPY_08032012 table...
Create DEEMOQTR4_TASK_AUDIT_COPY_08032012 in < default > tablespace with index in < default >.
TableInfo::CreateTable: Create a table DEEMOQTR4_TASK_AUDIT_COPY_08032012...
TableInfo::CreateTable: SQL: (CREATE TABLE DEEMOQTR4_TASK_AUDIT_COPY_08032012 (STRGUID NVARCHAR2 (32) NOT NULL, ACTIVITYUSERID INT NOT NULL, ACTIVITYSESSIONID INT NOT NULL, ACTIVITYCODE INT NOT NULL, SERVERNAME NVARCHAR2 (256) NOT NULL, APPNAME NVARCHAR2 (20) NOT NULL, FLOAT STARTTIME (54) NOT NULL, FLOAT ENDTIME (54) NOT NULL, NULL NVARCHAR2 (1000) AS, STRMODULENAME NVARCHAR2 (300) NULL))
Error: TableInfo::CreateTable: Execute failed for table DEEMOQTR4_TASK_AUDIT_COPY_08032012!
Error: TableInfo::CreateTable: Exception: cannot create the table DEEMOQTR4_TASK_AUDIT_COPY_08032012!
Error: Cannot create the destination DEEMOQTR4_TASK_AUDIT_COPY_08032012 table!
Error: SQL error: ORA-00972: identifier is too long
Error: The treatment interrupted to table DEEMO_TASK_AUDIT_COPY_08032012. Reason: One or more errors occurred during processing of command.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When I googled on the error, it says "Oracle identifiers are not allowed to exceed 30 characters. So if I take the table name "DEEMOQTR4_TASK_AUDIT_COPY_08032012",
It has more than 30 characters long, so is this the question? If its so then other tables of the period five-year special Audit also showed the error. I'm confused. Please suggest me the correct answer.
Thank you
Zitouni
Hello
You must ask your DBA to create a new database and use a SQL query to
move the data from the HFM database to the new database.
After that, you run the utility of data verification to clear data.
We usually do this once a month before the opening of the new period.
See you soon,.
Thanos
November 14, 2015 16:59, "community-admin" [email protected]>
-
Is engineer to the relational model - possible to force a crash of the relational model
Hello
Is it possible to force a crash of a relational model existing at execution of the engineer to the relational model? Example: If I change the order of an attribute (in an entity) and do an engineer to the relational model, the order of the columns (in the table) remains the same. Although as said, I changed it in the logic model. It is with my current settings. I have not found a property to the order 'RM keep' or 'forcing the crash of the RM.
How can I make such a change to the relational model?
Best regards
Robert
Hi Robert,.
support - Yes it is in the direction opposite - order of the attributes of logic model is applied to the columns of the tables.
On the search feature:
http://www.thatjeffsmith.com/archive/2012/11/SQL-Developer-Data-Modeler-v3-3-early-adopter-search/
https://apexapps.Oracle.com/pls/Apex/f?p=44785:24:no:P24_CONTENT_ID, P24_PREV_PAGE:6623, 2
and here Oracle Sql Developer Data Modeling 3 3 new features
shortly:
(1) do simple search - put asterisk and press enter
2) filter on the tables
(3) properties of the Commons game - there is a bug on this feature in 4.1.888 but it will do the job
BTW - DM is distributed with the transformation (named "Columns order") script that reorders columns in a specific way - PK columns, the columns FK, the required and optional columns.
At the end of the treatment for each table, it sets this property to false - table.setAllowColumnReorder (false);
So, you can do the same thing with the scripts - there are examples that you can use as a starting point.
Philippe
-
Hi all
I have created a new configuration of client and location. Now try to create IR and get below error.
----------------
Error: The tax calculation: the system cannot determine the geographic information for this place and cannot be derived from a tax jurisdiction. Please contact your system administrator.
--------------------
I've made a few changes by looking at Doc-ID 1385936.1 and community discussions.
Ran "Name geography program SEO" and the journal looks very good. No registration rejected.
+---------------------------------------------------------------------------+
From simultaneous program ' geo referencing worker name: 1'
Start 08/07/15 07:44:56
Treatment for the Table: HZ_LOCATIONS and run Type: ALL
Parameters: Country Code: U.S.
Use code: all THE
Location Id: NULL: location Id: null
Start date: NULL: End Date: NULL
Number of workers: 1
Total number of records of location of treaties: 7319
Number of records managed: 7319
Number of rejected records: 0
Name of georeferencing process completed successfully
+---------------------------------------------------------------------------+
But still, I get the same error during the creation of IR
Someone help me please by looking in the uploaded screenshots. Incase if any additional necessary information, pls let me know.
This is related planning tests for this customer, I don't know about this part of the tax.
Any help is really appreciated. Thanks in advance.
Akshay
PS: This is not the sensitive customer data.
Hello Akshay,
Can you please follow the note Transaction Workbench error: System cannot determine your location for information
This location and cannot derive from a tax jurisdiction (Doc ID 438718.1) and see if that helps -
I have properly configured and interpreted the goldengate replication of MySQL 5.1 on Oracle 11g using GG 11 g XE as
Once replication has been successfully started working I added a new column to one of the tables of test TCUSTMER
ALTER TABLE TCUSTMER ADD COLUMN ADDRESS VARCHAR (64) VALUE DEFAULT NULL;
And insert another line in the same table.
INSERT INTO TCUSTMER VALUES ('CLARK', 'CLARK BOATS', 'REDWOOD', 'CA', 'Addresss1 Test');
As soon as I did that replication was broken.
2015-04-16 17:42:44 OGG - 00146 VAM VAMRead error returned unexpected result: 600 - VAM customer error report < CAUSED OF FAILURE: cause metadata table changed
On FAILURE: during the treatment of event table in the journal processor card
Then I returned the DDL change to original
ALTER TABLE DROP COLUMN TCUSTMER ADDRESS;
and I tried to run the replication again
But it does not start as before.
What should I do to move forward with the same configuration.
Hello
Whenever you make a DDL change in the Source table, you must make the same changes on the side of the target also. Then recreate the definition file, copy it to the side of the target and start the process of GoldenGate.
1 Add the column on the side of the target.
2. recreate the definition file and copy it to the side of the target.
3 re-create the Replicat process in the side of the target and try to start it.
Hope it works... !!! Other friends of suggestions?
Kind regards
Veera
-
ERROR at line 1: ORA-00054: resource busy and acquire with NOWAIT specified
Hello
We have an informatica session that maintains the slightest error with this error. These are the locked objects.
Locked object Oracle Username o/s process Locker SID username / Ser # name Date/time of the connection
-------------------- ---------------- ------------- -------------------- --------- ------------ ---- -------------------
IDSSTG. MBRSHP_COV_UL IDSSTG (ACTIVE) informap 21671 sasbsp24 2141,10784 _SYS 2013/09/17 10:35:58
P_DNTL SMU2
$ 8
SYS. OBJ$ IDSSTG (ACTIVE) informap 21671 sasbsp24 2141,10784 _SYS 2013/09/17 10:35:58
SMU2
$ 8
Please indicate how this can be solved?
Kind regards
Narayan
Yes, both are working against IDSSTG. MBRSHP_COV_ULP_DNTL
Why should table be changed (ALTER TABLE) as part of the normal treatment?
Table DDL should be consistent between versions of software version.
the worst that happens is that no INDEX is created.
SQL will run on this table.
just CREATE INDEX later
-
Hello
I have an import running which has been suspended for some time.
The step is the treatment type TABLE_EXPORT/TABLE/TABLE_DATA object.
There is no error in the alert log file as well.
Steps to debug more?
Kind regards
VN
Hello
Check the status of your import by using the following query.
SQL> select sid, USERNAME, OPNAME, start_time, totalwork, sofar, (sofar/totalwork) * 100 pct_done from v$session_longops where totalwork > sofar;
Check also your journal alert if importation is pending in the State can be resumed. If so, check what he expects and fix it.
Thank you!!
-
What objects should be created before impdp?
Hello
Platform: RHEL 5.8 64-bit
ENV: Source Server - Oracle 10.2.0.5 on ASM
Server - Target Oracle 10.2.0.5 on ASM
Specific patterns must be exported from the Source database and imported into the target database - expdp/impdp (datapump) will be used for export and import.
My questions are:
- Objects must be created (roles, synonyms, storage spaces, etc.) initial before importing schemas?
- Is it possible to export these objects (roles, synonyms, storage spaces, etc.) during schema export (expdp) and have Datapump automatically create the database target when importing?
- I might have to repeat the steps expdp/impdp multiple times. I have to let the users/schemas and/or other objects in the database target for later impdp?
Best regards
Post edited by: user130038
Hello
tablespaces/roles can extract only when it is full = y, they are not valid for a snippet of schema. Full = there does not mean it will extract all had by default but as soon as you say will include = x export will have access to export anything, but because you said only include tablespace is all you have - see the example below:
This will not work:
[oracle@server]:EIANCAPP:[~]# expdp / schemas = system include = tablespace]
Export: Release 11.2.0.2.0 - Production on Fri Jul 12 15:23:51 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
With the partitioning option
ORA-39001: invalid argument value
ORA-39041: filter "INCLUDE" either identifies all types of objects or any type of object.This done and extracts only the ddl tablespace:
[oracle@server]:EIANCAPP:[~]# expdp / include = complete tablespace = y]
Export: Release 11.2.0.2.0 - Production on Fri Jul 12 15:24:10 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
With the partitioning option
Departure "OPS$ ORACLE." ' SYS_EXPORT_FULL_01 ': / * include = complete tablespace = y '.
Current estimation using BLOCKS method...
Treatment of DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA object type
Total estimation using BLOCKS method: 0 KB
Object DATABASE_EXPORT/TABLESPACE of treatment type
Main table "OPS$ ORACLE." "' SYS_EXPORT_FULL_01 ' properly load/unloaded
******************************************************************************
Empty the files together for OPS$ ORACLE. SYS_EXPORT_FULL_01 is:
/Oracle/export/EIANCAPP/expdat.dmp
Job ' OPS$ ORACLE. " "" SYS_EXPORT_FULL_01 "conducted at 15:24:17[oracle@server]:EIANCAPP:[~]#
See you soon,.
Harry
Maybe you are looking for
-
No problem here - but I would like to know, tweaks and optimizations and favorite apps
I can answer some of your questions: 1 see this link to add your own notifications: https://supportforums.Motorola.com/thread/45372?TSTART=390 The folder structure is the key 2. There is no way to disable the back 4 button - motorcycle the fact on mo
-
Replace a laptop (standard) 9.5 mm HD with a 7mm (fine) one?
Does anyone know if it is possible to replace a 9.5 mm (standard) thickness 2.5 "hard drive in a HP laptop with a 7mm ("thin")? There are many thin 7mm people now, and I was wondering if I could spend my 9.5 mm with a 7mm thin one? (it would depend
-
Please help advise before going crazyyyyyysum help me ASAP pleaseeee
Hello I bought a rocket, and the concept and everything seem cool BUT I loaded formatted reloaded the songs 3 times and if anyone can help I will do screaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaam I made records separated for each artist and the
-
upgrade vista to 7, fails when you try to uninstall programs, windows setup does not
Install Windows 7, but Windows Installer does not work. Recently, I received my upgrade to 7. I have a new Toshiba running Vista 32 bit. When I try to do the upgrade, I can't go past the part where certain software is uninstalled. The Windows Install
-
Said Microsoft product code is not true
I bought a new Compaq laptop a few months previously, in a box of big name store. When I go to register my Microsoft software it says that the 25-digit product code is wrong. I'm pulling this number immediately sticker windows on the laptop that says