How to find out the last time login for a locked login account?
In ASE 15.4,there are many login account show as locked and unlocked. How to find out the last login time for those locked login account?
Thank you. The version of my ASE is 12.5.4.
This is what I got from select * from syslogins:
suid status accdate totcpu totio spacelimit timelimit resultlimit dbname name password language pwdate audflags fullname srvname logincount procid
1
30 2 10/25/2012 11:41:10.430 AM 0 0 0 0 0 . . ... us_english 02/24/2.0.08 12:55:38.640 PM 0 [NULL] [NULL] [NULL] [NULL]
this is what I got from exec sp_displaylogin 'mylogin':
1 Suid: 46
2 Loginame: mylogin
3 Fullname: FN LN
4 Default Database: mydb
5 Default Language: us_english
6 Auto Login Script:
7 Configured Authorization:
8 Locked: YES
9 Date of Last Password Change: Apr 17 2010 2:36PM
10 Password expiration interval: 0
11 Password expired: NO
12 Minimum password length: 6
13 Maximum failed logins: 0
14 Current failed login attempts:
15 Authenticate with: AUTH_DEFAULT
which one is for last login time?
Similar Messages
-
How can i find out the last time a back up to icloud was done
How can i find out the last time a back up was done to icloud?
Go to Settings>iCloud>Storage & Backup. It will be shown just below the Back Up Now button at the bottom.
-
How to find out the last date & time on which a program has been run
Hi Experts,
Can anybody tell how to find out the last date on which a purticular program has been run.
Valuable answers will be rewarded.
Thanks & Regards,
Satish.Hi!
Try STAD transaction. Unfortunately it contains a huge amount of data, so it is available only for a few days backwards... Maybe some weeks, but you can't make yearly reports from its data... So it's not useful to see, which program is in use or not...
I planned once to download it weekly, but it was not so important...
Regards
Tamá -
How to find out the Number range object for Incident number
How to find out the Number range object for Incident number ?
CCIHT_IAL-IALID
regards,
lavanyaHI, an example.
data: vl_num type i,
vl_char(6) type c,
vl_qty type INRI-QUANTITY,
vl_rc type INRI-RETURNCODE.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'ZRG0000001'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
NUMBER = vl_num
QUANTITY = vl_qty
RETURNCODE = vl_rc
EXCEPTIONS
INTERVAL_NOT_FOUND = 1
NUMBER_RANGE_NOT_INTERN = 2
OBJECT_NOT_FOUND = 3
QUANTITY_IS_0 = 4
QUANTITY_IS_NOT_1 = 5
INTERVAL_OVERFLOW = 6
BUFFER_OVERFLOW = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
vl_char = vl_num.
write vl_char.
Regard -
How to find out the Idoc number triggered for any material transfer frm SAP
Hi Folks,
Can any body let me know How to find out the Idoc number triggered for any material transfer frm SAP?
Do we have any navigation for that in MM03?
Thanks,
SPMD.Hi Shabbirmdpasha,
If you know the user name then you can find the idoc numbers created by that user. But the problem here is it not only gives the material it gives all the idocs created by that user. Go to SE16 --> table name EDIDS --> here you can fill the approximate date and in UNAME give the userid and execute. This will give all the idocs created by that user. I know it is only a partial solution.
Also would suggest to post the same in abap forums for more answers:
ABAP Development
Regards,
---Satish -
In DBI , how to find out the Source Query used for the Report
Hi All,
How to find out the Source Query used to display the data in the DBI Reports or Dashboards. We can get it in Apps Front end by Going to Help and Record Histroty. But DBI Runs in Internet Explorer so i dont know how to get the source query ( SELECT Query ) Used.
In IE we have View --> Source . But that does not help since it gives the HTML Coding and not the SELECT Query used.
If anyone has ever worked on it...Please help me in finding it.
Thanks,
Neeraj ShrivastavaHi neeraj,
You can see the query used to display reports.Follow these steps to get the query.
1)Login to oracle apps
2)Select "Daily Business Intelligence Administrator" responsiblity.
3)Now click on "Enable/Disable Debugging" (Now u enabled debugging)
4)now open the report which you want to see the query of
5)In view source it displays query along with the bind varilables.
Feel free to ping me if you have any doubts
thanks
kittu -
How to find out the standard info stucture for a customized IS in LIS
Hi All
I have to run the statistical set up for the customized info structure S763 for the application plant maintenance in LIS. But i dont know whether it was copied from a standard SAP info structure or it was enhanced from a standard info structure.
I have even checked out all the standard IS for plant maintenance but it is not matching. The closest match is S063 but a few characteristics and a key figure is missing.
Could anybody guide me how to find out the standard info structure?
Any help would be of great help.
Regards
SaddyHi Ganesh
No..it didnt solve my problem. MC23 only displays the info structures. I have a customized info structure S763 which was created long time back. Im not sure whether it was copied from a standard info structure or enhanced from a standard info structure.
I have to give the source info structure name to run statistical set up. The closest one which matches with the S763 is S063 but it is missing few characteristics and key figure.
does it means that the IS S063 was enhanced?? Am i right?? If it was enhanced how will i run the statistical setup for the same...
I hope i have explained clearly.
Do provide ur valuable input.
Regards
Saddy -
How to find out the idoc type required for our requirement
Hi,
How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
Points will be given for the useful answers
Thanks,
PrasannaHi prasanna,
we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
For example we want idoc type for account invoice receipt.
First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
Get this message type and search in we82 where we can find message type and idoc type linkage.
try this way.
Reward if it is usful.
Thanks,
Srikanth.A -
HT1414 How can i find out the last time my iphone was restored?
Hey, i need help on how to find out when the last few times my iphone was restored.
ThanksThis is a strange question, not sure where you are going with this one. On the computer you Restored with, iTunes requests to back up the iPhone. These are time stamped and stored on the computer. You can use iTunes to search the list of back ups of your iPhone and see the dates, so you can at least see the dates of the back ups.
-
How to find out the first time RMAN be utilized in DB
I need to find out the history of RMAN process in my database, like when it was used first time, and status ect...
I have checked all v$RMAN_xxx view and v$backup_XXXX views, didn't fine anything.
Is there other views that may be helpful?
Also any way I can find out when was archivelog turned on?
ThanksHere is the version
SQL> select banner from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Prod
PL/SQL Release 10.1.0.4.0 - Production
CORE 10.1.0.4.0 Production
TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
NLSRTL Version 10.1.0.4.0 - Production
Here is what I got if I just issue RMAN from command line:
E:\>rman
Recovery Manager: Release 10.2.0.2.0 - Production on Tue Feb 27 11:21:18 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
here is what I got if I got into $oracle_home/bin
E:\>cd oracle\product\10.1.0\db_1\bin
E:\oracle\product\10.1.0\Db_1\BIN>rman
Recovery Manager: Release 10.1.0.4.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN>
Thanks for the help. -
How to find out the Last line of a page in Smart forms
Hi Experts,
I need to find out the <b>last line of a page in smartforms</b>.
I have <b>Heading in a text element</b> and its <b>text in another text element</b>.
If the heading falls in the last line, its contents will be displayed in the next page. I want to print the heading in the next page.
Please advise on this issue.
Thanks in advance,
VivenYou can put both the heading and contents in a Folder node and check the page protection checkbox of the Folder node. This way both will be displayed on the same page always.
-
How to find out the exact time in UK with daylight savings.
Hi,
how can i get the exact time in UK even if the daylight savings time is implemented in UK..,
now my code is implemented for IST ,how can i get the BST timings?
Thankx.the setTimeZone method of SimpleDateFormat (actually inherited from DateFormat). Use it to set it to your timezone when parsing or formatting a date string for your timezone and set it to the UK timezone when parsing or formatting a date string for their timezone.
Edit: IOW SimpleDateFormat was the answer, not a question. -
How to find out the SET PARAMETER ID for FB02 transaction
hi masters,
i m working on a alv report and in that i have to make a BELNR field as a interactive field. i m using the 'user command' for this.
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
IF selfield-value IS NOT INITIAL.
CASE selfield-fieldname.
WHEN 'BELNR'.
SET PARAMETER ID 'FBAS' FIELD selfield-value.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
WHEN OTHERS.
MESSAGE text-000 TYPE 'W'.
ENDCASE.
ENDIF.
ENDFORM. "user_command
i used this code using this. using this code my program goes to FB03 tc but it don't shows the data of BELNR what i was clicked. it always shows first BELNR no. in the table. plz anyone help me for this..
the SET PARAMETER ID 'FBAS' i m using is right? if not plz suggest me how to find out correct one?Hi Vicky,
To know the Parameter Id of any field in a transaction ,
you just press F1 onthe particular field then in technical settings under Field data
you can see the PARMATER ID.
So if you check like this you can see 'BLN' as parameter id for Document number in FB03
transaction
Regards,
Manoj Kumar P -
How to find out the execution time of a sql inside a function
Hi All,
I am writing one function. There is only one IN parameter. In that parameter, i will pass one SQL select statement. And I want the function to return the exact execution time of that SQL statement.
CREATE OR REPLACE FUNCTION function_name (p_sql IN VARCHAR2)
RETURN NUMBER
IS
exec_time NUMBER;
BEGIN
--Calculate the execution time for the incoming sql statement.
RETURN exec_time;
END function_name;
/Please note that wrapping query in a "SELECT COUNT(*) FROM (<query>)" doesn't necessarily reflect the execution time of the stand-alone query because the optimizer is smart and might choose a completely different execution plan for that query.
A simple test case shows the potential difference of work performed by the database:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Session altered.
SQL>
SQL> drop table count_test purge;
Table dropped.
Elapsed: 00:00:00.17
SQL>
SQL> create table count_test as select * from all_objects;
Table created.
Elapsed: 00:00:02.56
SQL>
SQL> alter table count_test add constraint pk_count_test primary key (object_id)
Table altered.
Elapsed: 00:00:00.04
SQL>
SQL> exec dbms_stats.gather_table_stats(ownname=>null, tabname=>'COUNT_TEST')
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.29
SQL>
SQL> set autotrace traceonly
SQL>
SQL> select * from count_test;
5326 rows selected.
Elapsed: 00:00:00.10
Execution Plan
Plan hash value: 3690877688
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 5326 | 431K| 23 (5)| 00:00:01 |
| 1 | TABLE ACCESS FULL| COUNT_TEST | 5326 | 431K| 23 (5)| 00:00:01 |
Statistics
1 recursive calls
0 db block gets
419 consistent gets
0 physical reads
0 redo size
242637 bytes sent via SQL*Net to client
4285 bytes received via SQL*Net from client
357 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
5326 rows processed
SQL>
SQL> select count(*) from (select * from count_test);
Elapsed: 00:00:00.00
Execution Plan
Plan hash value: 572193338
| Id | Operation | Name | Rows | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 5 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | | |
| 2 | INDEX FAST FULL SCAN| PK_COUNT_TEST | 5326 | 5 (0)| 00:00:01 |
Statistics
1 recursive calls
0 db block gets
16 consistent gets
0 physical reads
0 redo size
412 bytes sent via SQL*Net to client
380 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
SQL>As you can see the number of blocks processed (consistent gets) is quite different. You need to actually fetch all records, e.g. using a PL/SQL block on the server to find out how long it takes to process the query, but that's not that easy if you want to have an arbitrary query string as input.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle:
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
From my own session how to find out the last SQL that I issued ?
Why does the query bellow that would return the last sql issued only work on 10g version ?
Notice the output:
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
PL/SQL Release 9.2.0.5.0 - Production
CORE 9.2.0.6.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production
NLSRTL Version 9.2.0.5.0 - Production
SQL> select sql_text from v$sql where hash_value = ( select prev_hash_value from v$session where
sid = (select sid from v$mystat where rownum = 1));
SQL_TEXT
select sql_text from v$sql where hash_value = ( select prev_hash_value from
v$session where sid = (select sid from v$mystat where rownum = 1))
SQL> conn system@prod
Informe a senha: *******
Conectado.
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Productio
NLSRTL Version 10.2.0.2.0 - Production
SQL> select sql_text from v$sql where hash_value = ( select prev_hash_value from v$session where
sid = (select sid from v$mystat where rownum = 1));
SQL_TEXT
select * from v$version
SQL>Peter, what version are you using ?
Everybody, our query seems to work only on 10g version. Notice the output bellow:
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
PL/SQL Release 9.2.0.5.0 - Production
CORE 9.2.0.6.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production
NLSRTL Version 9.2.0.5.0 - Production
SQL> select sql_text from v$sql where hash_value = ( select prev_hash_value from v$session where
sid = (select sid from v$mystat where rownum = 1));
SQL_TEXT
select sql_text from v$sql where hash_value = ( select prev_hash_value from
v$session where sid = (select sid from v$mystat where rownum = 1))
SQL> conn system@prod
Informe a senha: *******
Conectado.
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Productio
NLSRTL Version 10.2.0.2.0 - Production
SQL> select sql_text from v$sql where hash_value = ( select prev_hash_value from v$session where
sid = (select sid from v$mystat where rownum = 1));
SQL_TEXT
select * from v$version
SQL>
Maybe you are looking for
-
Software to Stream Video to Apple TV
Does anyone know if there is any software (Mac or PC) that will send the streaming video I am watching to the Apple TV? Airfoil does this with audio content without the need to go through iTunes. I am wondering if there is a comparable application fo
-
Good day, Within a class, the name of the class can bet determined via a call to the "getClass().getName()" method, right ? How do we get the name of the method itself ? ================ class magic { magician () { xx = getClass().getName(); // --> W
-
I recently bought a Sony NEX-5R but Aperure can´t view the RAW-files (.ARW). I know ARW is different for each camera, and the NEX-5R is new on the market, so I wonder if anyone know if Aperture supports it yet, or if the problem is on my local machin
-
How to call the U.S. from the Maldives?
I will be in the Maldives for 10 days and want to be able to call the U.S. via a Windows laptop. What's the best way to do this? Should I do the pay-as-you-go approach or get a subscription? If I use the pay-as-you-go approach with Skype credit, c
-
The page urls load properly but the pages generally don't show. I have been using Firefox 5 on Linux Mint 11. I have no idea which Firefox version I have on the Windows 7 PC as the Firefox "About Firefox" page doesn't display. Some web pages don't se