Help converting value to datetime for order by.

I have a database that unfortunately has a varchar column with values like 'Thu, 20 Sep 2012 21:54:47 +0000' I need to be able to select from my table and order by this column as a date time stamp. Any help would be appreciated.
thanks.
Stacey

Given that you want to transform into timestamp, one could guess the +0000 are fractional seconds. Otherwise you could convert just into Date
For converting into timestamp see below. Could be timezone also as mentioned by others abvove.
select
  to_timestamp('Thu, 20 Sep 2012 21:54:47 +0000', 'DY DD MON YYYY HH24:MI:SS "+"FF', 'NLS_DATE_LANGUAGE=ENGLISH') myDate
,to_timestamp('Thu, 20 Sep 2012 21:54:47 +45', 'DY DD MON YYYY HH24:MI:SS "+"FF', 'NLS_DATE_LANGUAGE=ENGLISH') myDate
,to_timestamp('Thu, 20 Sep 2012 21:54:47 +1283737', 'DY DD MON YYYY HH24:MI:SS "+"FF', 'NLS_DATE_LANGUAGE=ENGLISH') myDate
,to_timestamp_tz('Thu, 20 Sep 2012 21:54:47 +0000', 'DY DD MON YYYY HH24:MI:SS TZHTZM', 'NLS_DATE_LANGUAGE=ENGLISH') myDateTZ
from dual
MYDATE     MYDATE     MYDATE     MYDATETZ     MYDATETZ
20-SEP-12 09.54.47.000000000 PM     20-SEP-12 09.54.47.450000000 PM     20-SEP-12 09.54.47.128373700 PM     20-SEP-12 09.54.47.000000000 PM -05:00     20-SEP-12 09.54.47.000000000 PM +00:00Edited by: chris227 on 21.09.2012 00:53
Timezone added

