Delete expired not working
Good Morning,
I have a 10g 2 database using flash recovery. I checked the flash recovery area and in there is listed arc log files from February. I had clicked the delete expired several times but it does not take affect.
Is this a known bug or am I not doing something right?
Your help in this matter would be appreciated.
thanks in advance.
al
CAN THIS IS A REASON!!!
RMAN WILL DELETE ARCHIVELOGS FROM DISK WHICH ARE OBSOLETE IF YOU ARE USING A CATALOG, HERE IS A SMALL TEST
FIRST I WILL RUN WITH CATALOG
RMAN> connect target /
RMAN> connect catalog rman/rman@rman
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt1/app/oracle/product/ora92/dbs/snapcf_dgtest.f'; # default
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Tag
850279 B A A DISK 16-MAY-07 1 1 TAG20070516T145909
850302 B A A DISK 16-MAY-07 1 1 TAG20070516T145916
850326 B A A DISK 16-MAY-07 1 1 TAG20070516T145928
850351 B A A DISK 16-MAY-07 1 1 ARCH
850377 B A A DISK 16-MAY-07 1 1 ARCH
850405 B A A DISK 16-MAY-07 1 1 ARCH
850409 B 0 A DISK 16-MAY-07 1 1 TAG20070516T150205
850427 B A A DISK 16-MAY-07 1 1 TAG20070516T150239
850431 B 0 A DISK 16-MAY-07 1 1 TAG20070516T150250
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=22 devtype=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 850279 16-MAY-07
Backup Piece 850280 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1iihsf9t_1_1
Backup Set 850302 16-MAY-07
Backup Piece 850303 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1jihsfa4_1_1
Backup Set 850326 16-MAY-07
Backup Piece 850327 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1kihsfag_1_1
Backup Set 850351 16-MAY-07
Backup Piece 850352 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1lihsfce_1_1
Backup Set 850377 16-MAY-07
Backup Piece 850378 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1mihsfcl_1_1
Backup Set 850405 16-MAY-07
Backup Piece 850406 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1nihsfea_1_1
Backup Set 850409 16-MAY-07
Backup Piece 850410 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1oihsffd_1_1
Backup Set 850427 16-MAY-07
Backup Piece 850428 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1pihsfgf_1_1
Archive Log 850228 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_168.dbf
Archive Log 850229 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_169.dbf
Archive Log 850230 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_170.dbf
Archive Log 850231 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_171.dbf
Archive Log 850232 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_172.dbf
Archive Log 850233 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_173.dbf
Archive Log 850234 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_174.dbf
Archive Log 850235 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_175.dbf
Archive Log 850236 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_176.dbf
Archive Log 850237 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_177.dbf
Archive Log 850238 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_178.dbf
Archive Log 850239 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_179.dbf
Archive Log 850240 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_180.dbf
Archive Log 850241 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_181.dbf
Archive Log 850242 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_182.dbf
Archive Log 850243 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_183.dbf
Archive Log 850277 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_184.dbf
Archive Log 850300 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_185.dbf
Archive Log 850324 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_186.dbf
Archive Log 850349 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_187.dbf
Archive Log 850375 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_188.dbf
Archive Log 850403 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_189.dbf
Archive Log 850425 16-MAY-07 /data1/oradata/dgtest/archive/dgtest_1_190.dbf
Do you really want to delete the above objects (enter YES or NO)? NO
RMAN SHOWS ARCHIVES WHICH ITS GOING TO DELETE ALONG WITH BACKUPSETS
NOW SEE IT WITHOUT THE CATALOG
RMAN> quit
Recovery Manager complete.
$ rman
Recovery Manager: Release 9.2.0.6.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN> connect target /
connected to target database: DGTEST (DBID=3559913552)
RMAN> delete obsolete;
using target database controlfile instead of recovery catalog
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=23 devtype=DISK
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 48 16-MAY-07
Backup Piece 48 16-MAY-07 /opt1/app/oracle/product/ora92/dbs/1oihsffd_1_1
Do you really want to delete the above objects (enter YES or NO)? no
RMAN> $ rman
Similar Messages
-
in iTunes 11.1 (I26) , I cannot find how to delete podcast listings showing undownloaded podcasts. Delete does not work. Option Delete does not work. Dragging to the trash does not work. Under Edit, Delete is greyed out. Mac OS 10.6.8.
Tom at the Genius Bar told me that Option Delete would work. It does not.
I had to upgrade to iTunes 11.1.(I26) because it is required with OS7 on my iPod Touch (5th Gen). I have tried shutting down iTunes, then shutting down the entire system. This is the first in many visits that the Genius Bar gave me a solution that did not work.
This is a big awkward computer locked to my desk. I would rather not unlock it and then carry it through a shopping center to the Genius Bar if i can avoid oit.
When I installed iTunes 11.1, I discovered that Ihad to resubscribe to virtually all of the podcasts that I had previously been subscribed to. That was a surprise.Hello Achates:
I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
http://docs.info.apple.com/article.html?artnum=107120
In that way, you will have a fresh copy of OS X and your current settings will be preserved.
Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
Barry -
Other database delete is not working on forall statement
Dear all,
My scenario is , i create a program, the program fetch the data from database x and i want to delete on the same x database but i am running this program at y database, so
so i created a view
create or replace view vw_ibs_pda_bills_x as
SELECT *
FROM ibs_pda_bills_x@testarch1my program
Declare
CURSOR c2 IS
SELECT *
FROM vw_ibs_pda_bills_x
WHERE bill_month <= '31-dec-2008'; -- AND bpref_no = :cons;
opr varchar2(10) := 'DELETE';
TYPE tsch IS TABLE OF c2%ROWTYPE;
vtsch tsch;
cnt NUMBER := 0;
stime NUMBER;
etime NUMBER;
DURATION NUMBER;
rcount NUMBER;
errorsd PLS_INTEGER;
ecode NUMBER;
val1 VARCHAR2 (100);
val2 VARCHAR2 (100);
val3 VARCHAR2 (100);
val4 VARCHAR2 (100);
BEGIN
BEGIN
stime := DBMS_UTILITY.get_time ();
OPEN c2;
LOOP
FETCH c2
BULK COLLECT INTO vtsch LIMIT 1000;
IF vtsch.COUNT = 1000
THEN
cnt := cnt + 1;
END IF;
If opr = 'INSERT' Then
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
INSERT INTO dlul.ibs_pda_bills
VALUES vtsch (i);
Else
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
Delete from vw_ibs_pda_bills_x where bill_month = vtsch(i).bill_month;
End if;
EXIT WHEN c2%NOTFOUND;
END LOOP;
etime := DBMS_UTILITY.get_time ();
DURATION := ((etime - stime) / 100) / 60;
rcount :=
(cnt * 1000) + vtsch.COUNT - NVL (SQL%BULK_EXCEPTIONS.COUNT, 0);
If opr = 'INSERT' Then
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS', DURATION, rcount);
Else
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS-D', DURATION, rcount);
End if;
CLOSE c2;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errorsd := SQL%BULK_EXCEPTIONS.COUNT;
IF errorsd > 0
THEN
FOR j IN 1 .. errorsd
LOOP
ecode := SQL%BULK_EXCEPTIONS (j).ERROR_CODE;
val1 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).sch_code;
val2 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bpref_no;
val3 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bill_month;
val4 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).service_code;
If opr = 'INSERT' Then
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'INSERT');
Else
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'DELETE');
End if;
END LOOP;
END IF;
END;
END pda_insert;the program want to do the delet option for all delete is not working. The program executed successful but the operation delete is not happening
how to solve this issue.
please help me
kanishNo error encountered in my log table
the new workaround you said, that is instead of for all , already i tried for i in 1.. to like
instead of forall delete i tried the following way
Declare
CURSOR c2 IS
SELECT *
FROM ibs_pda_bills_x@testarch1
WHERE bill_month <= '31-dec-2008'; -- AND bpref_no = :cons;
opr varchar2(10) := 'DELETE';
TYPE tsch IS TABLE OF c2%ROWTYPE;
vtsch tsch;
cnt NUMBER := 0;
stime NUMBER;
etime NUMBER;
DURATION NUMBER;
rcount NUMBER;
errorsd PLS_INTEGER;
ecode NUMBER;
val1 VARCHAR2 (100);
val2 VARCHAR2 (100);
val3 VARCHAR2 (100);
val4 VARCHAR2 (100);
BEGIN
BEGIN
stime := DBMS_UTILITY.get_time ();
OPEN c2;
LOOP
FETCH c2
BULK COLLECT INTO vtsch LIMIT 1000;
IF vtsch.COUNT = 1000
THEN
cnt := cnt + 1;
END IF;
If opr = 'INSERT' Then
FORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
INSERT INTO dlul.ibs_pda_bills
VALUES vtsch (i);
Else
/* fORALL i IN 1 .. vtsch.COUNT SAVE EXCEPTIONS
Delete from vw_ibs_pda_bills_x where to_char(bill_month,'dd-mm-rrrr') = to_char(vtsch (i).bill_month,'dd-mm-rrrr');*/
for i in 1..vtsch.count loop
delete ibs_pda_bills_x@testarch1 where to_char(bill_month,'dd-mm-rrrr') = to_char(vtsch (i).bill_month,'dd-mm-rrrr');
end loop;
End if;
EXIT WHEN c2%NOTFOUND;
END LOOP;
etime := DBMS_UTILITY.get_time ();
DURATION := ((etime - stime) / 100) / 60;
rcount :=
(cnt * 1000) + vtsch.COUNT - NVL (SQL%BULK_EXCEPTIONS.COUNT, 0);
If opr = 'INSERT' Then
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS', DURATION, rcount);
Else
INSERT INTO process_stage_log
VALUES (SYSDATE, 'IBS_PDA_BILLS-D', DURATION, rcount);
End if;
CLOSE c2;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errorsd := SQL%BULK_EXCEPTIONS.COUNT;
IF errorsd > 0
THEN
FOR j IN 1 .. errorsd
LOOP
ecode := SQL%BULK_EXCEPTIONS (j).ERROR_CODE;
val1 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).sch_code;
val2 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bpref_no;
val3 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).bill_month;
val4 :=
vtsch (SQL%BULK_EXCEPTIONS (j).ERROR_INDEX).service_code;
If opr = 'INSERT' Then
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'INSERT');
Else
INSERT INTO process_error_log
VALUES (SYSDATE, ecode, 'IBS_PDA_BILLS', 'sch_code', val1,
'bpref_no', val2, 'bill_month', val3, 'service_code', val4,'DELETE');
End if;
END LOOP;
END IF;
END;
END pda_insert;i am receiving the following error
ORA-02055: distributed update operation failed; rollback required
ORA-06531: Reference to uninitialized collection
ORA-06512: at line 77
ORA-06531: Reference to uninitialized collection
kanish -
Multiple delete is not working.
Hi,
Multiple delete is not working. Please find my backend bean code. Please let me know the issue in my code.
Table:
<af:table value="#{bindings.CmProcessParamValueView13.collectionModel}"
var="row"
rows="#{bindings.CmProcessParamValueView13.rangeSize}"
emptyText="#{bindings.CmProcessParamValueView13.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.CmProcessParamValueView13.rangeSize}"
rowBandingInterval="1"
selectedRowKeys="#{bindings.CmProcessParamValueView13.collectionModel.selectedRow}"
selectionListener="#{bindings.CmProcessParamValueView13.collectionModel.makeCurrent}"
rowSelection="multiple"
binding="#{backingBeanScope.backing_app_RunCalcPage.t1}"
id="t1" width="720px" inlineStyle="height:140px;" partialTriggers="cb6 cb3"
filterVisible="true" filterModel="#{bindings.CmProcessParamValueView13.queryDescriptor}" >
<af:column sortProperty="ParamValue7"
sortable="true" width="690"
headerText="Comm Type"
rowHeader="unstyled"
id="c2" align="left" filterable="true">
<af:outputText value="#{row.ParamValue7}"
id="ot4"/>
</af:column>
</af:table>
Backing Bean Delete Code:
RowKeySet rowKeySet = (RowKeySet)this.t1.getSelectedRowKeys();
CollectionModel cm = (CollectionModel)this.t1.getValue();
System.out.println("RowKeySet is: "+ rowKeySet.getSize());
for (Object facesTreeRowKey : rowKeySet) {
cm.setRowKey(facesTreeRowKey);
JUCtrlHierNodeBinding rowData =
(JUCtrlHierNodeBinding)cm.getRowData();
System.out.println("RowData is : "+rowData.getAttribute("ParamValue7"));
rowData.getRow().remove();
Thanks.Issue is resolved...
Solution is,
Remove selectionListener and selectedKey attributes from the table.
Delete code is:
DCBindingContainer dcBindings =
(DCBindingContainer)getBindings();
DCIteratorBinding dcIterator =
dcBindings.findIteratorBinding("Iterator...");
RowSetIterator rs = dcIterator.getRowSetIterator();
RowKeySet rks = this.t1.getSelectedRowKeys();
Iterator rksIter = rks.iterator();
while (rksIter.hasNext()) {
List l = (List) rksIter.next();
Key key = (Key)l.get(0);
Row row = rs.getRow(key);
if(row != null)
row.remove();
} -
space.anddelte
space.and.delete.keys.not.working.on.wireless.keyboard.help!Before replacing the keyboard do 2-3 SMC resets using the instructions in iMac SMC and PRAM reset
-
Is it possible to check automati all bookmarks, and delete the not working bookmarks
Is it possible to check automatic all bookmarks, and delete the not working bookmarks
Try this extension:
*CheckPlaces: https://addons.mozilla.org/firefox/addon/checkplaces/ -
At the top of my Mozilla home page, it lists the current URL site, such as http://www.safeco.com, I am on plus the others in the drop down box. How do I delete them. Highlighting and hitting delete does not work.
I am using windows Vista 007 and Mozila 3.6.1.3Do those entries have a yellow star at the far right?
If they have then they are bookmarks. You can remove them if you open that link and click the star to open the Edit This Bookmark dialog and click the Remove button in that dialog.
* [[Clearing Location bar history]]
* [[Cannot clear Location bar history]] -
I have a MacBook Air using Maverick. I have files in the trash I want to recover to their original files. I do not have "Back Up" and "Command + Delete" does not work.
Drag them out of the Trash and put them in their original location. Put Back may work on one file at a time.
-
Delete is not working properly
I modified the Delete server behavior to delete associated
records from the child tables and then delete the parent table as
follows:
if ((isset($_POST['peereduid'])) &&
($_POST['peereduid'] != "")) {
$deleteTPRSQL = sprintf("DELETE FROM TEENPEERRELATIONSHIP
WHERE PEEREDU_OWNS_ID=%s AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteTPRSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteCRBSQL = sprintf("DELETE FROM CONTACTREFERREDBY WHERE
PEEREDU_OWNS_ID=%s AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteCRBSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteCTSQL = sprintf("DELETE FROM CONTACTTOPIC WHERE
PEEREDU_OWNS_ID=%s
AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteCTSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteCMSQL = sprintf("DELETE FROM CONTACTMATERIAL WHERE
PEEREDU_OWNS_ID=%s AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteCMSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteCSSQL = sprintf("DELETE FROM CONTACTSERVICE WHERE
PEEREDU_OWNS_ID=%s
AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteCSSQL, $cnPeer_Outreach) or
die(mysql_error());
$deletePRTSQL = sprintf("DELETE FROM PEERRECOMMENDSTALK
WHERE PEEREDU_OWNS_ID=%s AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deletePRTSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteTPASQL = sprintf("DELETE FROM TEENPROMISESACTION
WHERE PEEREDU_OWNS_ID=%s AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteTPASQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteTPTSQL = sprintf("DELETE FROM TEENPROMISESTALK WHERE
PEEREDU_OWNS_ID=%s AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteTPTSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteTPMVSQL = sprintf("DELETE FROM
TEENPROMISESMEDICALVISIT WHERE PEEREDU_OWNS_ID=%s AND TEEN_ID=%s
AND PEEREDU_TALKS_ID=%s AND CONTACT_DATE=str_to_date(%s,
'%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteTPMVSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteSQL = sprintf("DELETE FROM CONTACT WHERE
PEEREDU_OWNS_ID=%s
AND TEEN_ID=%s AND PEEREDU_TALKS_ID=%s AND
CONTACT_DATE=str_to_date(%s, '%%Y-%%c-%%e')",
GetSQLValueString($_POST['peereduid'], "int"),
GetSQLValueString($_POST['teenid'], "int"),
GetSQLValueString($_POST['peeredutalksid'], "int"),
GetSQLValueString($_POST['contactdate'], "date"));
mysql_select_db($database_cnPeer_Outreach,
$cnPeer_Outreach);
$Result1 = mysql_query($deleteSQL, $cnPeer_Outreach) or
die(mysql_error());
$deleteGoTo = "peerselect.php";
if (isset($_SERVER['QUERY_STRING'])) {
$deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
$deleteGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $deleteGoTo));
The problem is that the deleteGoTo is not working. After the
delete, I am shown the original page again. Can anyone tell me what
I need to do to get it working?Hi paramu
I think you didn't get my question
The new row is not saved into DB, user add a new record simply he change his mind half way and need
to delete new record in form (As I understand this row only created in related iterator)
So he expect after delete form goes back to previous state
Thanks
Mohsen -
Delete button not working on the desktop
Hello There,
I am a new mac user. I don't know but for some reason, delete button on the desktop is not working, i.e. if I want to delete something I have to right click and then select "move to trash", is there are workaround for that, or it is like that only.
Thanks in advance!!
Regards
NikhilHi There,
First, welcome to Macintosh! To delete a file, use Command + Delete (The key with the apple logo on it is the command key.) Pressing delete alone will not move the file to the trash.
Good luck! -
Delete query not working ?
hi all,
this delete query is not working for me. Could you please help me and tell me ho to resolve this ? The error i get when executing this query is "ORA-00903: invalid table name". The table name is correct I fail to understand why does it show invalid table name.
Thanking you all.
RegardsObviously the table name isn't correct. Either that, or the user that the query is running under doesn't have permissions to view it, so it's getting the response that the table does not exist.
Look at the user you are connecting as. Log in to sqlplus and make sure that user has select perms on the table.
Check your spelling of the table name. Typos happen. -
I subscribe to a mailing list using a particular email address (not my primary account), all mail for which is redirected into a mailbox. I only want to keep messages from the last five days. I have a Rule which is set as follows:
If ALL of the following conditions are met:
Account = <the account>
Date Received is Greater Than 5 days old
Perform the following actions:
Delete Message
This rule does does not work. It is the first rule in my list of Rules. And it simply does nothing. Why?Maxplanar,
Mail rules only run when the item is first processed. So you are in effect going to delete things only when they are received in an "old" state.
I would set up a smart mailbox or two. One to only show the 5 days of mail you want to pay attention to. Optionally make another smart mailbox to contain messages older than 5 days. You can just refer to the first mailbox and only see the messages you want. The other mailbox will be there for once a month when you select all the messages and delete them.
Most macs can handle 5 to 10 thousand messages without even starting to slow down. Perhaps once you have a managable folder that shows you the messages you care to see, you can live with manually cleaning up much less often? -
Most apps deleted or not working on my c2-02
Applications on my nokia c2-02 are not working i can't open the music player, when i try to open maps or store i get a messege saying app not really and the shortcuts for these two apps have been deleted from the main menu. All my certificates have been deleted as well. What should i do to fix this please help
i do have similar problems. Please help us.
-
Table Maintenance Generator-Before Delete event not working with sort
Hi All,
I have requirement to sort the TMG for a custom table with non primary key and also to put condition for deleting entries, so that only specific entries can be deleted.
I did the sorting by adding MODULE SORT in the PBO of the Screen and providing the logic to sort EXTRACT and TOTAL tables with the required field. This is working correctly.
Also I used BEFORE_DELETE (Event 03) to unmark all entries selected, which is not satisfying the condition. This is also working as expected.
But, though they are working independently, these changes are not working together.
Please help me in resolving this issue.
Thanks,
SavithaHello,
Read my answer on this thread :
Maintenance View with Subset Fields
I think It can help you about finding examples for table maintenance events
and solution to your problem. -
Why can't I delete files in iTunes? NO DELETE does NOT work.
iTunes 11.1 will not delete files from list, and NO the delete key does not work for that thanks.
I'd recommend just giving up on the List View in iTunes. As far as I can tell, you CANNOT get rid of anything in that view. If there's a cloud icon, the episode is out there in the ether and you can download it; if there's no cloud, I guess it's on your computer already. Basically it's in permanent "Show All Available Episodes" mode, and that's the only choice available.
Use the "My Podcasts" or "My Stations" view (or a smart playlist) instead to see what podcast episodes are actually on your computer.
I've also found that deleting podcast episodes doesn't seem to be a permanent solution: iTunes will want to download them again, because after all, you didn't play the podcast, right? You must have made a mistake by deleting something you hadn't played yet! (WHY they've set it up this way is beyond me.) To get rid of a podcast episode off your computer, mark it as played, and then re-sync.
Maybe you are looking for
-
JDK 1.6 JavaScript problem
I'm not sure if this is the correct forum to post this, if not please let me know where I should be asking. I have a problem with the Rhino 1.6r2-based javax.script JavaScript implementation included with JDK 1.6. I'm in a situation where I have a Ja
-
How can I extract pages from a PDF? The Tools menu is missing.
I used to be able to extract pages from my PDF file. I don't see the tools icon anymore. How can I access the tools icon?
-
Purchased Playlist Not Updating
Running iOS 7.0.1 on an iPhone 5s My music app is not automatically downloading any new purchases, despite automatic downloads being turned on. Furthermore, it's not adding anything purchased on my iPhone to the "Purchased" playlist, it's simply goin
-
Imac fährt nicht mehr herunter
Hallo Mein iMac fährt seit längerem nicht mehr ordnungsgemäß herunter. Ich vermute, dass das wohl irgendeine App sein wird. Allerdings bin ich im lesen der Log.Datei absoluter Noob und bitte um Eure Hilfe. Ich versuche das mal hier einzubinden. Um ca
-
Hey guys,i have a PowerBook G4 17" running Mac OS X 10.5.6. The battery is relatively new, only 134 cycles and holds a full charge (5841 mAh). however the computer goes into sleep mode after about 1 H 15 M. i think what is causing this is the fact th