SQL report to get average amount of time for helpdesk closures Pin

Hi, I've been asked to write a report which lists the average time it takes for a helpdesk job to be closed. There isn't a closed date as such, the table column is simply an audit date/time which can be for various tasks.
I need to use this column along with another which is an ID of the action. For example:
User     TaskID   Task    AuditDatetime
Bob        2    Opens job   1/8/2014 11:14:29
Bob        5    Closes job  2/8/2014 10:12:26
Joe        2    Opens job   2/8/2014 11:01:45
Bob        5    Closes job  3/8/2014 11:44:22
My SQL is very rusty, I'm sure the report is technically possible but I can't for the life of me figure out what the SQL is.
I'm aware of the SQL AVG function and also know I may need to GROUP BY the user. I'm thinking some kind of CASE statement perhaps but again I can't think of the SQL to achieve this...
Can anybody please help?

DECLARE @helpDesk TABLE (JobID INT, userName varchar(10), TaskID INT, Task VARCHAR(20), AuditDatetime DATETIME)
INSERT INTO @helpDesk (JobID, userName, TaskID, Task, AuditDatetime)
VALUES
(17, 'Bob', 2, 'Opens job', '8/1/2014 11:14:29'),
(17, 'Bob', 5, 'Closes job', '8/2/2014 10:12:26'),
(22, 'Joe', 2, 'Opens job', '8/2/2014 11:01:45'),
(22, 'Bob', 5, 'Closes job', '8/3/2014 11:44:22'),
(25, 'Bob', 1, 'Opens job', '8/4/2014 11:40:22'),
(25, 'Joe', 3, 'Assigned job', '8/5/2014 11:47:22'),
(25, 'Joe', 5, 'Closes job', '8/5/2014 11:49:22')
SELECT *, DATEDIFF(minute,h2.AuditDatetime,h.AuditDatetime)/60.0 AS hours
FROM @helpDesk h
INNER JOIN @helpDesk h2
ON h.jobID = h2.jobID
AND h2.task = 'opens job '
WHERE h.task = 'Closes Job'
As far as open Jobs go, you could flip it around, like this:
DECLARE @helpDesk TABLE (JobID INT, userName varchar(10), TaskID INT, Task VARCHAR(20), AuditDatetime DATETIME)
INSERT INTO @helpDesk (JobID, userName, TaskID, Task, AuditDatetime)
VALUES
(17, 'Bob', 2, 'Opens job', '8/1/2014 11:14:29'),
(17, 'Bob', 5, 'Closes job', '8/2/2014 10:12:26'),
(22, 'Joe', 2, 'Opens job', '8/2/2014 11:01:45'),
(22, 'Bob', 5, 'Closes job', '8/3/2014 11:44:22'),
(25, 'Bob', 1, 'Opens job', '8/4/2014 11:40:22'),
(25, 'Joe', 3, 'Assigned job', '8/5/2014 11:47:22'),
(25, 'Joe', 5, 'Closes job', '8/5/2014 11:49:22'),
(26, 'Joe', 5, 'Opens job', '8/5/2014 11:49:22')
SELECT *, DATEDIFF(minute,h.AuditDatetime,COALESCE(h2.AuditDatetime,GETDATE()))/60.0 AS hours
FROM @helpDesk h
LEFT OUTER JOIN @helpDesk h2
ON h.jobID = h2.jobID
AND h2.task = 'Closes job '
WHERE h.task = 'Opens Job'
and coalesce the current date in for a close date.

