Oracle Database Procedure Execute Date/Time
Hi,
Is possible to track the Oracle Database Procedure Execute Date/Time?
Is possible to track the Oracle Database Procedure Execute Date/Time?Yes, by using
CONNECT sys/password AS SYSDBA
AUDIT EXECUTE PROCEDURE BY fireid BY ACCESS;
Similar Messages
-
Webcast : Sun Oracle Database Machine for Data Warehousing -Sep 30 noon ET
Sun Oracle Database Machine for Data Warehousing
Jean Pierre Dijcks - Data Warehousing Product Mgmt, Oracle
https://conference.oracle.com/imtapp/app/cmn_jm_hub.uix?mID=158101510
On September 15 Oracle announced the second generation of its Database Machine, making an already strong data warehousing product significantly stronger. The new version runs on Sun hardware and offers important new features. Available in full rack, half rack, quarter rack, and basic unit configurations, the Sun Oracle Database Machine can add value at many data warehouse size levels.
The Sun Oracle Database Machine runs on Oracle Database 11g Release 2 and has new features such as:
Smart Flash Cache memory for ultra-fast IO - Reaches 50GB/second on a full rack system (not even counting gains from compression)
Exadata Hybrid Columnar Compression - Maximizes data capacity and reduces scan times: think 500GB/second IO
Offloaded Data Mining Scoring - Moves CPU-intensive operations from database servers to Exadata storage servers
In-Memory Parallel Execution - Caches full tables in memory across nodes: foundation of new TPC-H world record
There is plenty more we have not listed above, so come to this TechCast and learn about this major new product!
Audio Dial-In: 888 967 2253 Audio Meeting ID: 572994 Audio Meeting Passcode: 334451
Web Conference: https://conference.oracle.com/imtapp/app/cmn_jm_hub.uix?mID=158101510
Compatibility Check: If you have not used Oracle's web conference system before, please ensure your system
compatibility by going to https://conference.oracle.com/imtapp/app/nuf_sys.uixIs there any way, one could get this webcast to watch it offline?
regards -
Export oracle database schema without data
Hi All,
cany any one tell me how to export oracle database schema without data using exp command not datapump command.step 1
type exp help=y
step 2
read the output
step 3 now run exp ... rows=n
Life can be so easy when you aren't lazy. You don't waste time asking to be spoon fed by others if you can do something yourself in 2 seconds.
Sybrand Bakker
Senior Oracle DBA -
I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
Can someone help or direct me to an expert that can help me on thise90f478a-c529-4c48-b189-51eebeaed477 wrote:
I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
Can someone help or direct me to an expert that can help me on this
We don't know the "query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). "
We don't know where you posted said query.
We don't know what "some answer and reference" you received "from the forum."
We don't know what it was that your "Oracle consultant and representative from Oracle Malaysia" said was "impossible".
So on what basis are we supposed to "help or direct" to "to an expert that can help "? -
Cannot see "Oracle Database Server" in Data Source in VS2005
I've installed "ODTwithODAC10202.exe" on my machine. When I'm trying to add connection in server explorer in VS2005, I cannot see the "Oracle Database Server (Oracle ODP.NET)" in Data Source field. However, I try to connect to database with Oracle Explorer, it works.
Thanks
NoppadonYou need to download and install the latest version 11 beta release to take advantage of the latest features, including integration with Server Explorer.
-
Could you gave a sample of trigger procedure on date/time increased particu
lar calculated date/time,for example 7 days later of date/time stored in record
Without giving you everything (since you didn't provide any details)
select sysdate curr, sysdate + 7 future from dual;produces
CURR FUTURE
12/10/2010 7:44:55 AM 12/17/2010 7:44:55 AMso do to that in a trigger code, assuming you want to modify a date column so it is 7 days in the future, you would do something like
:new.date_col := :old.date_col + 7;Lots of examples abound of what a trigger looks like, especially in the Oracle documentation found at http://www.oracle.com/technetwork/indexes/documentation/index.html -
Stored Procedure using Date/Time Comparison
I’m running SQL Server 2012. I need to write a procedure that will send out emails based on a date/time comparison.
In my table, ‘tickets’, I have a smalldatetime column ‘ticket_date’ and another column ‘responded’ which is a bit field. I need to check the current date to see if 24 hours has passed from the ticket_date. If 24 hours has passed and responded is 0, then
I need to email a manager ( I already have the code for emailing with SMTP).
The next step is to see if 48 hours has passed from the ticket_date and if responded is 0.
If this is true, then I need to email someone else.
I don’t want to include weekends in my time comparison. My procedure will only run Mon – Fri.
Thanks in advance!Check the below sample and hope this will help you:
DECLARE @Tickets TABLE (TicketID INT, TicketDate SMALLDATETIME, Responded BIT)
INSERT INTO @Tickets
SELECT 1, '01/10/2015 10:00AM', 0 UNION ALL
SELECT 2, '01/13/2015 12:00PM', 1 UNION ALL
SELECT 3, '01/12/2015 05:30PM', 0 UNION ALL
SELECT 4, '01/09/2015 08:00AM', 1
SELECT *, '24 Hour' AS TicketCase
FROM
@Tickets
WHERE
Responded = 0
AND DATEDIFF(HOUR, TicketDate, CURRENT_TIMESTAMP) <= (CASE DATEPART(WEEKDAY, TicketDate) WHEN 7 THEN 48 WHEN 1 THEN 24 ELSE 0 END) + 24
UNION ALL
SELECT *, '48 Hour' AS TicketCase
FROM
@Tickets
WHERE
Responded = 0
AND DATEDIFF(HOUR, TicketDate, CURRENT_TIMESTAMP) >= 24
AND DATEDIFF(HOUR, TicketDate, CURRENT_TIMESTAMP) <= (CASE DATEPART(WEEKDAY, TicketDate) WHEN 7 THEN 48 WHEN 1 THEN 24 ELSE 0 END) + 48
Output
TicketID | TicketDate | Responded | TicketCase
3 | 2015-01-12 17:30:00 | 0 | 24 Hour
1 | 2015-01-10 10:00:00 | 0 | 48 Hour
You can make the separate SQL statements and email to proper people based on 24 hour or 48 hour case.
Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered. -
Problem connecting Mapview to Oracle Database(Add a data source)
Im a neophyte to the mapviewer and Ive run into a very primitive problem. I cant view the sample maps in the mapviewer. I cant connect to the database where I've loaded the sample oracle data (mvdemo.zip) to the database. I have the mapviewer running. Ive checked my tnsnames to confirm the connection used by other oracle application (sql) and confirmed that the spatial files exists on the database.
Below is my platform inform
Platform
For MapView
We have Java- j2se_1.4.2_09
My local system is Microsoft Windows 2000.
Connect to Oracle 9.2.0.4.0 and 10.1.0.3.1 on separate machines
Here is my connection infor:
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<add_data_source
name="mvdemo"
jdbc_host="medea"
jdbc_port="1521"
jdbc_sid="orcl"
jdbc_user="gda_stock"
jdbc_password="!********"
jdbc_mode="thin"
number_of_mappers="3" />
</non_map_request>
Here is the error I received:
<?xml version="1.0" encoding="UTF-8" ?>
<oms_error>Message:[MapperConfig] cannot add map data source. Fri Aug 26 17:28:04 CDT 2005 Severity: 0 Description: at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.java:583) at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.java:315) at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241) at oracle.lbs.mapserver.oms.doPost(oms.java:409) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Unknown Source)</oms_error>Hi, is there anyone here who can help me.....thanks in advance!
-
Oracle Package.Procedure Execute Priveleges
What Oracle DataDictionary Table contains user privileges to
execute another schemas procedures -
Thank You!I am not giving you the complete SQL Statement...
But
select do.owner,table_name,privilege,object_type from DBA_TAB_PRIVS DTP,DBA_OBJECTS DO
where dtp.owner = <YOUR PACKAGE OWNER> and table_name = <Your PACKAGE NAME>
and dtp.owner = do.owner and dtp.table_name = do.object_name
Let us know the results. Does Table_Name column store package names ? -
Flat file (csv) to oracle database - get dictionary data from oracle table
Hello,
I need to develop following scenario. I have flat csv file with some data, for example:
City;Address;Name
In oracle schema, there is table where data from imported csv should be written. Also, in the same schema, there is table named CityDictrionary. After ODI loads each row from csv, it should translate text representation of City to numerric ID got from CityDictionary table. And this numeric value should be placed to destination table, instead of direct text value from csv.
What is the simplest way to accomplish this task? Can you provide any tips?You can achieve this easily with a single ODI interface. The flat file and the CityDictionary tables are your sources. Identify the field on the CityDictionary table and the corresponding field on the flat file that will be used to join the data sets (e.g. the city name). Create a join between the sources using these fields. Because you're using a flat file as one of your sources, the join logic will have to be performed on either the staging or the target.
The target is your destination table, and you should map the ID from the CityDictionary table to the appropriate field in the target, as well as any other required fields from the flat file.
This type of interface is a fairly typical method of populating a normalized table.
Alternatively, you can use a lookup - see the following blog for an example. In your case, the flat file will be your source and the CityDictionary table will be used for the lookup.
http://www.odigurus.com/2012/02/lookup-transformation-using-odi.html
Edited by: _Phil on Oct 1, 2012 11:52 PM
Edited by: _Phil on Oct 1, 2012 11:57 PM -
How to find the last executed date ,time and user of the quaery
Hi,
How to find the following information of the Query
1. Where all the place these queries/web template used.
2. When was it last executed.
3. Who executed last.
Regards,
Harihi Hari,
you can try table /BI0/APERS_BOD00
for query, first go to table RSRREPDIR, give field COMPID
with query technical name and get GENUNIID, then go to table /BI0/APERS_BOD00, field TCTOBJNM = RSRREPDIR-GENUNIID, TCTUSERNM and TCTTIMSTMP -> user name and last executed.
for web template, give field TCTOBJNM in table /BI0/APERS_BOD00 with web template name.
hope this helps. -
Unknown Database Connector Error using Oracle stored procedures
We are using an Oracle database for the first time with our Crystal Reports, and I am attempting to modify a report to use a new stored procedure. When I attempt to add either the new procedure, or to add a new copy of the existing procedure, I get an error message:
Unknown Database Connector Error
If I remove the existing procedure first (leaving no database objects at all), and then attempt to add back exactly the same stored procedure that I just removed, I get a different error message:
Database Connector Error: '42000:[Oracle][ODBC]Syntax error or access violation'
Neither of these errors is particularly helpful. The stored procedure in question works as is. I can run it in SQL Developer, and it also executes within the existing report if I run it. Unfortunately, it needs to be modified and given a new name, so I need to be able to add the new stored procedure to the report.
The operating system is Windows XP Professional version 2002 SP3. The Oracle version is 11g (11.2.0.2.0). Crystal reports version is Crystal Reports 2008 (12.3.0.601). The stored procedure returns a refcursor. The ODBC connection is created using the "Oracle in OraClient11g_home1" driver. When I test the connection, it tells me it was successful.
If it matters, the report is a Saba report.
Can anyone shed any light on what the problem is and how to fix it. If the solution is to upgrade the Windows version, that is under the control of our tech support and there is no information available as to when it will happen.Yes - I had used the Set Datasource Location to point to the correct ODBC connection. I get the same results with an existing report as I do with a new blank report.
I have no idea where the service market place is. Honestly, I find the entire SAP site confusing. I found one reference to the PAM guide, but when I clicked on it, it insisted on a userid/password, and apparently the userid/password I have for this discussion group doesn't pass. I did find, eventually, a document called "Crystal Reports 2008 Service Pack 3 for Windows - Supported Platforms". When I read it, it tells me that it's compatible with Oracle 11g, generic ODBC, and Windows XP SP3, which is what we are using. I'm hoping that this document has equivalent information to the PAM guide. -
How To Pass Oracle Procedure Value using Tidal Oracle Database Job Definition to Tidal Variable
how do i pass the parameter value from an oracle database tidal job to a tidal variable? for example i have this oracle db job that is defined to execute an oracle database procedure and i need to pass the parameter value to the tidal variable.
SQL tab:
begin
procedure_get_user_info(<OracleUserVariable.1>);
end;
thanks,
warrentesmcmd is a binary that sits in your TIDAL master installation bin directory. It takes options, one of which is varset which let's you set variable values.
So you can run a system level script ( a unix example is given below) which can set values for group variables.
Looking at your example you need to find a way to define OracleUserVariable.1
Where does the value for this variable come from?
Sample variable set script:
GROUP_FILE_VAR=`echo $2 | sed -e 's/\.xml\.pgp/\.xml/'`
tesmcmd varset -i $1 -n GROUP_FILE_XML -v $GROUP_FILE_VAR
XSD_FILE_VAR=`echo $2 | sed -e 's/\.xml\.pgp/\.xsd/'`
tesmcmd varset -i $1 -n GROUP_FILE_XSD -v $XSD_FILE_VAR
And we call the job using
setvar.sh <JobID..p> <Group.REQUEST_FILE>
which are overrides from a file event. -
Records based on time from Oracle database
Dear Experts,
I need some valuable suggestion from your end.
This a synchronous scenario from Sender ECC to Oracle Database.
In Oracle Database, the swiping entry time of employees is stored in format as 03/11/2012 08:10:22 which would be the primary key while making ECC request.
I have to fetch all the records along with other 3 output fields for the date between 03/11/2012 00:00:01 to 04/11/2012 00:00:01.
The Oracle view has following column EMPID,CITY,TIME,DEVICE
1. How would be ECC and JDBC request structure so that the start time and end time are captured?
2.How to map the ECC and Oracle Database request structure where the SQL query would look something below.
select EMPID,CITY,TIME,DEVICE from time_details where
TIME > TO_DATE('03/11/2012 00:00:01', 'MM/DD/YYYY HH24:MI:SS')
and
TIME < TO_DATE('04/11/2012 00:00:01', 'MM/DD/YYYY HH24:MI:SS')
3. I tried to fetch the records by putting the WILDCARD in the date input value, I am receiving the response but with no payload.Is there any other design where I can fetch all the records for 03/11/2012 from 0 hours to 24 hours.
Quick help is highly appreciated.
Regards
RebeccaHi Praveen,
Genius..
You saved my whole day by giving this input..
I would need your help to in the Access block specially to form the JDBC request structure from where clause. Let me first try to form the Message Type.
<access>select EMPID,CITY,TIME,DEVICE from time_details where TIME > TO_DATE('$placeholder1$', 'MM/DD/YYYY HH24:MI:SS') and TIME < TO_DATE('$placeholder2$', 'MM/DD/YYYY HH24:MI:SS')</access>
1. I assume for TO_DATE, I have to check in the DateTransformation Mapping function whether HH24:MI:SS is available or not.
Thanks once again for your input.
Regards
Rebecca -
How to create a Macro in excel to store the excel data to Oracle Database
Hi All
Does anyone has created a macro in excel which on being run stores the excel data to Oracle database. In my project I need to create one such macro for updating oracle database with excel data and another for inserting excel records.
I tried doing this using a macro in MS access but Client wants its to be done using Excel Macro only.
Any help would be highly appreciated.
Thanks in advance..
ShikhaPlease read Chapter 19.7 Creating Selection Lists (http://download.oracle.com/docs/html/B25947_01/web_complex007.htm#CEGFJFED) of the Oracle® Application Development Framework Developer's Guide For Forms/4GL Developers 10g Release 3 (10.1.3.0)
Cheers,
Mick.
Maybe you are looking for
-
Rendering quality always lower than original video
I have some footage that I recorded with my Contour Roam HD Camera and I have edited it in Adobe Premiere Elements 10.0, but every time I render the video that I've edited, the footage comes out at a reduced quality. I can visibly see that it is red
-
How to stop Safari opening on start up
For some reason Safari has started opening up automatically when I start up my Mac. I don't want it to do this. I have looked in preferences for a box to "untick" but can't find one. I would appreciate any suggestions. I am using Safari 4.1 on an iMa
-
Error message disk image couldnt be opened
We have a new MacBook pro and need to download firfox but get the error message "the disk image could not be opened" this comes up after we downloaded firefox and tried to open it
-
mmmhm how do i convert my .mp4 to mp3 thanks -aaron
-
CS4 extended, OS10.7.5 . When I process an image in Capture One Pro and then open it in Photoshop CS4 extended and compare to my original image in Capture I can see a big difference . ( Darker in C1 and flat in CS4) I contacted Phase One and the