Query to find when was Receive location last modified
How can I find the date when was the receive location configuration last modified?
You need to query the BizTalkMgmtDb database to get details.
select DateModified from BizTalkMgmtDb..adm_ReceiveLocation
where name='XXXX'
Replace XXXX with your receive location name.
HTH,
Rachit
Similar Messages
-
Query to find when the given schema last refreshed ?
I need to find out the given database schema, when did last get refresh using impdp or import or SQL Loader?
If schema refresh is carried out by dropping schema then Created column in DBA_USERS will show your answer.
Else if its carried out by dropping the tables, then you can check the created and last_ddl_time in DBA_OBJECTS
Select username,created from dba_users where username='U1';
SELECT OWNER,OBJECT_NAME,CREATED,LAST_DDL_TIME FROM DBA_OBJECTS WHERE OWNER='U1';
Please keep forum clean by Marking your Post as Answered or Helpful if Your question is answered.
Thanks & Regards,
SID
(StepIntoOracleDBA)
Email : [email protected]
http://stepintooracledba.blogspot.in/
http://www.stepintooracledba.com/ -
Is there a way to check when was my phone last used?
My apologies for the very unusual question.
My question is simply to know if there is a way to find out when was my phone last tuned on or used.
Basically i left my business at a place with a lot sensitive work data and i have a great feeling that it has been accessesed. So if anyone can help me if there is an App or a service that would allow me to find out the time stamp of the time and date of the access or even better which apps were accessed.
Thank you for your time and brain.While this is not all you are asking for and may not be helpful, in Settings > General > Usage, you can find the number of hours since the last charge, and how how much of that time was standby. Total minus standby should be the total time someone was using it since its last full charge.
I do not know of any built-in function, however, to show all of what you are asking for. -
Why will finder not order files by last modified?
Finder has an option to arrange files by last modified, which I have enabled: http://i.imgur.com/rOfwz1O.png
This doesn't do what is says though, it groups files last modified with a particular time frame (today, yesterday, last week, etc.) and shows them alphabetically within that group.
To illustrate this problem create 3 files, a, b, c
-rw-r--r-- 1 admin staff 0 11 Oct 13:04 a
-rw-r--r-- 1 admin staff 0 11 Oct 13:03 b
-rw-r--r-- 1 admin staff 0 11 Oct 13:04 c
As you can see 'b' was created a minute before 'a' and 'c', yet in finder with the arrange by last modified option enabled they still appear in alphabetical order: http://i.imgur.com/4cVRTdD.png
How do I get true chronological ordering of files in OSX?
Thanks for any helpBy what you describe, it is arranging files by last modified. But, it appears you want to Sort by last modified.
Set the Arrangement to None, then option click the button (or menu item). It will switch to Sorting options.
You can set an Arrangement and also sort within the groups of the arrangement. -
Trying to find out when was the object last referenced?
Hi All,
Is there a way I can find out when was an object or all the objects in a schema were last referenced along with the time it was referenced (May be a standard code all_references as such)? Just want to find out if there are any dormant objects. Thanks for the help,
ReddyHello,
No.
You can query user_dependencies and compare to all_objects, but this will only show you objects that have no direct dependencies. You will not be able to identify objects used only by e.g. shell scripts or a JAVA application.
Regards
Marcus -
When was an item last used in Keychain?
I am trying to clean up the entries in my Login keychain. A lot of the entries (passwords, certificates, etc) are cryptic, and it's hard to know what they are. Is there a way to find out when an entry was last used? When I say "last used", I mean last accessed by an application. I do not mean last modified. Thx
I don't know that there's an easy way to figure that out, but for certificates, you can look at the expiration date. Any certificates that have expired can be deleted, as they're of no use any longer. Passwords can simply be weeded out if they're no longer useful. And, of course, you should be able to reset the entire keychain without too much hassle, beyond re-entering passwords and restoring any important certificates that you have added.
-
When was a SCHEMA last analyzed?
Hi all,
How do I know when was our PROD schema last analyzed?
Thanks843228 wrote:
If I run EXPLAIN PLAN to check my slow running my sql query, is it mandatory that my schema should be latest analyzed? as in today.No. If you want the optimizer to generate an accurate plan, the object statistics need to be accurate. For a mature system, the fraction of rows in a given table that change in a single day is generally quite small so object statistics on most objects in most systems are likely to be accurate for relatively long periods of time.
Justin -
Sql query to find answered and received calls for month or day
Hi experts !
1.Any one help in finding out the received, answered and missed ,transfered in / out calls in UCCE using SQL query for a particular month or day.
2. We have some custom report templetes defined , need to know , how can we write Sql query to get those values from custum reports.
due to some issues, cannot use webview .Hi,
there's no such thing as reporting "for a particular Team". Teams in ICM are for administration purposes only (to have grouping of agents). ICM does not count the number of calls received by "teams". If there is a report in Webview "by team", it's always by agent. Try to run the report against a team once and then try to remove certain agents from that team - you'll see the difference.
What you are looking for is either reporting by Agent or by Agent/Skill group combination.
Try to explore the
- Agent_Half_Hour
- Agent_Skill_Group_Half_Hour
- Skill_Group_Half_Hour
database views.
The database schema documents are here:
http://www.cisco.com/en/US/products/sw/custcosw/ps1844/prod_technical_reference_list.html
Good luck.
G. -
Finder doesn't show correct "last modified" dates
For the longest time, the Tiger Finder has not always shown the correct "last modified" dates for files. Is there any fix or workaround for this?
Frequently, if I'm working in a folder with a bunch of files in it, and working in each individual file, and viewing the folder in list view, the modified date for each file will not update as I work on the file. Even if I close and reopen the folder, it won't update. Sometimes when I click on an individual file, the date will update. Other times not. If I use "Get Info" to look at the file, then I see its true last modified date.
I believe this used to be a problem in prior OS's too, and someone recommended a little contextual menu plug-in called "Nudge" to me. I went looking for that, found it, and installed it, but it doesn't do what I want. Now if I "nudge" a file, the Finder instantly marks it as modified right that second. That's not what I want. I need to know the last time the file was TRULY last modified, and I need it to show up immediately.
I work with a large quantity of files and part of the management scheme is figuring out, at a glance, when each file was last modified, so I can keep track of their development.Hi folks,
This issue has been driving me crazy, and I've been searching everywhere for a solution... today I am happy to report that I found one!
Limit Point Software has just released a great utility for dealing with this issue where folders have their "Date Modified" altered after you just opened the folder.
It is called "SyncFF" and you can download at:
http://www.limit-point.com/Utilities.html
Here is the product description:
SyncFF is a drop utility for setting the modification and creation date of folders to the latest modification date of their contained files. This way the modification date of the folder matches the modification date of the "oldest" file it contains. The process is recursive, which implies all subfolders are processed too. Universal Binary, Mac OS X 10.4 and above.
It works wonderfully, and it is so nice to have the proper modification dates on my folders and projects again.
I should also say that the developer is very helpful and responsive to feedback.
Zed -
SQL Query to find when the data was committed
Hi,
In oracle how do we find the when the row as committed into DB(Timestamp):
Eg:
If insert 1000 records from the application i want to know what is exact time the data was committed in the DB.
Regards
NMNM wrote:
Hi,
Thanks for your Input.
The Query returned the following.But I want something like this 7/6/2011 6:43:54.23:32:00000 PM(Includes micro seconds)
SELECT ora_rowscn,orderid FROM tibex_order where orderid='0NEC.000OXNVE9JYSNQC' ;
12541143230,0NEC.000OXNVE9JYSNQC
SELECT SCN_TO_TIMESTAMP(ORA_ROWSCN) FROM tibex_order where orderid='0NEC.000OXNVE9JYSNQC' ;
7/6/2011 6:43:54.000000000 PMRegards
NMIt's already giving it to you in nano-seconds.
What's with this format:???
But I want something like this 7/6/2011 6:43:54.23:32:00000 PM
^ ^ ^ ^^^
| | | ||+-- what is this colon for?
| | | |+--- hundredths of seconds
| | | +---- tenths of seconds
| | +------- seconds
| +---------- minutes
+------------ hour -
Query to find the difference between the last date and the second to the last date
Hi all,
Hope all is well.
I am working on the following problem because I am trying to improve my MS SQL skills. But I am stuck at the moment and I wonder if you could provide some assistance please. Here is the issue:
Table 1: Dividends
divId
ExDate
RecordDate
PayDate
Amount
Yield
symId
1
2013-02-19
2013-02-21
2013-03-14
0.23
0.00000
3930
2
2012-11-13
2012-11-15
2012-12-13
0.23
0.00849
3930
3
2012-08-14
2012-08-16
2012-09-13
0.20
0.00664
3930
4
2012-05-15
2012-05-17
2012-06-14
0.20
0.00662
3930
5
2012-02-14
2012-02-16
2012-03-08
0.20
0.00661
3930
6
2011-11-15
2011-11-17
2011-12-08
0.20
0.00748
3930
7
2011-08-16
2011-08-18
2011-09-08
0.16
0.00631
3930
8
2011-05-17
2011-05-19
2011-06-09
0.16
0.00653
3930
9
2011-02-15
2011-02-17
2011-03-10
0.16
0.00594
3930
10
2010-11-16
2010-11-18
2010-12-09
0.16
0.00620
3930
11
2010-08-17
2010-08-19
2010-09-09
0.13
0.00526
3930
12
2010-05-18
2010-05-20
2010-06-10
0.13
0.00455
3930
13
2010-02-16
2010-02-18
2010-03-11
0.13
0.00459
3930
Table 2: Tickers
symId
Symbol
Name
Sector
Industry
1
A
Agilent Technologies Inc.
Technology
Scientific & Technical Instruments
2
AA
Alcoa, Inc.
Basic Materials
Aluminum
3
AACC
Asset Acceptance Capital Corp.
Financial
Credit Services
4
AADR
WCM/BNY Mellon Focused Growth ADR ETF
Financial
Exchange Traded Fund
5
AAIT
iShares MSCI AC Asia Information Tech
Financial
Exchange Traded Fund
6
AAME
Atlantic American Corp.
Financial
Life Insurance
7
AAN
Aaron's, Inc.
Services
Rental & Leasing Services
8
AAON
AAON Inc.
Industrial Goods
General Building Materials
9
AAP
Advance Auto Parts Inc.
Services
Auto Parts Stores
10
AAPL
Apple Inc.
Technology
Personal Computers
11
AAT
American Assets Trust, Inc.
Financial
REIT - Office
12
AAU
Almaden Minerals Ltd.
Basic Materials
Industrial Metals & Minerals
I am trying to check the last date (i.e. max date) and also check the penultimate date (i.e. the second to the last date). And then find the difference between the two (i.e. last date minus penultimate
date).
I would like to do that for each of the companies listed in Table 2: Tickers. I am able to do it for just one company (MSFT) using the queries below:
SELECT
[First] = MIN(ExDate),
[Last] = MAX(ExDate),
[Diff] = DATEDIFF(DAY, MIN(ExDate), MAX(ExDate))
FROM (
SELECT TOP 2 Dividends.ExDate
FROM Dividends, Tickers
WHERE Dividends.symId=Tickers.symId
AND Tickers.Symbol='MSFT'
ORDER BY ExDate DESC
) AS X
Outputs the following result:
First
Last
Diff
2012-11-13
2013-02-19
98
But what I would like instead is to be able to output something like this:
Symbol
First
Last
Diff
MSFT
2012-11-13
2013-02-19
98
AAN
2012-11-13
2012-12-14
1
X
2012-11-13
2012-12-14
1
Can anyone please let me know what do I need to add on my query in order to achieve the desired output?
Any help would be greatly appreciated.
Thanks in advance.Could you try this?
create table Ticker (SymbolId int identity primary key, Symbol varchar(4))
insert into Ticker (Symbol) values ('MSFT'), ('ORCL'), ('GOOG')
create table Dividend (DividendId int identity, SymbolId int constraint FK_Dividend foreign key references Ticker(SymbolId), ExDate datetime, Amount decimal(18,4))
insert into Dividend (SymbolId, ExDate, Amount) values
(1, '2012-10-1', 10),
(1, '2012-10-3', 1),
(1, '2012-10-7', 7),
(1, '2012-10-12', 2),
(1, '2012-10-23', 8),
(1, '2012-10-30', 5),
(2, '2012-10-1', 10),
(2, '2012-10-6', 1),
(2, '2012-10-29', 7),
(3, '2012-10-1', 22),
(3, '2012-10-3', 21),
(3, '2012-10-7', 3),
(3, '2012-10-12', 9)
WITH cte
AS (SELECT t.Symbol,
d.ExDate,
d.Amount,
ROW_NUMBER()
OVER (
partition BY Symbol
ORDER BY ExDate DESC) AS rownum
FROM Ticker AS t
INNER JOIN Dividend AS d
ON t.SymbolId = d.SymbolId),
ctedate
AS (SELECT Symbol,
[1] AS maxdate,
[2] AS penultimatedate
FROM cte
PIVOT( MIN(ExDate)
FOR RowNum IN ([1],
[2]) ) AS pvtquery),
cteamount
AS (SELECT Symbol,
[1] AS maxdateamount,
[2] AS penultimatedateamount
FROM cte
PIVOT( MIN(Amount)
FOR RowNum IN ([1],
[2]) ) AS pvtquery)
SELECT d.Symbol,
MIN(MaxDate) AS maxdate,
MIN(penultimatedate) AS penultimatedate,
DATEDIFF(d, MIN(penultimatedate), MIN(MaxDate)) AS numberofdays,
MIN(MaxDateAmount) AS maxdateamount,
MIN(penultimatedateAmount) AS penultimatedateamount,
MIN(MaxDateAmount) - MIN(penultimatedateAmount) AS delta
FROM ctedate AS d
INNER JOIN cteamount AS a
ON d.Symbol = a.symbol
GROUP BY d.Symbol
ORDER BY d.Symbol
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers.
Thanks!
Aalam | Blog (http://aalamrangi.wordpress.com) -
When was iBook G4 last updated?
Hi all,
I have a 12" G3 iBook that is almost 5 years old and would love to update to a new 14" G4 iBook. I was just curious as to when the iBook line was last updated and a guesstimate on when the next update will be. I know that would be speculation so just an approximate time is fine.
ThomThe current iBook 14-inch was introduced on July 26, 2005:
http://everymac.com/systems/apple/ibook/stats/ibookg4_1.4214.html
It is assured that every new Mac that is introduced from here on will have an Intel processor. It is likely that we are seeing the end of the line for iBooks. They will have a new name that includes "Mac," according to the announcement at the Macworld keynote address. (PowerBooks are being replaced with the MacBook Pro.) The entire Mac line is to be converted to Intel processors by the end of 2006, again according to that keynote address.
Classic (OS 9 emulation and applications) will no longer be supported in any Mac with an Intel processor. I don't know if that matters to you, but thought I would let you know. -
Finding when was the log file mined? ( No streams/cdc setup )
Hello,,
Alert Log has following entry :
LOGMINER: Begin mining logfile: /backup/GWMPTS02/src/arch/1_41874_609861694.dbf
Mon Jun 16 10:09:58 2008
LOGMINER: End mining logfile: /backup/GWMPTS02/src/arch/1_41874_609861694.dbf
Mon Jun 16 10:09:58 2008
Does any one know if there is any view/table where I can see the above information i.e. at what time was an archive file was mined ?
PS. Streams/CDC is not configured, so DBA_REGISTERED_ARCHIVE_LOG OR dba_logmnr_log will have no rows......
Thank you,Hi Mahesh,
This should be from an adhoc logminer session. An adhoc session can be used for mining and viewing the contents of an archived/redo logfile. This information does not get stored anywhere other than v$logmnr_contents which would not persist. The timestamp information can be obtained from the alert.log itself.
See an example:
SQL> conn / as sysdba
Connected.
SQL> set head off
SQL> select capture_name from dba_capture;
no rows selected
SQL> select id,name,source_database from dba_logmnr_session;
no rows selected
SQL> select name from dba_registered_archived_log;
no rows selected
SQL> select * from dba_logmnr_log;
no rows selected
SQL> select name from v$archived_log where rownum<2;
NAME
/u2/oradata/STRM102B/arch/cap_1_213_661524155.dbf
1 row selected.
SQL> exec dbms_logmnr.add_logfile('/u2/oradata/STRM102B/arch/cap_1_213_661524155.dbf')
PL/SQL procedure successfully completed.
SQL> exec dbms_logmnr.start_logmnr();
PL/SQL procedure successfully completed.
SQL> select count(*) from v$logmnr_contents ;
COUNT(*)
133865
SQL> select id,name,source_database from dba_logmnr_session;
no rows selected
SQL> select name from dba_registered_archived_log;
no rows selected
Checking the alert.log:
[oracle@localhost bdump]$ ls al*
alert_STRM102B.log
[oracle@localhost bdump]$ tail -5 alert_STRM102B.log
ORACLE Instance STRM102B - Archival Error
Wed Oct 22 12:27:04 2008
LOGMINER: Begin mining logfile: /u2/oradata/STRM102B/arch/cap_1_213_661524155.dbf
Wed Oct 22 12:27:10 2008
LOGMINER: End mining logfile: /u2/oradata/STRM102B/arch/cap_1_213_661524155.dbf
Thanks,
Rijesh -
Looking for a query to find first/last dates in overlapping dates...
Hi,
I'm looking for a query to find the first dates and last dates in a table conaining overlapping dates.
I have a subscription table which has for each Customer start and end date for different subscriptions.
I want to know the different ranges of date where there is subscriptions active.
so if the table has this:
CustID, Start date, end date
1, 2008-01-01, 2012-06-06
1 ,2009-01-01, 2011-01-01
1, 2011-01-01, 2013-02-02
1, 2013-01-01, 2013-08-08
1, 2014-01-01, 2014-04-04
I want to produce this result:
custid, range start, range end
1, 2008-01-01, 2013-08-08
1, 2014-01-01, 2014-04-04
the first row is the range identified from the 4 rows in my subscription table.
thanks :)I think I found it...
http://stackoverflow.com/questions/5213484/eliminate-and-reduce-overlapping-date-ranges
let me try this method
Hi,
m writing to follow up with you on this post. Thanks for you posting a reply to share your workground. Was the problem resolved after performing the above link? If you are satisfied with the above solution, I’d like to mark this issue as "Answered".
Please also feel free to unmark the issue, with any new findings or concerns you may have.
Thanks,
Sofiya Li
If you have any feedback on our support, please click here.
Sofiya Li
TechNet Community Support -
After a recover database, how can I find the time of the last transaction?
After doing a restore and recovery. Is there something in the data dictionary that I can query to find the time of the last applied transaction that took place during the recover process?
restore database ;
recover database ;
For example, if I restored from a full backup on 8/3/2008 with archive redologs, I know my last restored transaction is from sometime on that day, but I'd like a way to know the hour:minute:second of the last transaction included in the backup and redologs that was applied to my restore. Is that possible?
The recover database applies all available redo logs for that day, but I want to know if that includes transaction up to 6PM, or 11:50PM, etc?
Thanks,
JasonIf you did only a "recover database" that would have been a Complete Recovery to the last transaction -- ie the point when the database was shutdown.
For an Incomplete Recovery, you would have to note the Sequence#, SCN or Timestamp of the recovery point.
Maybe you are looking for
-
Purchase Requisition number : In which table the currency field stored?
When we raise a Purchase requisition nr : t codes ME53N / ME21N the PR nr, item nr, PR doc type, PR group, plant etc are stored in EBAN table. PR amount can be calculated based on MENGE * PREIS / PEINH from the table EBAN. Where will be the PR amount
-
T420s - swapping to extended monitor doesnt work
connecting my laptop to a tv or any other external monitor does work but when i try to swap to extended monitor or any other setting my pc shuts down and reboots. any ideas ?? thank you in advance
-
I need a help from you. All my movies are in 4:3 scale. I use always the same Easy SepUp in Final Cut. My movies is compressed as DV NTSC in 4:3 format. I need to finalize a dvd, and when the movie enters in iDVD, the preview appears already written
-
Troubleshooting Photo Stream on Apple TV
I've created a Photo Stream in I-Photo on a Mac Book Pro. I've turned on "File Sharing" in I-Tunes and have selected "Photo Stream" (under column heading "Events") under "Choose Photos to Share". When I try to view on Apple TV only the first photo
-
How do I double-click with a track-pad?
I'm new to Mac, and I just bought a beautiful new Apple MacBook laptop. I'm trying to install academic version of Adobe Photoshop 6 (this disk of software was originally made for PCs but I hear it's possible to make it work on a MacBook as well. My q