Similar Messages

  • I have tried to implement jasper report but getting exceptions at run time

    I have tried to implement jasper report but getting exceptions at run time and I couldn't get the reason of these exceptions. please give me idea to solve this problem.
    I am using following jar files for this :
    commons-beanutils-1.6.1.jar
    commons-digester-1.7.jar
    commons-logging.jar
    jasperreports-1.2.0.jar
    code is as follows:-
    (1) xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jasperReport
    PUBLIC "-//JasperReports//DTD Report Design//EN"
    "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport name="Simple_Report">
    <detail>
    <band height="20">
    <staticText>
    <reportElement x="180" y="0" width="200" height="20"/>
    <text><![CDATA[Hello World!]]></text>
    </staticText>
    </band>
    </detail>
    </jasperReport>
    (2.) java file
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.xml.*;
    import org.xml.sax.*;
    import org.apache.commons.digester.Digester;
    import org.apache.commons.digester.RuleSetBase;
    import java.util.*;
    public class JasperReportsIntro
    public static void main(String[] args)
    JasperReport jasperReport;
    JasperPrint jasperPrint;
    try
         jasperReport = JasperCompileManager.compileReport(
    "jasperreports_demo.jrxml");
    jasperPrint = JasperFillManager.fillReport(
    jasperReport, new HashMap(), new JREmptyDataSource());
    // JasperExportManager.exportReportToPdfFile(
    // jasperPrint, "jasperReports/simple_report.pdf");
    catch (JRException e)
    e.printStackTrace();
    I am getting exceptions like:
    net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
    /home/navneet/Simple_Report_1143636234024_954843.java:4: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:5: package net.sf.jasperreports.engine.fill does not exist
    import net.sf.jasperreports.engine.fill.*;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:18: cannot find symbol
    symbol: class JREvaluator
    public class Simple_Report_1143636234024_954843 extends JREvaluator
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:25: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:26: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_CONNECTION = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:27: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:28: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:29: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:30: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:31: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_LOCALE = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:32: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:33: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_SCRIPTLET = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:34: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    private JRFillParameter parameter_REPORT_MAX_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:35: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_PAGE_NUMBER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:36: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_COLUMN_NUMBER = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:37: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_REPORT_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:38: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_PAGE_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:39: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    private JRFillVariable variable_COLUMN_COUNT = null;
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:62: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:63: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:64: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:65: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:66: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:67: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:68: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:69: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:70: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:71: cannot find symbol
    symbol : class JRFillParameter
    location: class Simple_Report_1143636234024_954843
    parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:88: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:89: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:90: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:91: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");
    ^
    /home/navneet/Simple_Report_1143636234024_954843.java:92: cannot find symbol
    symbol : class JRFillVariable
    location: class Simple_Report_1143636234024_954843
    variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");
    ^
    33 errors
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193)
    at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
    at com.appnetix.app.portal.financials.reports.RoyaltyReportAction.execute(RoyaltyReportAction.java:68)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at com.appnetix.app.control.web.AppnetixRequestProcessor.process(AppnetixRequestProcessor.java:149)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at com.appnetix.app.control.web.AppnetixControllerServlet.doPost(AppnetixControllerServlet.java:262)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:595)

    You have no permission to create a report. You have to create a permisson-entry into your server.policy. Then it would be work.

  • I need a query that returns the average amount of characters for a text colum in MS SQL.

    I need a query that returns the average amount of characters
    for a text colum in MS SQL.
    Could someone show me how?

    Sorted, i need the
    DATALENGTH
    function

  • I didn't get my renewl in time for Icloud is it to late or can I renew and save my pictures still?

    I didn't get my renewl in time for Icloud is it to late or can I renew and still have my pictures?

    kkarlee wrote:
    I did have additional storage will I still have these pictures too?
    If you mean photo stream pictures, they shouldn't be an issue.  Photo stream photos don't use your iCloud account storage so a storage upgrade was not required for them anyway.

  • Amount of time for backup with Time Machine

    How long should it take to backup my hard drive with Time Machine?
    I have an iMac (late 2007).  My hard drive has 222.88 GB of data according to Time Machine which is now running.  However, it has only backed up 11.47 GB of data since it started almost 7 hours ago.  It is backing up to an iOmega 1TB USB 2 partitioned external hard drive. The partion for the backup is 444 GB or so of space.
    Can the backup be speeded up?  It seems like an it is taking an extradordinary amount of time for the backup.
    Thanks for your help.
    Vernon

    Hi Andy,
    We have found that JMX Mbean registration is one factor in startup time, if you have JMX turned on. On joining the cluster, nodes register their MBeans with the MBean servers. If every node has management=all, every node is an MBean server node, whether its needed or not. This can result in an MBean registration storm as every node registers their Mbeans with every other node at startup. Its especially noticable if you have a lot of caches in your cluster. We suggest that only MBean server nodes have the management=all setting to minimize this registration process on startup.
    Marie
    [email protected]

  • We are running a report ? it is  taking long time for  execution. what step

    we are running a report ? it is  taking long time for  execution. what steps will we do to reduce the execution time?

    Hi ,
    the performance can be improved thru many ways..
    First try to select based on the key fields if it is a very large table.
    if not then create a Secondary index for selection.
    dont perform selects inside a loop , instead do FOR ALL ENTRIES IN
    try to perform may operations in one loop rather than calling different loops on the same internal table..
    All these above and many more steps can be implemented to improve the performance.
    Need to look into your code, how it can be improved in your case...
    Regards,
    Vivek Shah

  • You are running a report. It is taking long time for

    You are running a report. It is taking long time for
    execution. What steps will you do to reduce the
    execution time.
        plx explain clearly

    Avoid loops inside loops.
    Avoid select inside loops.
    Select only the data that is required instead of using select *
    Select the field in the sequence as they are present in the database, and also specify the fields in the where clause in the same sequence.
    When ur using for all entries in the select statement, check whether the internal table to which ur refering is not initial.
    Remove select... endselect instead use into table
    Avoid Select Single inside the loop, instead select all the data before the loop and read that internal table inside the loop using binary search.
    Sort the Internal tables where ever necessary.

  • SCCM SQL report to get McAfee installed machine

    I am trying the below SQL query to get McAfee installed machine but i am getting duplicate value,
    SELECT DISTINCT Netbios_Name0 as [Computer Name] , AD_Site_Name0 as [AD SIte Name], User_Name0 as [User Name], Operating_System_Name_and0 as [Operating System], dbo.v_GS_OPERATING_SYSTEM.Caption0 as [Operating System], dbo.v_GS_WORKSTATION_STATUS.LastHWScan
    as [Last Communication Time], dbo.v_GS_SoftwareFile.FileName
    FROM         dbo.v_R_System INNER JOIN
                          dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID INNER JOIN
                          dbo.v_GS_WORKSTATION_STATUS ON dbo.v_R_System.ResourceID = dbo.v_GS_WORKSTATION_STATUS.ResourceID INNER JOIN
                          dbo.v_GS_SoftwareFile ON dbo.v_R_System.ResourceID = dbo.v_GS_SoftwareFile.ResourceID
                          where 
                          (dbo.v_GS_SoftwareFile.filename like 'frameworkservice.exe') or
                          dbo.v_GS_SoftwareFile.filename like  'mcshield.exe'
    If i give one condition, i am getting the correct value but i include more then one condition getting duplicate value, Can anyone help me on this

    No i am getting a machine name as duplicate.
    If the both .exe available in machine, it gives me two entry of the machine.
    Post a screenshot.  
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How to get users' login logout time for user IDs for a specific date?

    Dear All,
    There is a case I being requested to retrieve the Userid, User Name,
    User Group, User Dept, Date, Login Time, Logout Time in a specific date, for example, 21.05.2009.
    How should I retrieve the information? The user want to input specific date and user group then return the details that mentioned above.
    I try with SUIM->Users->By Logon Date and Password Change... but I can't specific the date that I want ...
    I try with SM19 (Security Audit Log), but unfortunately in my system this is not activated.
    I've seek for SAP's advise, and they say need to ask abaper to developr a report in order to get such details....
    Do you guys have any other methods?
    Do you guys know which tables will contain the details as mentioned above?
    Best Regards,
    Ken

    Unfortunately without the audit log, you're going have a hard time finding this information.  As mentioned, ST03N will give you some information.  If your systems daily workload aggregation goes back to the date you require then you'll be able to get a list of all users who logged on that day.  ST03N doesn't keep time stamps just response times.
    My only idea is VERY labor intensive.  If your DB admin can retrieve a save of the database from that day then table USR02 will hold a little more information for you.  It will contain last login times for that day.  If your system backup policy happened to have saved the contents of folder "/usr/sap/<SID>/<instance>/data" then you potentially have access to all the data you require.  The stat file will have recorded every transaction that took place during that day.  If that file is restored you could use program RSSTAT20 to query against it.
    Good luck and turn on the audit log as it makes your life much easier!

  • How to get rid of the "time" for the airport connection?

    Hello,
    When I connect to the wireless network at my house my Airport Symbol (top right of screen by date & time, speaker volume, etc) shows the amount of time spent on the wireless network. It shows it in day, hour, minute & second. When I connect to wireless networks outside of my home, the airport symbol is there, but with no "time" next to it.
    How do I set this up so that no "time" is showing but the airport symbol remains?
    My buddy's "time" never shows up, but when he comes to my house it does...
    I cannot seem to find the setting to remove just the time...
    Please advise.
    Thanks in advance.

    Found it... It can be changed via the drop down menu from the wireless icon in the top right part of the screen. You can get an second menu from your network name and can choose to show the time or not.

  • Amount of time for clients to join a Coherence cluster?

    What are some of the factors that affect the amount of time it takes for a client (without local storage) to join the cluster?
    We are seeing some tests where the time is a few seconds and other tests where the time is 10's of seconds (up to 30-40 seconds). Would like it to be as deterministic as possible. Any ideas?
    Thanks!
    Andy

    Hi Andy,
    We have found that JMX Mbean registration is one factor in startup time, if you have JMX turned on. On joining the cluster, nodes register their MBeans with the MBean servers. If every node has management=all, every node is an MBean server node, whether its needed or not. This can result in an MBean registration storm as every node registers their Mbeans with every other node at startup. Its especially noticable if you have a lot of caches in your cluster. We suggest that only MBean server nodes have the management=all setting to minimize this registration process on startup.
    Marie
    [email protected]

  • How to get the date n time for log in ODI

    Hi,
    I wanna ask, what is the syntax for getting the date n time when i specify the location of log for Interface. Thanks.

    I quite do not get what you are trying to achieve here.
    - In a mapping, use the DBMS engine sysdate command.
    - In a variable, you can refresh the variable value using a "select sysdate from dual" type of query.
    - You can also use the appropriate odiref substitution method to get a date. For example:
    Current year is: :<%=odiRef.getSysDate("y")%>
    Hope this helps.
    -FX

  • HT204382 I cannot get adobe or quick time for my Mac Air

    I cannot get adobe or quick time to download on my Mac Air.  Does anyone know how?  What do you use instead

    Welcome to Apple Support Communities
    Consider yourself lucky that your MacBook is still working. Now, turn it off. Wine may have damaged other parts of your computer.
    Then, take the MacBook to an Apple Store or reseller. It will be a very expensive repair, as it's not covered by warranty and the logic board has to be replaced. In some cases, it may be better to get a new MacBook.
    If you can't take it to an Apple Store, contact with Apple > http://support.apple.com/kb/HE57

  • Get Start and End times for each step in a job

    Can someone tell me how to get the start and end times for each step in a background job?  Table TBTCP only stores the time that the step was saved in a background job.  Table TBTCO stores the times for the entire job and not each individual step.
    Thanks.
    Ryan

    Hi,
    Please check this tables and FM perhaps they may help
    TBTCJSTEP  - Background Job Step Overview
    TBTCR          - Batch scheduler execution time
    TBTCS          - Background Processing: Time Schedule Table
    GET_JOB_RUNTIME_INFO
    Regards,
    Ferry Lianto

  • What's a reasonable amount of time for time machine to "prepare" a hard drive?

    I'm trying to put my time machine backup onto a new 3TB external hard drive (my iMac has 500Gb of data).  The first external drive said it would take 11 days to back up.  After it was running for 3 days I asked an apple genius how long it should take to create this time machine using USB 2.0 and was told it should take no more than 10-11 hours.  He informed me that the hard drive was probably bad.  I have since purchased a new hard drive and am currently trying to put a time machine backup on it.  I started 4 hours ago and the time machine still says it is "preparing backup." At least the first drive was quicker to prepare the backup and gave me a time estimate.  
    Is this an appropriate amount of time to set up time machine?  Is something wrong with my iMac?  Can both hard drives be bad out of the box?  Am I too impatient? 

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message. Clear the text field and scroll back in the log to that time. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Some personal information, such as the names of your files, may be included — anonymize before posting.