Similar Messages

  • Help needed in inbound IDoc for ORDERS....

    Hello all,
    I need help in IDoc for ORDERS.. Here is the situation. I have an ORDERS IDoc coming to my SAP system from my customer. When I see the SO it creates.. it says that it has incomplete data.. Information like pricing, inco terms, payment terms. load data, load date etc. is not filled in. How do get those filled automatically.. my customer can not, obviously, give me all the information needed for the SO.. Where do I configure and how?
    Thanks,
    Charles

    Hi,
    You can use user exits available in FM IDOC_INPUT_ORDERS to populate additional information.
    Also you can use form CUSTOMER_FUNCTION_DYNPRO to populate additional information for BDC screens of VA01. This form is available in FM IDOC_INPUT_ORDERS as well.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Help converting stuff in Streamline for Flash

    Hi, need tips and a "how to", would like to convert my simple
    black and white line drawings into vectors using Adobe Streamline .
    I would like to be able to color and use these in Flash. I use to
    animate e-cards and this is how we'd do it but it's been several
    years since I've done it and I've forgotten how. I have Streamline
    4 and Flash 5, old skool but they work fine for personal stuff.
    Can someone suggest Streamline settings for converting simple
    character drawings in vectors? And if possible a layman's
    step-by-step on where to find stuff in the menu and how to go about
    doing things? Thanks for your time!
    (P.S., I have Illustrator 9 but that's about it for my
    programs and no access to others incase anyone has a different
    suggestion, would like to work with what I have.)

    you may not find too many people knowledgable about
    Streamline here because this is a Flash
    technical forum and Streamline has not been suported for a
    number of years. Aren't there any help
    docs included with Streamline?
    --> Adobe Certified Expert (ACE)
    --> www.mudbubble.com :: www.keyframer.com
    -->
    http://flashmx2004.com/forums/index.php?
    -->
    http://www.macromedia.com/devnet/flash/articles/animation_guide.html
    -->
    http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
    19PEZ76 wrote:
    > Anyone? Been playing around with Streamline and so far
    so good so I'm not as
    > helpless as in my original post. But I would still
    really like suggestions,
    > what are some of the conversion settings you use in
    Streamline? I'm working
    > with outlined characters and objects, thin lines, no
    filling. Any help would
    > be great, thanks!
    >

  • HELP CONVERTING FCP TO QUICKTIME FOR WEBSITE VIDEO

    I'm trying to convert a FCP movie to a Quicktime MOV to place on a website. I'm looking to get something around 320x280 and around 5mb. Everytime I do the conversion, I'm ending up with files between 60-76mb. Can someone please tell me what settings I need to use. There are so many to choose from and I am BRAND NEW TO FCP!!! Please help!!!
    Powerbook/iBook   Mac OS X (10.3.9)  
    Powerbook/iBook   Mac OS X (10.3.9)  
    Powerbook/iBook   Mac OS X (10.3.9)  

    really? Is this conclusion from personal experience.
    Don't take it personally, but there's alot of
    misinformation floating around. I haven't tried it
    with h.264 encoding but with something like cinepak
    (which I have tried) framerate makes a big
    difference in file size.
    Yup - I compressed a 3:36 DV file to H.264 using both "Broadband Medium" in QT Pro and "H.264 - 300 Kbps" in Compressor 2.1. The 15 fps movie came in at 6.1 MB and the 30fps at 6.4 MB. YMMV - the source material and audio codec will have an effect on file size also.
    Framerate has very little impact on file size when using modern interframe variable bit-rate codecs like H.264, MPEG4 or Sorenson. Cinepak is pretty medieval I would avoid it.
    G5 DP 2.7 Ghz/2.5 GB   Mac OS X (10.4.7)  

  • Workflow for Order to Delivery Cycle

    Hi,
    I need some help to find the workflows for "Order to Delivery" Cycle.
    I want to know whether there is any Standard workflows for this cycle from "Order to Delivery".
    My requirement is
    1) Marketing Department Generates the Quote with a validity of 2-days.Soon as a quote is created in the system a mail should get triggered to Quality and Production Users.
    2) Once the Quotation is converted into the order an alert mail  should go to the customer.
    3) Once the Goods is produced (once the goods has been accepted by QC) Mail should get triggered to the customer.
    4) Once the goods are dispatched Mail alert should get triggered to Production Head.
    5) Once LWB is raised the mail alert should be raised to Customer and Accounts Head.
    This is the total cycle form Oredr to Delivery.I'am unable to find a standard workflow for this.
    Please guide me if there are any standard workflows are available,if not please let me know what is the other alternative.
    With Regards.
    Pradeep.B

    ttpa,
    What exactly details you are looking for?
    well for your specific condition type you can either use solution described above in post.
    Alternatively you can use check FM (go to SWE2 , double click on your BO and event linkage) . Inside check FM will have sales order no. so you can go into condition tables (I think konv/komv) and check it, raise an exception in your FM if you dont want to trigger the workflow.
    Cheers
    Jai

  • Generic problem for search help without values

    Hi,
    Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
    Does anybody know how I can solve this (in a standard way)
    thanks
    regards

    Hi
    It seems to be a bug in the system.
    <b>Please have a look at the following SAP OSS Notes -></b>
    <u>Note 574604 - Various correction reports for EBP business partner
    Note 1028643 - Input help for contact persons in purchase order
    Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
    526416 Structural enhancements LFA1
    698246 EBP 4.0 address maintenance: Default address for address use
    701321 EBP 3.5 address maintenance: Default address for address use
    701323 EBP 3.0 address maintenance: Default address for address use
    701384 BBP 2.0C address maintenance:Default address for address use
    690619 Plants are not transferred during location replication
    641960 New processing of terms of payment in EBP 3.5
    628386 Incorrect link for EBP for 'External business partners'
    Note 544392 Error in search helps EBP 2.0
    Note 544816 Error in search helps EBP 3.5
    Note 544713 Error in search helps EBP 3.0</u>
    Please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • Planed Cost value for order

    Hi gurus,
    I'm just a beginner at this SAP module, so I would be very grateful for your help...
    When I first create a maintenance order through transaction IW31, and go to Costs tab, i wonder how Co/area Curr value is calculated, because it doesnt' seem to take it from Tcurr table since the currency change is different from the one is used in this tab.... i hope u can help me with this doubt....
    Thanks a Lot,
    Daniel Siñani

    Hi,
    Please check the your setting in customising for below path
    Plant Maintenance and Customer Service>>Maintenance and Service Processing>Functions and Settings for Order Types-->Costing Data for Maintenance- and Service Orders
    1)Maintain Costing Sheet
    2)Maintain Costing Variants
    3)Define Valuation Variants
    4)Assign Costing Parameters and Results Analysis Keys
    Regards,
    Rakesh
    Edited by: RAKESH ASHOK MANE on May 12, 2009 7:06 AM

  • How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    Vera,
    Use View > View Options, and set 'Sort By" to "Manual Order."
    Then you will be able to drag-n-drop songs up and down the list.

  • As good will gesture, we can help you with the upgrade for PSE 13. We would request you to place the order for Adobe Photoshop Elements 13 as an upgrade and then we will provide you the full version serial number for the same product against the new upgra

    I RECIVED AN EMAIL FROM ADOBE AS  :  As good will gesture, we can help you with the upgrade for PSE 13. We would request you to place the order for Adobe Photoshop Elements 13 as an upgrade and then we will provide you the full version serial number for the same product against the new upgrade order"  IS THIS UPGRADE FREE AND WHAT SHOULD I DO, HOW CAN I HAVE THIS UPGRADE?

    Compare with on-line stores. The full version is often cheaper than Adobe's upgrade price.
    See this example from Amazon, but check pricing in your own region.
    http://www.amazon.com/gp/product/B00N4OLCRO/ref=s9_simh_gw_p65_d4_i2?pf_rd_m=ATVPDKIKX0DER &pf_rd_s=desktop-1&pf_rd_r=0F1GED9546928YP3PHC0&pf_rd_t=36701&pf_rd_p=1970559082&pf_rd_i=d esktop

  • I have just purchased elements 12. It will not convert a raw file for me. i have downloaded DNG convertor 8.5 but it says that my Canon 70d is not compatible. I never had a problem with my last camera canon 7d and elments 8. Can someone help me please..

    i have just purchased elements 12. It will not convert a raw file for me. i have downloaded DNG convertor 8.5 but it says that my Canon 70d is not compatible. I never had a problem with my last camera canon 7d and elments 8. Can someone help me please

    Did you buy PSE in the mac app store? If not, just go to Help>Updates in the editor and update camera raw and you should be able to open the raw files in PSE 12 directly without the DNG converter.

  • Values not available for iput help (for Bex)

    Hi Friends,
                  When I am trying to give a value as input for a Bex query. I am getting a validation error saying that the value is invalid. For example:I had given YDRP_Y01 as the input for executing the query. It is giving an error that the YDRP_Y01 is not a valid value.
    I am having these values in the underlying multiprovider for the same infoobject. When i am trying for input help by pressing F4, even then i am not able to find these objects.
    Somebody please help me in resolving the issue.
    Regards
    Sunil

    Hi Sunil,
    I am having these values in the underlying multiprovider for the same infoobject. When i am trying for input help by pressing F4, even then i am not able to find these objects.
    check Master data of that infoobject, whether it contains value "YDRP_Y01". when selecting F4, data come from Infoprovider or master data according the selection made at infoprovider or infoobject.
    Best Regards.

  • I'm trying to order a calendar off iphoto and have never had any issues, now it wont allow me to input a canadian address for ordering  help help help this is an xmas gift and i have no idea how to fix this have tried numerous things

    I'm trying to order a calendar off iphoto and have never had any issues, now it wont allow me to input a canadian address for ordering  help help help this is an xmas gift and i have no idea how to fix this have tried numerous things

    No I didn't even read through your post, to long.
    You said that "No matter what program I try to install, as soon as the installer opens it crashes". Were you talking about the install for this/these 3D programs or ANY program? As it is worded it sounded like ANY program. That tells me there is a problem with your Mac, software or hardware.
    Now you say others install programs, which is it. Programs other then the 3D ones install or no programs install?
    Could simply be your Mac is to old to run these programs and the installer knows that. You never said what model or year Mac it is.

  • Planned Value in sap pm order

    Hello All,
    Please explain me from where the planned value updates in refurbishment order in sap pm.
    Thanks,
    Regards,
    piyush

    Split Valuation means that you can define various prices for a Material in the master data (Accounting1 tab) dependent on a certain categorization - Valuation Type. When you have set the Valuation Category for a material to 'C', you may create additional views in Accounting for the material, with a different price for each Valuation Type, e.g.
    C1 - new part - €1000 (new purchased value)
    C2 - damaged part - €10 (scrap value)
    C3 - refurbished part -  €700 (value based on the cost of refurbishment)
    Then with the Refurbishment Order you can take a C2 material & "convert" it to C3, adjusting the price & stock value for your refurbished parts.
    Learn more about the Split Valuation concept at SAP Help & SCN:
    Split Valuation - MM - Material Price Change (MM-IV-MP) - SAP Library
    Split valuation..?
    Split Valuation: MM-FI Integration
    As for the other question, you are probably seeing the cost of the material you are going to refurbish, from the Order header (what is your price control & price for this material in MM03?)

  • Unable to evaluate workflow rule - Value too long for field

    Need help with a workflow error for a record update before the record is saved. There are 3 calculations that would be done in a particular order - all on number fields. Each time, I am overwriting existing values. The individual numbers could have up to 6 decimal spaces. When I try to update one or more fields that contain the calculation, I get an error message saying that the system is unable to evaluate the workflow rule - value too long for field (zNum6).
    This same calculation is fine when a new record is entered and the calculation is done as a default field value.
    Any ideas?

    I actually had to use a ToChar function at the beginning of the calculation and #### to indicate the number of digits to make this work. Oracle Help Desk provided the answer - quickly.

  • Cannot convert value "......." to type

    I'm running the following script on Exchange 2010. The script reads 3 text files and then removes everyone from the Distribution Group / Universal Distribution Group  "Messages Delivery Restrictions - Accept Messages Only From" before adding
    a new list of users
    $People = gc C:\ps_scripts\Staff_Aliases.txt
    $UDGroups = gc C:\ps_scripts\Universal_Distribution_Groups.txt
    $DDGroups = gc C:\ps_scripts\Dynamic_Distribution_Groups.txt
    ForEach ($UDGroup in $UDGroups) {
       Set-DistributionGroup $UDGroup -AcceptMessagesOnlyFrom $null
       Set-DistributionGroup $UDGroup -AcceptMessagesOnlyFrom((Get-DistributionGroup $UDGroup).AcceptMessagesOnlyFrom + $People)
    ForEach ($DDGroup in $DDGroups) {
       Set-DynamicDistributionGroup $DDGroup -AcceptMessagesOnlyFrom $null
       Set-DynamicDistributionGroup $DDGroup -AcceptMessagesOnlyFrom((Get-DistributionGroup $DDGroup).AcceptMessagesOnlyFrom + $People)
    and I'm getting the following error:
    Cannot convert value "a.abcd h.qwerty staff-abc staff.bcd" to type "Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.Exchange.Configuration.Tasks.DeliveryRecipientIdParameter
    ]". Error: "Cannot convert value "" to type "Microsoft.Exchange.Configuration.Tasks.DeliveryRecipientIdParameter". Error: "Parameter values of type Microsoft.Exchange.Configuration.Tasks.DeliveryRecipientIdParameter can't
    be empty. Specify a value, and try again.
    Parameter name: identity""
        + CategoryInfo          : InvalidData: (:) [Set-DynamicDistributionGroup], ParameterBindin...mationException
        + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-DynamicDistributionGroup
    I'm getting the content from three text files, the first contains the User Alias and the 2nd/3rd contain the Universal and Dynamic Distribution Groups.
    This is an exact copy and paste from the EMC screen and I know that the script should work but I can't see what I'm doing wrong
    Help or ideas please
    Darryn

    Set-DynamicDistributionGroup $DDGroup -AcceptMessagesOnlyFrom((Get-DistributionGroup $DDGroup).AcceptMessagesOnlyFrom + $People)
    Look closely at this line.  Read the documentation to see how it is used.
    What you h ave typed makes no sense and I cannot understand what you want to do with this.
    Start here for a tutorial on how to use these CmdLets:
    http://blogs.msdn.com/b/ukeducloud/archive/2011/10/05/dynamic-distribution-groups-part-1.aspx
    http://blogs.technet.com/b/educloud/archive/2011/10/06/dynamic-distribution-groups-part-2.aspx
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Want to use a Credit Card from a Country which is not in Apple's List

    Recently, I moved to Serbia, where I now live and work, and I would like to change my Apple ID account so that it it uses my credit card number here. Having said that, Apple has just about every country in the list except for Serbia. I'm aware that t

  • Two questions about a G5 Power Mac

    Hi I just got a refurbished Power Mac G5 running OSX 10.4.11 Anybody know what's the most up to date version of MS Office I can run on it? Also I tried to install OSX 10.5.4 (which I have on my Mac Book) but it said it wasn't allowed. Is 10.4.11 the

  • How to get photos show up in a video project?

    Hi! I'm trying to import photos from a Canon Powershot SX210 IS into a movie project. I first imported the photos into iPhoto library and photos show up in the project, then I drag and drop then into the project timeline but once I play the video pro

  • Acrobat Pro 9.4.5 digital signing, menu gray but properties says allowed

    I have a document that had the signing menu gray/disabled. I tried going to Advanced->Security->Remove Security. The dialogue said "You Cannot change security on this document because the document enables extended features in Adobe Reader. You can sa

  • Question(s) Regarding Personas Capabilities

    Hello, We are new users of Personas and are trying to figure out all of the tool's capabilities. Below are some questions that our users had when determining whether or not the Personas tool can replace some GUI screens: 1) Is it possible to have fie