How to get the last time a record was modified or created ?
Is there a way (hidden system fields for example, system view, other ?) to get the last time a record of a table was modified or the date it was created.
Thanks for any help.
Stiphane CAMPION
blarman74 wrote:
I know I could do this with a trigger, but I was wondering if there is a data dictionary view I can query to find the date/time a table was last updated. What I have is a table that is constantly getting hammered with new data being uploaded from a third party. We need to keep close tabs to verify that this datafeed is constantly running and bringing in new data. Because the data that comes in comes from multiple timezones and there are hundreds of lines, our attempts at monitoring by just looking at the data leave something to be desired.
Any ideas?refer this links
How to find Last modified/updated time of a particular table
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1590655700346557237
Thanks
Similar Messages
-
I can get the last time a patch was applied. What I need is this info for ALL servers.
Getting the last time a server was patched is a simple, single line of PowerShell:
get-hotfix -computername seadcweb10 | sort InstalledOn | select -last 1
What I need is to get a list of *all* the servers in Active Directory, and get this information for each.
I've tried variations of foreach , but I get errors.
foreach ( $p in Get-ADComputer -Filter 'OperatingSystem -like "Windows *Server*"' ) { get-hotfix -computername $p.Name | select -last 1 }
Get-HotFix : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
At line:1 char:97
+ foreach ( $p in Get-ADComputer -Filter 'OperatingSystem -like "Windows *Server*"' ) { get-hotfix <<<< -computername
$p.Name | select -last 1 }
+ CategoryInfo : NotSpecified: (:) [Get-HotFix], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.PowerShell.Commands.GetHotFixCommand
What am I doing wrong?Hi
The RPC server is unavailable
This error comes when any server is not pingable.
Make sure you are able to ping to all server from the server you are running the script.
Then give a try to below script :
foreach ( $p in Get-ADComputer -Filter {OperatingSystem -like "Windows *Server*"})
get-hotfix -computername $p.Name | select -last 1
MCITP - Exchange 2010 | MCITP - Windows Server 2008 R2 -
How to tell the last time a table was updated
I know I could do this with a trigger, but I was wondering if there is a data dictionary view I can query to find the date/time a table was last updated. What I have is a table that is constantly getting hammered with new data being uploaded from a third party. We need to keep close tabs to verify that this datafeed is constantly running and bringing in new data. Because the data that comes in comes from multiple timezones and there are hundreds of lines, our attempts at monitoring by just looking at the data leave something to be desired.
Any ideas?blarman74 wrote:
I know I could do this with a trigger, but I was wondering if there is a data dictionary view I can query to find the date/time a table was last updated. What I have is a table that is constantly getting hammered with new data being uploaded from a third party. We need to keep close tabs to verify that this datafeed is constantly running and bringing in new data. Because the data that comes in comes from multiple timezones and there are hundreds of lines, our attempts at monitoring by just looking at the data leave something to be desired.
Any ideas?refer this links
How to find Last modified/updated time of a particular table
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1590655700346557237
Thanks -
Determining the last time an appointment was modified
Does any one know how to determine the date and time an appointment was modified. I do not see any thing for this in the iCal format. I have looked in the CAPI documentation but must be missing it.
ThanksHello,
I assume the property you are referring to is LAST-MODIFIED.
Although, currently there is a bug associated with that property, where it is not returned by the sdk.
For internal reference, the bug id is 4475645.
Thanks,
Jean-Philippe -
How to know the last time a table was used?
I was trying to find a log or something that can tell me when and who was the last one/s that used a table.
Could someone help me?
thanksHow can I activate the auditing? http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14266/auditing.htm#i1011984
Daljit Singh -
How to determine the last time a database was used
Is it possible in to determine the time a CRUD operation occurred on a database?
How can I activate the auditing? http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14266/auditing.htm#i1011984
Daljit Singh -
How to get the last error for while loop?
How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.
What do you mean by "get" and "transfer"?
If the shift register is not what you want, use a plan tunnel instead.
Typically, programmers are interested in the first, not last, error.
Can you show us your code so we have a better idea what you are trying to?
LabVIEW Champion . Do more with less code and in less time . -
HT201269 How do I see the last time my phone was backed up?
My iphone has gone dark. I was planning on getting a new phone but I can't turn my old phone on to transfer data. How can I see the last time my phone was back up?
If you back up to iTunes, open iTunes on your computer. Go to Preferences (from the leftmost item in iTunes' menu bar), then choose "Devices". The backup time will be shown there.
If you back up to iCloud, you would be able to see it on your iPhone, but since you can't turn it on, I don't think there is another way to find it. -
How to retrieve the last 5 accessed record ??
How to retrieve the last 5 accessed record ??
I am using a field for storing the accessed time.
Pls help with regard to this.
Thanks in Advance.
JGDepending on your used databasee version, there are several options available, here are just a few examples:
Sorted Inline-Views & rownum:
SELECT *
FROM (SELECT *
FROM user_objects
ORDER BY timestamp desc)
WHERE ROWNUM <= 5;
;Inline-View with analytic function:
SELECT *
FROM (SELECT uo.*, ROW_NUMBER() OVER (ORDER BY timestamp desc) rn
FROM user_objects uo
WHERE rn <= 5;
;C. -
How to get the system time in a Swing application ?
I know how to do it in JavaScript, but not java. Please help me, and also how to get the system time in an Applet. Thanks !!!
Check this link, I hope it helps
http://202.71.136.142:8080/globalleafs/Swing/View.jsp?slno=22&tbl=0 -
How to get the last day of the week?
Hii
i can get the calender week number for any given date using
SELECT to_char(to_date('04/04/2011','MM/DD/YYYY'),'WW') FROM dual
can any body tell me, how to get the last day of that week ?
and the answer should be 04/08/2011(8th april )
thanks
San
Edited by: sandeep9 on Apr 4, 2011 3:50 AMHi, San,
Here's one way:
WITH sample_data AS
SELECT DATE '2011-04-04' AS dt
FROM dual
SELECT dt
, TO_CHAR (dt, 'WW') AS week_num
, NEXT_DAY ( dt - 1
, TO_CHAR ( TRUNC (dt, 'YEAR') - 1
, 'Day'
) AS end_o_week
FROM sample_data;Another way is to use date arrithmetic:
WITH sample_data AS
SELECT DATE '2011-04-09' AS dt
FROM dual
SELECT dt
, TO_CHAR (dt, 'WW') AS week_num
, TRUNC (dt, 'YEAR')
+ (7 * CEIL ( (dt - (TRUNC (dt, 'YEAR') - 1))
/ 7
- 1 AS using_date_arithmetic
FROM sample_data; -
How to get the last day of a month?
HI,
I want to know how to get the last day of a month.
In my JClient form, I tried to get it by using oracle.sql.Date method, that is:
lastday=oracle.sql.Date anydate.lastDayOfMonth();
But it does not work. The result is lastday=anydate.
Why?
StephenYou can use the Calender class...
Calendar c = Calendar.getInstance();
and then something like...
c.add(c.MONTH, 1);
int dayOfMonth = c.get(Calender.MONTH);
c.add(c.DAY_OF_MONTH, - (dayOfMonth-1) );
other usefull functions are:
System.out.println(" YEAR : " + c.get(Calendar.YEAR));
System.out.println(" MONTH : " + c.get(Calendar.MONTH));
System.out.println(" DAY_OF_MONTH : " + c.get(Calendar.DAY_OF_MONTH));
System.out.println(" DAY_OF_WEEK : " + c.get(Calendar.DAY_OF_WEEK));
System.out.println(" DAY_OF_YEAR : " + c.get(Calendar.DAY_OF_YEAR));
System.out.println(" WEEK_OF_YEAR : " + c.get(Calendar.WEEK_OF_YEAR));
System.out.println(" WEEK_OF_MONTH : " + c.get(Calendar.WEEK_OF_MONTH));
System.out.println(" DAY_OF_WEEK_IN_MONTH : " + c.get(Calendar.DAY_OF_WEEK_IN_MONTH));
System.out.println(" HOUR : " + c.get(Calendar.HOUR));
System.out.println(" AM_PM : " + c.get(Calendar.AM_PM));
System.out.println(" HOUR_OF_DAY (24-hour): " + c.get(Calendar.HOUR_OF_DAY));
System.out.println(" MINUTE : " + c.get(Calendar.MINUTE));
System.out.println(" SECOND : " + c.get(Calendar.SECOND));
System.out.println();*/ -
How to get the last day according to fiscal period input in selection scree
Hello expert
how to get the last day of fiscal period input.
the fiscal period inculdes 1-16
when fiscal period is greater than 12, only calculate the last day of 12nd month
your solution will be apprecaited, FM existing?
thank you
KevinHi,
when you give a particular date in any month
the following fm will give you the last date of that month
here you can give
R_FDATE-HIGH as 01 and month as the period you wnat and year for current year
concatenates '01' month year into r_fdate-high separated by '.'.
then it will give g_ltdt for that month and year which wil be the last date of that month
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
DAY_IN = R_FDATE-HIGH
IMPORTING
LAST_DAY_OF_MONTH = G_LTDT
EXCEPTIONS
DAY_IN_NO_DATE = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
thanks & regards,
Venkatesh -
How to get the last version of flash in MSI format automatically?
How to get the last version of flash in MSI format automatically?
Roberto Neigenfind
Bravo Tecnologia
www.bravotecnologia.com.brHi Barbara,
Flash Professional CS5.5 is a 32-bit application which can be installed on computers with either 32-bit or 64-bit operating systems.
You can purchase this by Adobe's backward Licensing policy :
" Adobe allows program members to order a current-version license but use a prior version. These members can contact Adobe Customer Service to request a serial number for the earlier version if they do not already have one. Prior-version software is available via ESD and can be purchased through standard resellers. The program member must follow all guidelines of the current-version EULA. "
Please check the doc : http://www.adobe.com/volume-licensing/policies.html -
How to get the "last changed by" for a set of function modules?
How to get the "last changed by" for a set of function modules?
is there any table to get it??See [this|Re: Date of creation of function module] I posted earlier.
>TFDIR will give you the name of the function group program and the include number.
>E.g. SAPLZFUNCGROUP Include 01.
>From this you can construct the include name: LZFUNCGROUPU01.
>You can look this up in TRDIR to find the creation date (CDAT) of the function module.
In your case, you need unam and udat.
matt
Maybe you are looking for
-
been working for 4 hours to get this thing to work.
-
100% IOS7 Fix for (IMessage Waiting for Activation)
Hi there, I believe i have found the fix regarding the IOS7 IMessage Waiting for activation issue. So far i have advised a few friends and everyone of them has said it has fixed the problem Follow the below, as i would be keen to find out if this wor
-
Has anyone seen a workable fix with regard to the Eolas problem. For those unfamiliar, I'm referring to the box around all Flash content requiring the user to click before they can interact with the form. I'm particularly interested in the fix for Fl
-
I purchased a brand new Nokia E55 on 16-September 2009 and from day 1 it did not work. it would freeze up, restart and refuse to even software update. I went to Nokia care in Melbourne and they gave me a replacement (refurbished) unit after 1 week. W
-
Hi, I have an editable ALV.I want to give an option in a cell with droplist (DAYS/Weeks) How can we achieve this? Do we have any sample WD in SAP for this requirement? Rgds vara