Maybe you are looking for

  • Windows Vista Beta 2 Download Available FREE from MS

    Ok who wants to try to run this with BootCamp ??? I am guessing it should be fine as its a release for x86 CPU (Intel). Heres the link: http://download.windowsvista.com/preview/beta2/en/x86/download.htm Update: Direct Link for Beta 2: http://download

  • How do I slowly pan across photos in a slideshow

    trying to build a dynamic slideshow in dreamweaver.  Saw a site that I liked where the photo appeared to actually slowly move in the window it was being viewed in.  Have also seen some that will zoom in a bit or zoom out.  Is this a dreamweaver capab

  • Latest STABLE version of desk top software

    I have a Blackberry curve 8330 and currently have Desktop sofware 4.3. Is this the best version to use? Do the latest versions have any new features or revamped tools? Thanks for any help in advance Solved! Go to Solution.

  • Ok, error code 6 and error code 3

    hello all, I can read discs and watch dvds. however, when i attempt to write, i started getting an error code 6. so i removed 3 preference files, and started to get an error code 3. the wierd thing is that sometimes i can burn a cd, but most of the t

  • Existing to New Install Procedure

    It's been a long time since I moved to a new version of CF. I have a Win 2003 box with CF 7 and I need to move to a new server running Win 2008 IIS7 and CF 8 what is the best way to move without having to manually setup all new scheduler, DSN, mappin