Hi, when can i get the recently deleted rows
Hi,
Where can I get the recently deleted rows after commiting the transactions.
Thanks in advance.
To query your table e.g. one hour ago:
select * from your_table as of timestamp sysdate - 1/24change 1/24 to a number where you think your data were still in the table.
Similar Messages
-
I can't find the Recently Deleted album on my iPad mini
Where is the Recently Deleted album on my iPad mini? I've gone into settings>General>usage>manage storage.
The Recently Deleted Album is in the Photos App. Look in Album View.
-
How can I get the number of rows in my sql result, without a loop?
Hello,
I've a problem, I would like to get the number of rows in my sql result without make a loop like :
while (rs.next()){
int number = rs.getRow();
Is there any method to do this, on the first element?
Thx, STeFIf you want to count how many rows are in result set, I dont think you can, but you could always run a count statement for that sql
say your sql is
select field1, field2, field3
from table1, table2
where field4=field5 ......
then you can count the rows this statement returns by
select count(*) from
(say your sql is
select field1, field2, field3
from table1, table2
where field4=field5 ......)
This way you will get the count for just that sql -
Urgent******how can i get the number of rows enterd by the user in a table
Hi Frndz..
As per my requirement i need to do the validations for the multipple rows in a table that was enterd by the user,
T
The prob is how can i get that number of rows that enterd by user,
WDMessageManager msg = wdComponentAPI.getMessageManager();
String col1= "";
String col2= "";
double col3= 0;
double col4= 0;
double amount= 0;
int nodesize = wdContext.nodeTest().size();
try
for(int i=0; i<=2 ; i++)
col1 = wdContext.nodeTest().getTestElementAt(i).getCol1();
//msg.reportSuccess("col1 size is :"+col1);
col2 = wdContext.nodeTest().getTestElementAt(i).getCol2();
col3 = wdContext.nodeTest().getTestElementAt(i).getCol3();
col4 = wdContext.nodeTest().getTestElementAt(i).getCol4();
amount = wdContext.nodeTest().getTestElementAt(i).getAmount();
if(col1 == "" )
msg.reportException("Plz fil the col1 for line:",true);
break;
else
if(col2 == "" )
msg.reportException("Plz fil the col2 for line:",true);
break;
else
if(col3 <= 0)
msg.reportException("Plz fil the col3:",true);
break;
else
if(col4 <= 0)
msg.reportException("Plz fil the col4:",true);
break;
msg.reportSuccess("skvgjhdfgasdfgsjkafguisafisenvtvyeriy");
wdThis.test();
catch (Exception e)
msg.reportException("strMessage in catch block",true);
this is the code am going
Regards
RajeshHi,
You can try this:
* Let's say the table's datasource is a node called Table and it has two attributes first & second.
* You want to check if any of these attributes has been changed by the user or not. If they have been
* changed then you want to do some validations against them.
int sizeOfTable = wdContext.nodeTable().size();
for(int i = 0; i < sizeOfTable; i++){
IPrivate<view name>.ITableElement ele = wdContext.nodeTable().getTableElementAt(i);
if(ele.isChangedByClient(ITableElement.<attribute name>)){
//value has been changed, do some validation. You can get the row index using ele.index().
Regards,
Satyajit. -
How can i get the last delete picture's info from tlf?
if i delete the picture from the tlf i can't make the tlf undo
and I want to get the picture'info with I last time delete from tlfCan you let us know what you are doing to delete the picture, and also how you are undoing it? If it is being deleted through the EditManager delete function, the delete should undo correctly. Some example code to illustrate the problem would help.
Once the picture has been deleted, TLF has no further reference to it. If you want to keep a reference, you will have to get it before it has been deleted. If you don't have control over the delete, you could find out when the image is deleted by listening for FLOW_OPERATION_END events.
- robin -
How can i get the "fwd delete" fn on my keyboard?
i'm a recent convert from PC and one thing i miss (no, it's not my top of the line Dell lap disaster--they should consider adding "C" to the product, as the "vitamin" in, say, lemon) is having a fwd delete fn on the keyboard. i write a lot and having to move the cursor to the end of text to be deleted is a waste of time (so would be using the cut option).
janinaHi--
Welcome to the Apple Discussions.
On your PowerBook keyboard, there's a key at the bottom left, called "fn". That's the function key. If you hold that down, you can use the regular delete key as forward delete.
This article might be useful to you. It lists the common Mac OS X keyboard shortcuts all in one convenient place.
best,
charlie -
How can I get the 'recent pages' feature back in the navigation toolbar Firefox 4.x?
I use Firefox 3.6.17, Dutch version. At home i've updated to firefox 4. But I miss in this version one of the nicest features (i think): In the navigation toolbar on the left side (in version 3.x), you can browse back and forward and also there is a small arrow that shows the pages that you have visited (I don’t know the name in English, but in Dutch it is called recente pagina’s, literally translated recent pages). In version 4.x this little arrow has disappeared.
How can I get it back in version 4.x?Click-hold the unified Back / Forward button, or right-click it to get the Back / Forward history for that tab.
Or install this extension to get the old "drop-marker" button restored. <br />
https://addons.mozilla.org/en-US/firefox/addon/backforedrop/ -
My ipod touch will no longer download new apps after I updated via apple store.It freezes now when I attempt to download and blanks the app off entirely . How can I reverse the updates or correct the problem moving forward?
Basics from the manual are restart, reset, restore.
Try those -
Does any one know when can I get the wifi bug fixed?
Tried anything I can do to even invested a new router, nothing changed, still losing connection from time to time, once a minute.
Does any one know when apple will fix this bug?He moved it to another screen, he moved it into a folder, or he turned on restrictions for Safari.
Check Settings > General > Restrictions. If restrictions are enabled for Safari, Safari is disabled and its icon is removed from the Home screen.
You can also reset the home screen layout. Settings >General > Reset > Reset Home Screen Layout. That will place all the original apps in their original location with all added apps following in alphabetical order. -
Excuse me, but when can I get the 10.4.4 UPDATE?!?!?
How many times per hour do you run software update?!?!?
C'mon Steve! Give us the goods!10.4.4 just showed up for me on my PowerPC PowerBook in Software Update. The release notes are here:
http://docs.info.apple.com/article.html?artnum=302810 -
Getting the previous ,delete row func()
I am using oracle 8.0.5
I want to add scrollability support and delete support with the resultset obj that is received from the execute query
IS there any freely downloadable version of oracle available that supports JDBC 2.0
nullClicking on a different column or row should not affect the way editing works. You have a bug in your code and since you didn't post your code we can't help.
Here is a working example:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=575309 -
How can i get the failed row numbers in batch insertion?
Afeter execution of batch insert operation into a table, i use OCIAttrGet() to get the error number of insertion, as expected, it returns the correct number. however, when i use OCIParamGet() to get an error handle and then to get the exact failed row numbers , OCIParamGet() returns -2 , means "INVALID_HANDLE". can anyboy tell me why ? how can i get the exact failed rows?
the snapshot of my code :
int errNum = 0;
int nRet = 0;
nRet = OCIAttrGet((dvoid *)m_pIIOdbc->m_pStmtAll,OCI_HTYPE_STMT,&errNum,
0,OCI_ATTR_NUM_DML_ERRORS, m_pIIOdbc->m_pErrHandle);
if (errNum)
OCIError* pErrHndl;
int* pRow_off = new int[errNum];
for (int i = 0; i < errNum; i++)
nRet = OCIParamGet(m_pIIOdbc->m_pErrHandle,
OCI_HTYPE_ERROR, m_pIIOdbc->m_pErrHandle, &pErrHndl, i + 1);
nRet = OCIAttrGet (pErrHndl, OCI_HTYPE_ERROR, &pRow_off, 0,
OCI_ATTR_DML_ROW_OFFSET, m_pIIOdbc->m_pErrHandle);
delete []pRow_off;now the code is :
OCIEnv *m_pEnvHandle;
OCIError *m_pErrHandle;
OCIError *m_pErrHandle2;
OCIServer *m_pSrvHandle;
OCISvcCtx *m_pSvcHandle;
OCIStmt *m_pStmtExec;
OCIStmt *m_pStmtAll;
OCIError** m_pErrorHndl;
int* m_pRowOff; //the array that will contain the failed row numbers
int m_nArrayLength; //length of array in once batch operation
int m_nErrNum; //error number
int m_nSucCount; //successful record number
//initialization
//m_nArrayLength is a parameter passed in, so i can not tell the exact length of the array, dynamic space allocation is needed
m_pErrorHndl = new OCIError*[m_nArrayLength];
m_pRowOff = new int[m_nArrayLength];
//execution
OCIStmtExecute(
m_pSvcHandle,
m_pStmtAll,
m_pErrHandle,
(ub4)m_nArrayLength,
(ub4)0, (OCISnapshot *)NULL, (OCISnapshot *)NULL,
OCI_BATCH_ERRORS
//get successful records number
m_nSucCount = 0;
OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nSucCount,
0,OCI_ATTR_ROW_COUNT, m_pErrHandle);
//get error numbers
m_nErrNum = 0;
OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nErrNum,
0,OCI_ATTR_NUM_DML_ERRORS, m_pErrHandle2);
//get failed row numbers into the array
if (m_nErrNum)
//get failed row numbers into the array
for (int i = 0; i < m_nErrNum; i++)
//initiallize error handles OCIHandleAlloc((dvoid*)m_pEnvHandle, (dvoid**)&m_pErrorHndl,
OCI_HTYPE_ERROR, (size_t)0, (dvoid**)0);
OCIParamGet(m_pErrHandle, OCI_HTYPE_ERROR, m_pErrHandle2, (void**)&m_pErrorHndl[i], i);
OCIAttrGet (m_pErrorHndl[i], OCI_HTYPE_ERROR, &m_pRowOff[i], 0,
OCI_ATTR_DML_ROW_OFFSET, m_pErrHandle2);
now, if batch insert is executed, eg, there are 10 records to be inserted, thus m_nArrayLength is set to be 10. There are 5 records of the 10 have exist in database, so some of insert operations will fail. After execution, m_nErrNum is 5, and i can get the failed row numbers.Everything seems go well.
However, if batch updata is excuted, eg, 10 records to be updated, m_nArrayLength is set to be 10, and also there are 5 records of the 10 have exist in database. After execution, the OCIStmtExecute() returns 1, m_nErrNum got by
OCIAttrGet((dvoid *)m_pStmtAll,OCI_HTYPE_STMT,&m_nErrNum,
0,OCI_ATTR_NUM_DML_ERRORS, m_pErrHandle2)
is 0, and m_nSucNum is 5. Why?? how can I get the rows that fail? i have to know which rows do not exist in database?? -
Can i get a number of rows in the select list??
Hello~
I am studying the "oracle call interface". but i don't know much about oci.
Anyway i want to know that how can i get a number of rows.
for example, there is a source code of the number of colums in the select list.
The following is a list of DB(example)
/*DB table*/
ID NAME CODE ID
1 A 1 A
2 B 2 B
/*source*/
err = OCIAttrGet ((dvoid *) stmhp, (ub4)OCI_HTYPE_STMT, (dvoid*)
&parmcnt, (ub4 *) 0, (ub4)OCI_ATTR_PARAM_COUNT, errhp);
/*result*/
The Column is 4. (ID, NAME, CODE, ID)
So, i think that the row is 3 (ID, 1, 2) in the DB table.
Simply, Can i get a number of rows in the select list??
for example,
err = OCIAttrGet ((dvoid *) stmhp, (ub4)OCI_HTYPE_STMT, (dvoid*)
&parmcnt, (ub4 *) 0, (ub4)OCI_ATTR_RAW_COUNT, errhp);
I'm trying to get the number of row count. but i can't find.
Please, could you let me know that how can i get the number of row count.
Thank you.Thank you for your reply.
we are tested the source code by reply.
The following is the test source code.
/*source code*/
strcpy (szStatement, "SELECT * from DB_TABLE");
OCIStmtPrepare(gpOCIReadStmHandle, gpOCIErrHandle, szStatement,
strlen(szStatement), OCI_NTV_SYNTAX, OCI_DEFAULT);
OCIStmtExecute(gpOCISvcHandle, gpOCIReadStmHandle, gpOCIErrHandle,
0, 0, 0, 0, OCI_DEFAULT);
/* get a number of rows count , Reply : prajithparan*/
OCIAttrGet((dvoid *)gpOCIReadStmHandle, OCI_HTYPE_STMT, (dvoid *)&nRowCount, NULL, OCI_ATTR_ROW_COUNT, gpOCIErrHandle))
But There is a problem of the result value.
The result value is 0. It's mean that the row count is 0. and then we are using the all of fuction is succeed.(return value)
I don't know what is problem. Please let me know about the problem and solution.
Thank you. -
Getting the no. of rows returned from the resultset
Could somebody tell how can I get the count of rows from the resultset object.
Thanks a lot in advancehmmm 20,710 topics and 69,000 odd posts and no one has EVER asked this question before.. it's a miracle....
or maybe it has been asked and dealt with approx... 11,000 times.
here is a discussion from 1998 for example http://forum.java.sun.com/thread.jsp?forum=48&thread=83958 -
i have about 800 more songs on my nano than itunes, due to a crash. How can I get the songs onto itunes from the ipod, or at least get the new music ive gotten since the crash onto my ipod without deleting all the other songs when it syncs?
It has always been very basic to always maintain a backup copy of your computer for just such an occasion. Use your backup copy to put everything back.
If you have failed to bakup, then you can transfer itunes purchases from an ipod: File>Transfer Purchases
Maybe you are looking for
-
My itunes wont download the newest ipod software and when i try it will download for maybe an hour then say "error has occured, internet connection timed out" now what do i do?
-
Flash videos suffering from intermittent "micro-freezes" in animation
Hello, I have been having issues lately with the latest version 12.0070 flash plugin causing flash based videos to have what I call "mirco freezes" or mircostutter, where a frame in the video freezes for a like a few milliseconds every so often. I ra
-
Moving pages in pdf-file Acrobat X
Is there another methode of moving pages in a pdf-file then drag / drop? It takes ages to scroll past ± 200 pages. Thanks
-
Email Body missing in some emails
The body of some of my messages is missing. I am using IMAP and everything on the server seems fine. When I look at the raw source I can see the message body as well. I have tried rebuilding my inbox but that has not helped. I have deleted the cache
-
Hi Does anyone know if its possible to query data based on direction eg. select all objects that are east of object A. Thanks K