Insert statement is not working for z table.
Hi experts,
My insert statement is not working.
I have used follwing code to update z table .
INSERT ztable FROM TABLE gt_table.
here i have checked gt_table and its filled up with all the records properly.
now the problem is in this table i have 15 fields and it inserts 14 fields of it but
the last field is never inserted though in gt_table i can see value for last fields also.
I have added this field in ztable recently . so i also used se14 to adjust table but still i am facing same problem.
please help me out.
thanks,
Neo
> > Table maintainance will have nothing to do with
> this
> > issue.
>
> It does sometimes when you are trying to see the
> values from SM30 instead of SE16. The value may be
> there, but it may just not seen in SM30 because the
> table maintenance hasn't registered the addition of
> new field.
>
> Another place to look at is the activation log to see
> if there are any warnings issued there.
You shouldn't use SM30 to view table entries. You use this transaction to maintain the table entries. Pure and Simple.
Similar Messages
-
Insert statement will not work if select statement has less number of colum
Hi,
One of my thread is already resolved on the following URL : unable to insert rows into the table
DROP TABLE TEMP;
CREATE TABLE TEMP AS SELECT * FROM CASE_101 WHERE 1=2;
DECLARE
S VARCHAR2(200);
STMT VARCHAR2(500);
begin
for C in (select TABLE_NAME INTO S from USER_TABLES where TABLE_NAME like 'CASE%' TABLE_NAME NOT like '%OLD' and Num_ROWS > 0 order by TABLE_NAME) loop
STMT := 'INSERT INTO TEMP SELECT * FROM ';
STMT:=STMT || C.TABLE_NAME;
EXECUTE IMMEDIATE STMT;
dbms_output.put_line(c.table_name);
end loop;
end;
i am facing now some different; almost all the tables have same number of columns except in few of tables have some additional columns. As above i am creating a table "TEMP" who has highest column temp(by doing some manual process). The table who has less columns than "TEMP" table : Insert statement will not work. 'INSERT INTO TEMP SELECT * FROM less_columns_table_name'.
Please let me know , how can i execute proper way.
Thanks.
Best Regards
Arshaduser13360241 wrote:
Hi,
One of my thread is already resolved on the following URL : unable to insert rows into the table
DROP TABLE TEMP;
CREATE TABLE TEMP AS SELECT * FROM CASE_101 WHERE 1=2;
DECLARE
S VARCHAR2(200);
STMT VARCHAR2(500);
begin
for C in (select TABLE_NAME INTO S from USER_TABLES where TABLE_NAME like 'CASE%' TABLE_NAME NOT like '%OLD' and Num_ROWS > 0 order by TABLE_NAME) loop
STMT := 'INSERT INTO TEMP SELECT * FROM ';
STMT:=STMT || C.TABLE_NAME;
EXECUTE IMMEDIATE STMT;
dbms_output.put_line(c.table_name);
end loop;
end;
i am facing now some different; almost all the tables have same number of columns except in few of tables have some additional columns. As above i am creating a table "TEMP" who has highest column temp(by doing some manual process). The table who has less columns than "TEMP" table : Insert statement will not work. 'INSERT INTO TEMP SELECT * FROM less_columns_table_name'.
Please let me know , how can i execute proper way.
Thanks.
Best Regards
Arshadmore often than not "TEMP" tables are NOT required & are highly inefficient in Oracle.
Either only specify explicit column in TEMP to get data,
or provide value for "extra" column in TEMP -
Drill down is not working for Pivot tables,but working for chart
I have two reports and trying to navigate betwen summary report to detail report. But details report is displaying all the records .The filter condition is not working and displaying all the filters .I have Case statement in my filter.But the summary report column where the filter condition is applied is aggregated in the RPD level. Does this might be the reason ?. Is it passing different type of data type to details report ?. The filter condition is not working for Pivot table .But Chart is working fine and displaying the only selected records based on the filter condition.
Please help me with the below issue.Hi sil174sss,
Per my understanding you are experiencing the issue with the excel report which have add the drill down action, after export to excel only the expanded nodes included and the collapsed nodes is not shown, right?
Generally, if we expand the nodes before export to excel then the excel will display the expanded details row and keep collapsed the details row which haven't expand, but we have the toggle "+","-" on the left of the Excel to help
control the expand and collapse, when you click the "+" you can expand the collapsed notes to see the details rows.
I have tested on my local environment with different version of SSRS and can always see the "+","-" as below:
On the Top left corner you can find the "1","2", this help to control the "Collapse All" and "Expand All".
If you can't see the "+","-" in the excel, the issue can be caused by the Excel version you are currently using, and also excel have limit support of this, please provide us the Excel version information and the SSRS version. You
can reference to this similar thread:
lost collapsing columns when export to excel
Please try to export other drill down report to excel and check if they work fine, if they did, the issue can be caused by the drill down action you have added in this report is not correctly, if possible, please try to redesign the report.
Article below about how to add Expand/Collapse Action to an Item for your reference:
http://msdn.microsoft.com/en-us/library/dd220405.aspx
If your problem still exists, please feel free to ask
Regards
Vicky Liu -
SELECT INTO ( variable ) STATEMENTS NOT WORKING FOR SYBASE TABLE AS VIEW
Dear Experts,
We have connected our 9i db with Sybase db using Hs connectivity.
and then we have create the view in oracle db for SYBASE_TABLE as SYBASE_TABLE_VIEW.
ALL THE INSERT, UPDATE AND DELETE COMMANDS ARE WORKING BUT THE
select Into (variable) is not working.
Please help to resolve the select into statment which is in BOLD in the below routine
PLEASE NOTE! FORM WAS COMPILED SUCCESSFULLY AND FORM IS RUNNING BUT SELECT INTO COMMAND IS NOT WORKING.
Thanks & Regards
Eidy
PROCEDURE SRBL_INSERT IS
CURSOR SRBL IS
SELECT impno,impcod,impnam
from oracle_table1 a, oracle_table2 b
WHERE a.impcod=b.empcod
v_srpcod varchar2(5);
BEGIN
FOR rec in SRBL loop
begin
select "im_code" into v_impcod
from SYBASE_TABLE_VIEW
where "im_code"=rec.impcod;
exception when no_data_found then
v_srpcod:=null;
end;
END LOOP;
END;
Edited by: Eidy on Aug 16, 2010 11:28 AMhellow
try this.
select "im_code" into v_impcod
from SYBASE_TABLE_VIEW
where "im_code"=rec.impcod;
v_srpcod := v_impcod ;
........ -
Insert Statement is not working in Oracle Form
Hi all,
I have developed a custome form from the scarch.
I have one button on that for called "PROCESS"
when I cick on the PROCESS button it should insert record in to one custome table.
I have created custom table in custom schema and given grant to Apps user. as well as I created synonym in Apps for that table.
The code for WHEN-BUTTON-PRESSED
DECLARE
* l_user_id NUMBER:=FND_GLOBAL.USER_ID;*
* l_date DATE :=SYSDATE;*
BEGIN
* FOR i IN REFUND_DETAILS.transaction_tbl.FIRST..REFUND_DETAILS.transaction_tbl.LAST*
* LOOP*
* fnd_message.DEBUG('l_user_id'||l_user_id);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).OU_NAME);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).cust_account_id);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).receipt_number);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).refund_amount);*
INSERT INTO xxkci_ar_refund_details
VALUES(REFUND_DETAILS.transaction_tbl(i).OU_NAME,
REFUND_DETAILS.transaction_tbl(i).cust_account_id,
REFUND_DETAILS.transaction_tbl(i).receipt_number,
REFUND_DETAILS.transaction_tbl(i).refund_amount,
*'1223',--:CUSTOMER.pn_ref,*
*'SUCCESS',--:CUSTOMER.status,*
*'DONE',--:CUSTOMER.MESSAGE,*
l_user_id,
l_date,
l_user_id,
l_date);
* END LOOP;*
* COMMIT;*
END;
when I am running the form from front end and cliking the process button it is throughing the bellow error.
ora-01031 insufficient privileges.
As I have given all the grant for Apps user.
When I am running the same insert satement in toad for the Apps it is working fine no error.
Its Urjent please required a help on this.
Thanks
NiharHave you tried to give the grant to APPLSYS user as well and see if this helps?
If you still get the same error, please obtain the FRD file for details about the error -- http://forums.oracle.com/forums/search.jspa?threadID=&q=FRD&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hi Guru’s,
I have an issue in Transaction SE16, Field selection (User-Specific Settings) is NOT working in Tables (ALL tables).
Following is the screenshot attached for your kind reference,
That is in the initial screen of transaction SE16 if I choose Filed Name or Filed Label only the technical details (Field Names) are appearing and not the descriptions like Client, Purchasing Doc, and Company Code Doc. Category Document Type etc…
Right now I am using ECC6 and EHP7 SAP system.
Please help me to resolve this issue by implementing any OSS note or User Role creations or any technical changes required in system.
Hope the requirement is clear and in case need any clarification please revert back.
NOTE: Right now in Development System we don’t have any successful user to compare the settings.
Regards,
Kumar.SThanks Patra.
Even I searched in SAP portal and couldn't able to find the relevant OSS note.
Following is my BASIS team response,
"Only you can view Table Field values from higher release"
Can you suggest / guide on this comment as well.
Looking forward to your speedy response.
Regards,
Kumar.S -
Pl/sql Clob code not works for database table but works for collection!
Dear friends
I modified pl/sql code to insert large data for clob column ın ORACLE APEX , It works for collection (I modified it to work for both)
the modified code is blod
declare
aClob1 clob := empty_clob;
aClob2 clob ;
begin
dbms_lob.createtemporary( aClob1, false, dbms_lob.SESSION );
for i in 1..wwv_flow.g_f01.count loop
dbms_lob.writeappend(aClob1,length(wwv_flow.g_f01(i)),wwv_flow.g_f01(i));
end loop;
apex_collection.create_or_truncate_collection(p_collection_name => 'CLOB_CONTENT');
apex_collection.add_member(p_collection_name => 'CLOB_CONTENT',p_clob001 => aClob1);
htmldb_application.g_unrecoverable_error := TRUE;
select cc into aClob2 from tt where id = 21 for update ;
dbms_lob.write(aClob2,Length(aClob1),1,aClob1); commit;
end;
but the charcters more than 8100 not be saved to database clob column !
regards
Edited by: Siyavus on Jan 30, 2009 5:26 PM
Edited by: Siyavus on Jan 30, 2009 5:29 PMDear Thomas
dbms_lob.write(aClob2,*dbms_lob.getlength*(aClob1),1,aClob1); commit;
I tried it ( dbms_lob.getlength(aClob1) ) but the result is the same
regards -
AddCurrentValue is not working for Command Table parameters
Hello,
I am using Powerbuilder 10 and RDC for CR XI R2 Sp2. I am able to pass parameters to a report using the ParameterFieldDefinition object by calling AddCurrentValue. But this does not work if the ParameterFieldDefinition was created (in Crystal) when a Command Table is created. Is there something else I should be using to pass a value to these parameters. See my code exert below:
oleobject lo_parameter_field = oio_report.ParameterFields.Item (ll_index)
string ls_value = "123"
lo_parameter_field.AddCurrentValue (ls_temp_string)
Like I said this has always worked for parameters created in the field explorer using "Create New Parameter" dialog, but if the parameter is created in the "Modify Command" dialog it does not work.
Please, am I missing something here? How do I fix this?
ThanksHi Geoff,
The RDC has not been funcitonally updated since version 9. Setting anything in a Command object was added later to the Designer and at the time only setting log on info was capable.
You should download and install SP5 and try again. If the Parameter collection doesn't list the Command Parameter then you'll have to link it to a parameter in CR Designer and see if that works. If not then I heard PB has/or is going to support .NET. You can then upgrade to our .NET assemblies and then you'll have access to them.
If you have not heard RDC in CR XI R2 is the last version shipped.
Thank you
Don -
Insert Statement Will Not Work if a user has
I am using a MySQL database to process my Java Server Page form.
Simply, I always try to see if I can process information, first, via the command line client, then thru JSP.
At the command line client I type:
I type insert into tablename (favorite_quote) VALUES
('Sleepin' in 'da house!');
That insert throws an error. SImply said, because of the bunches of single quotes... Is there any advanced statement or insert statement to solve this?
If I do this:
INSERT INTO tablename (favorite_quote) VALUES
('Java');
It adds the record perfectly normal...
I am REALLY new to Java, so any help on this issue would be great!
BTW: Part of my Java Server Pages has:
String favorite_quote =request.getParameter("favorite_quote");
"INSERT INTO tablename (favorite_quote) VALUES " +
"('"+userid+"')";
Obviously that works fine unless anybody adds a ' or " isn't or what's, etc.
I'm loving Java, I just REALLY need some help on solving this issue.
Thank you so much! Any help would BE **WONDERFUL**!String favorite_quote
te =request.getParameter("favorite_quote");
PreparedStatement ps =
= connection.prepareStatement(""INSERT INTO tablename
(favorite_quote) VALUES (?)");
ps.setString(1, "Sleepin' in 'da house!");
ps.execute();oops a small error
PreparedStatement ps = connection.prepareStatement("INSERT INTO tablename (favorite_quote) VALUES (?)"); -
Select list pagination not working for big tables
Hi,
i am trying to view a table with large amount of data using tabular form. the pagination using select list is not working in this page. i have selected select list kind of pagination but it is showing "row range 1-15 16-30(with set pagination)' type of pagination. when i lowered the amount of data in the table the pagination type will automatically change to select list pagination. could you please tell me why this happens and any possible work around if any.
Thanks,
JoHi Jo,
I don't know what you call a large amount of records, but the effect you describe might be intentional by apex.
The select list pagination would generate a selection tag with (number of records in table/15) options in your page HTML.
Although there isn't a hard limit to the number of options a select list can have there certainly is a limit to what your browser/pc can render.
Think about it
Let's say you table contains a million rows. this would result to a select list with 66666 options. Which your browser won't handle :)
I very possible the apex team resolved this by simply reverting to row range pagination when the number of select options would grow to large.
Geert -
Standalone Weblogic deployment not working for ADF Table
Hi All,
I have create one application using JDeveloper 11g R3. I have taken one ADF Rich Table
When i run application in Jdeveloper it runs fine.
Now issue is when i deployee the same in standalone Weblogic server it is not running(Page gets open but table dosent display).
But when i use same datacontrol and drag it as ADF Form it is working fine.
Also weblogic server is not showing any logs.
Please suggest.
Thanks,
VijayThe Admin Server Log is bellow,
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\w
ic_patch.jar;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Orac
DDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic.server.modu
0.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\modules\NETSF
_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\Orac
DDLE~1\WLSERV~1.3\server\lib\xqrl.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\patch_
111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\utils\config\10.3\config-launch
E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic
er.modules_10.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\m
s\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.j
PATH=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\serve
ive\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160
n;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\n
\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\
:\Oracle\app\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Oracle\MIDD
WLSERV~1.3\server\native\win\32\oci920_8;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
Starting WLS with line:
E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminSer
Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~
Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE
-Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djr
.optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\
g\FMWCON~1 -Doracle.server.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=E:\Orac
DDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=E:\Oracle
LE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\carml -Digf.arisidstack.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\arisidprovider -D
gic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dwebl
jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Orac
DDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Serv
<Jan 19, 2011 4:34:37 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Micr
ems Inc.>
<Jan 19, 2011 4:34:37 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Jan 19, 2011 4:34:38 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jan 19, 2011 4:34:38 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jan 19, 2011 4:34:38 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file E:\Oracle\Middleware\user_projects\domains\base_domain\servers\Ad
rver\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Jan 19, 2011 4:34:40 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jan 19, 2011 4:34:43 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jan 19, 2011 4:34:43 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service succes
y.>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:a81:c06c:7001 for protocols iiop,
dap, snmp, http.>
<Jan 19, 2011 4:34:48 PM IST> <Warning> <Server> <BEA-002611> <Hostname "INEDEC-ENP-70.emrsn.org", maps to multiple IP addresses: 10.129.192.108, fe80:0:0:
1:2cf6:49b4:9963%11>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, s
http.>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, h
<Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.129.192.108:7001 for protocols iiop, t3, ldap, snmp,
.>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:31c1:2cf6:49b4:9963:7001 for protocols ii
3, ldap, snmp, http.>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Devel
t Mode>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jan 19, 2011 4:46:29 PM IST> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initial
correctly.>
<Jan 19, 2011 4:47:01 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>
<Jan 19, 2011 4:48:08 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtestdep%2CTy
AppDeployment%22%29.>
<Jan 19, 2011 4:48:45 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>
<Jan 19, 2011 4:49:03 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtestdep%2CTy
AppDeployment%22%29.>
<Jan 19, 2011 4:49:45 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.> -
Partition pruning not working for partitioned table joins
Hi,
We are joining 4 partitioned tables on partition column & other key columns. And we are filtering the driving table on partition key. But explain plan is showing that all tables except the driving table are not partition pruning and scanning all partitions.Is there any limitation that filter condition cannot be dynamic?
Thanks a lot in advance.
Here are the details...
SELECT a.pay_prd_id,
a.a_id,
a.a_evnt_no
FROM b,
c,
a,
d
WHERE ( a.pay_prd_id = b.pay_prd_id ---partition range all
AND a.a_evnt_no = b.b_evnt_no
AND a.a_id = b.b_id
AND ( a.pay_prd_id = c.pay_prd_id---partition range all
AND a.a_evnt_no = c.c_evnt_no
AND a.a_id = c.c_id
AND ( a.pay_prd_id = d.pay_prd_id---partition range all
AND a.a_evnt_no = d.d_evnt_no
AND a.a_id = d.d_id
AND (a.pay_prd_id = ---partition range single
CASE '201202'
WHEN 'YYYYMM'
THEN (SELECT min(pay_prd_id)
FROM pay_prd
WHERE pay_prd_stat_cd = 2)
ELSE TO_NUMBER ('201202', '999999')
END
DDLs.
create table pay_prd
pay_prd_id number(6),
pay_prd_stat_cd integer,
pay_prd_stat_desc varchar2(20),
a_last_upd_dt DATE
insert into pay_prd
select 201202,2,'OPEN',sysdate from dual
union all
select 201201,1,'CLOSE',sysdate from dual
union all
select 201112,1,'CLOSE',sysdate from dual
union all
select 201111,1,'CLOSE',sysdate from dual
union all
select 201110,1,'CLOSE',sysdate from dual
union all
select 201109,1,'CLOSE',sysdate from dual
CREATE TABLE A
(PAY_PRD_ID NUMBER(6) NOT NULL,
A_ID NUMBER(9) NOT NULL,
A_EVNT_NO NUMBER(3) NOT NULL,
A_DAYS NUMBER(3),
A_LAST_UPD_DT DATE
PARTITION BY RANGE (PAY_PRD_ID)
INTERVAL( 1)
PARTITION A_0001 VALUES LESS THAN (201504)
ENABLE ROW MOVEMENT;
ALTER TABLE A ADD CONSTRAINT A_PK PRIMARY KEY (PAY_PRD_ID,A_ID,A_EVNT_NO) USING INDEX LOCAL;
insert into a
select 201202,1111,1,65,sysdate from dual
union all
select 201202,1111,2,75,sysdate from dual
union all
select 201202,1111,3,85,sysdate from dual
union all
select 201202,1111,4,95,sysdate from dual
CREATE TABLE B
(PAY_PRD_ID NUMBER(6) NOT NULL,
B_ID NUMBER(9) NOT NULL,
B_EVNT_NO NUMBER(3) NOT NULL,
B_DAYS NUMBER(3),
B_LAST_UPD_DT DATE
PARTITION BY RANGE (PAY_PRD_ID)
INTERVAL( 1)
PARTITION B_0001 VALUES LESS THAN (201504)
ENABLE ROW MOVEMENT;
ALTER TABLE B ADD CONSTRAINT B_PK PRIMARY KEY (PAY_PRD_ID,B_ID,B_EVNT_NO) USING INDEX LOCAL;
insert into b
select 201202,1111,1,15,sysdate from dual
union all
select 201202,1111,2,25,sysdate from dual
union all
select 201202,1111,3,35,sysdate from dual
union all
select 201202,1111,4,45,sysdate from dual
CREATE TABLE C
(PAY_PRD_ID NUMBER(6) NOT NULL,
C_ID NUMBER(9) NOT NULL,
C_EVNT_NO NUMBER(3) NOT NULL,
C_DAYS NUMBER(3),
C_LAST_UPD_DT DATE
PARTITION BY RANGE (PAY_PRD_ID)
INTERVAL( 1)
PARTITION C_0001 VALUES LESS THAN (201504)
ENABLE ROW MOVEMENT;
ALTER TABLE C ADD CONSTRAINT C_PK PRIMARY KEY (PAY_PRD_ID,C_ID,C_EVNT_NO) USING INDEX LOCAL;
insert into c
select 201202,1111,1,33,sysdate from dual
union all
select 201202,1111,2,44,sysdate from dual
union all
select 201202,1111,3,55,sysdate from dual
union all
select 201202,1111,4,66,sysdate from dual
CREATE TABLE D
(PAY_PRD_ID NUMBER(6) NOT NULL,
D_ID NUMBER(9) NOT NULL,
D_EVNT_NO NUMBER(3) NOT NULL,
D_DAYS NUMBER(3),
D_LAST_UPD_DT DATE
PARTITION BY RANGE (PAY_PRD_ID)
INTERVAL( 1)
PARTITION D_0001 VALUES LESS THAN (201504)
ENABLE ROW MOVEMENT;
ALTER TABLE D ADD CONSTRAINT D_PK PRIMARY KEY (PAY_PRD_ID,D_ID,D_EVNT_NO) USING INDEX LOCAL;
insert into c
select 201202,1111,1,33,sysdate from dual
union all
select 201202,1111,2,44,sysdate from dual
union all
select 201202,1111,3,55,sysdate from dual
union all
select 201202,1111,4,66,sysdate from dualBelow query generated from Business Objects and submitted to Database (the case statement is generated by BO). Cant we use Case/Subquery/Decode etc for the partitioned column? We are assuming that the case causing the issue to not to dynamic partition elimination on the other joined partitioned tables (TAB_B_RPT, TAB_C_RPT).
SELECT TAB_D_RPT.acvy_amt,
TAB_A_RPT.itnt_typ_desc,
TAB_A_RPT.ls_typ_desc,
TAB_A_RPT.evnt_no,
TAB_C_RPT.pay_prd_id,
TAB_B_RPT.id,
TAB_A_RPT.to_mdfy,
TAB_A_RPT.stat_desc
FROM TAB_D_RPT,
TAB_C_RPT fee_rpt,
TAB_C_RPT,
TAB_A_RPT,
TAB_B_RPT
WHERE (TAB_B_RPT.id = TAB_A_RPT.id)
AND ( TAB_A_RPT.pay_prd_id = TAB_D_RPT.pay_prd_id -- expecting Partition Range Single, but doing Partition Range ALL
AND TAB_A_RPT.evnt_no = TAB_D_RPT.evnt_no
AND TAB_A_RPT.id = TAB_D_RPT.id
AND ( TAB_A_RPT.pay_prd_id = TAB_C_RPT.pay_prd_id -- expecting Partition Range Single, but doing Partition Range ALL
AND TAB_A_RPT.evnt_no = TAB_C_RPT.evnt_no
AND TAB_A_RPT.id = TAB_C_RPT.id
AND ( TAB_A_RPT.pay_prd_id = fee_rpt.pay_prd_id -- expecting Partition Range Single
AND TAB_A_RPT.evnt_no = fee_rpt.evnt_no
AND TAB_A_RPT.id = fee_rpt.id
AND (TAB_A_RPT.rwnd_ind = 'N')
AND (TAB_A_RPT.pay_prd_id =
CASE '201202'
WHEN 'YYYYMM'
THEN (SELECT DISTINCT pay_prd.pay_prd_id
FROM pay_prd
WHERE pay_prd.stat_cd = 2)
ELSE TO_NUMBER ('201202', '999999')
END
And its explain plan is...
Plan
SELECT STATEMENT ALL_ROWS Cost: 79 K Bytes: 641 M Cardinality: 3 M
18 HASH JOIN Cost: 79 K Bytes: 641 M Cardinality: 3 M
3 PART JOIN FILTER CREATE SYS.:BF0000 Cost: 7 K Bytes: 72 M Cardinality: 3 M
2 PARTITION RANGE ALL Cost: 7 K Bytes: 72 M Cardinality: 3 M Partition #: 3 Partitions accessed #1 - #1048575
1 TABLE ACCESS FULL TABLE TAB_D_RPT Cost: 7 K Bytes: 72 M Cardinality: 3 M Partition #: 3 Partitions accessed #1 - #1048575
17 HASH JOIN Cost: 57 K Bytes: 182 M Cardinality: 874 K
14 PART JOIN FILTER CREATE SYS.:BF0001 Cost: 38 K Bytes: 87 M Cardinality: 914 K
13 HASH JOIN Cost: 38 K Bytes: 87 M Cardinality: 914 K
6 PART JOIN FILTER CREATE SYS.:BF0002 Cost: 8 K Bytes: 17 M Cardinality: 939 K
5 PARTITION RANGE ALL Cost: 8 K Bytes: 17 M Cardinality: 939 K Partition #: 9 Partitions accessed #1 - #1048575
4 TABLE ACCESS FULL TABLE TAB_C_RPT Cost: 8 K Bytes: 17 M Cardinality: 939 K Partition #: 9 Partitions accessed #1 - #1048575
12 HASH JOIN Cost: 24 K Bytes: 74 M Cardinality: 957 K
7 INDEX FAST FULL SCAN INDEX (UNIQUE) TAB_B_RPT_PK Cost: 675 Bytes: 10 M Cardinality: 941 K
11 PARTITION RANGE SINGLE Cost: 18 K Bytes: 65 M Cardinality: 970 K Partition #: 13 Partitions accessed #KEY(AP)
10 TABLE ACCESS FULL TABLE TAB_A_RPT Cost: 18 K Bytes: 65 M Cardinality: 970 K Partition #: 13 Partitions accessed #KEY(AP)
9 HASH UNIQUE Cost: 4 Bytes: 14 Cardinality: 2
8 TABLE ACCESS FULL TABLE PAY_PRD Cost: 3 Bytes: 14 Cardinality: 2
16 PARTITION RANGE JOIN-FILTER Cost: 8 K Bytes: 106 M Cardinality: 939 K Partition #: 17 Partitions accessed #:BF0001
15 TABLE ACCESS FULL TABLE TAB_C_RPT Cost: 8 K Bytes: 106 M Cardinality: 939 K Partition #: 17 Partitions accessed #:BF0001
Thanks Again. -
Insert statement is not working properly
I've problem in inserting values in database.I'm able to retrieve data from a table, but I'm not able to store any values in a table.I've got no runtime error.In code, executeUpdate() statement is also returning 1(which shows successful execution).
PROGRAM CODE:
import java.io.*;
import java.sql.*;
public class test1
public static void main(String args[])
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:office");
Statement st=con.createStatement();
String query="insert into nam values('[email protected]')";
int i=st.executeUpdate(query);
System.out.println(i);
catch(Exception e)
System.out.println(e);
Eagerly Expecting a solution
Thanks & Regards
VenkiWill not help, if he didn't change AutoCommit to false.
An idea: Do you use Access?
Then it might be this one again:
http://forum.java.sun.com/thread.jsp?forum=48&thread=147704 -
Insert Statement is not working
Hi all
I am using MySql.
I want to insert a string into DB which also has singlequotes and double quotes.
I am able to insert single quotes but when i am inserting double quotes i'm getting sql exception.
any example code is much appreciated.
can anybody help?
Advance thamksBhanu,
I gotta tell you that is about the dumbest post I have read on here in some time.
It doesn't matter where the variable comes from... one you hard-coded in your source or user entered at run time.... the idea is the same.
USE PREPARED STATEMENTS.
The prepared statement AT RUN TIME will do what needs to be done with your value..
It doesn't matter where it is coming from.
I suppose you know all about design patterns eh? Yeah that's nice.
Just maybe try the code sample out.. replacing the value with the one you get from the user. You will see it works. -
I Bought my iPad In the US but I think I registered it with a Canadian address... I am in Florida and just bought iTunes cards and it's saying code is not valid, something about a US storefront.
Is there any way around this? Thanks!Hello mmulder618,
I would recommend trying to download the songs again from your list or purchased songs on the iPhone. As long as you are signed in with the same Apple ID you used to purchase the songs, you will not be charged for the songs.
You can find the steps to do this under the section titled "Apps, Books, Music, Movies, or TV shows on iOS" in the following article:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/ht2519
I also found an article to troubleshoot Home Sharing so that you can get that working:
Troubleshooting Home Sharing
http://support.apple.com/kb/ts2972
Thank you for posting in the Apple Support Communities.
Best,
Sheila M.
Maybe you are looking for
-
Some 8 months ago, I started saving user options in my cookie; as user changed options, my php code change the cookie value. I work normally with Camino, but verify with Firefox (V. 3). An associate with a newer MacBook Pro, with Firefox V. 5, tried
-
Time to do first Backup in Time Mchine
Hey my Leopard installation has been flawless on several machines; sorry to hear about those with trouble. But if you have a large file collection, be prepared for a LONG initial run on Time Machine. I've got about 1.4 million files, using about 800
-
Send and reactive ByteArray in AS2
Can anybody help me how to send and reactive the ByteArray from flash to server through port and XML socket ?
-
Right-click: move "to Dropbox" down away from "to Trash"??
Dropbox was improved recently. Now, I see in the contextual menu (right-click menu) immediately below the clickable "Move to Trash" appears the clickable "Move to Dropbox" which is stupid How do I rearrange the right-click menu? I want "Move to Dropb
-
How to preseve resolution when creating an iDVD
I have movie that i made in photo-to-movie. It is DV format 1280x720. Looks great when viewed via QT player. I created a widescreen iDVD project and set the prefs to high quality. When I play the DVD on the TV it look a bit fuzzy. Can I imporve this.