Remove hh:mm from a date

In Oracle BI I have defined a variable
select to_date(bolla_ven_dt,'yyyy/mm/dd') from param_tempo
but the value I receive is in the format yyyy/mm/dd 00:00:00 and so when I try to use this variable in an Oracle BI prompt, it gives me an error because Oracle BI doesn't accept that format as a date.
The same variable in other Oracle BI installation works correctly since it returns the date in yyyy/mm/dd format.
What I have to do?
Have I to change anything on the database session?
Edited by: user10708407 on 30-apr-2010 18.21

In Physical layer the datatype is already set to DATE.
It's not a problem of repository variable because even if I change the date the report doesn't work.It always shows yyyy/mm/dd 00:00:00.
Maybe the problem is not the timestamp but the format of the date that is not recognized. But it's automatically formatted by the calendar.
A date value was expected (received "2010-01-01 00:00:00").
Dettagli errore
Codici di errore: QABPH2PO

Similar Messages

  • Remove special characters from incoming data

    Hi Varun, You could use either of below.. REG_REPLACE(YOUR_INPUT_STR,^[A-Za-z0-9 ],NULL)  -- Replaces all non-alphanumeric with null
       REG_EXTRACT(YOUR_INPUT_STR,[A-Za-z0-9 ]) -- Extracts only alphanumeric data -Rajani

    i have special character coming in the source data and i want to remove it before loading into target, currently i am getting one special character , it may come as some other type of special character  other than alpha numeric. so how to remove those special characters from data and load the alphanumeric data into target.

  • How to removed leading zeros from a date field.

    CONVERT(NVARCHAR, CONVERT(DATETIME, CONVERT(CHAR(8), STM.CreationDate)), 101)
    This is what i currently have, but prints 02/03/2014 i would like to print the date without the zeros when applicable.
    Thanks in advance.

    >>REPLACE(LTRIM(REPLACE(CONVERT(NVARCHAR, CONVERT(DATETIME, CONVERT(CHAR(8), STM.CreationDate)), 101),'0', ' ')), ' ', '0')
    Does this query really works? I doubt
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Re: remove special characters from incoming data

    Dear Varun Kumar, Please use this logic. REG_REPLACE(INPUT FIELD,'[^A-Za-z0-9]' ,'')Only Characters and Numbers it will come. I Tried Same Logic it working. Please let me Know. Thanks & RegardsKasireddy+966545281845

    Hi Varun, You could use either of below.. REG_REPLACE(YOUR_INPUT_STR,^[A-Za-z0-9 ],NULL)  -- Replaces all non-alphanumeric with null
       REG_EXTRACT(YOUR_INPUT_STR,[A-Za-z0-9 ]) -- Extracts only alphanumeric data -Rajani

  • Remove XML tags from XML element in Oracle

    Hi,
    I have a requirement where I have to remove all the xml tags from xml element with banks, currently I'm using replace 4 times to replace all different types of xml tags, performance is really bad. is there any better option to remove xml tags from xml data leaving the actual data. please find the example data below.
    select
    TO_CLOB(REPLACE(REPLACE(REPLACE(REPLACE
    ('<Concatcolumn><ConcatGroupID>MyText Data goes here </ConcatGroupID><ConcatGroupID>Data agian</ConcatGroupID></Concatcolumn>','<ConcatGroupID>'),'<Concatcolumn>'),'</ConcatGroupID>',';'),';</Concatcolumn>')) AS Concatcolumn
    from dual
    **************Out put*************
    MyText Data goes here ;Data agian

    One way is to use xquery:
    SQL> with t as
    select xmltype('<Concatcolumn>
                          <ConcatGroupID>MyText Data goes here </ConcatGroupID><ConcatGroupID>Data agian</ConcatGroupID></Concatcolumn>'
       ) xml from dual
    select xmlquery('string-join(//text(), ";")' passing xml returning content).getclobval() xml from t
    XML                                                              
    MyText Data goes here ;Data agian                                
    1 row selected.

  • How do I remove old applications from my new Macbook Pro that came over when the data on my iMac was migrated to the new computer.

    How do I remove old applications from my new Macbook Pro that were part of the data that was migrated over from my older iMac?
    Thanks

    If the applications were originally drag and drop installations you can simply drag them to the trash and empty. If they were installed by an installer there should be an uninstaller included. If you're not sure you should check with the software developer for instructions. In this case Google can be your friend.

  • When I try to sync photos, I followed all the steps, picked one folder.  When I hit "apply" I get this error message: Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad. What have I done wrong

    When I try to sync photos or music, I followed all the steps, picked onle folder, not the whole library.  When I hit "apply" I got this message:
    Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad" What can I change to just download the photos and not interfere with the apps?
    (By the way, the memory is not even one quarter full)
    Thanks for your help - Pat

    I have the same problem.  I updated my mac to 10.5, which then had me update apps like itunes, etc. then it wanted me to sync my purchased music to my ipad before i updated the ipad...which worked ok. then when i was syncing the photos i got the same message when i hit "apply" asking are you sure you want to delete the 12 apps from the ipad -  clicked "no" and brought me back to the original screen. Got the same message when trying to move them from the hard drive to the ipad.  WHat is going on and how do I correct this? Thanks

  • How do I remove a repeated happening from a date

    I want to remove a repeated happening from a date. If I do that the way I know, I remove everything including the past ones. But I only want to remove the future happenings. Is that possible?

    see my answer in https://support.mozilla.org/en-US/questions/1050555

  • On my mac, photoshop cc "save as" removes capture date from exif data. How do I prevent this?

    On my mac, photoshop cc "save as" removes capture date from exif data. How do I prevent this?

    You had to reinstall CS6 after cancelling the CC as both were from the same Adobe ID. You can always use & keep both CC & CS6 together.
    Please refer to the blog:
    Can I install both CS6 and CC apps on my computer? « Caveat Lector
    Other references are :
    Creative Cloud Help | Install, update, or uninstall apps
    What is the difference CS6 & CC Versions?
    Regards
    Rajshree

  • Feeback error: "Your feedback seems to contain a URL. Please remove this and similar personal data from the text, then try again."

    error when using feedback: "Your feedback seems to contain a URL. Please remove this and similar personal data from the text, then try again. Thanks!"
    Using FF4.0 b10 with MS XP sp3

    well, for starters, is there a URL (link) in the text? if so, you will have to take it out, and include it in the little link area under the comments box.
    If not, check to see if you have 'Http://' or '.com' or something similar in the text.

  • Remove Characters from a Date

    What are some ways that I could remove the hyphens, semicolons, periods, and empty strings from a date (in a single expression)?
    If I have a date (returned from GETDATE()) as follows:
    2014-09-15 16:53:09.253
    I want to remove the non-numeric characters and return this:
    20140915165309253
    Can REPLACE be used to identify more than one character pattern to replace?
    Thank you for your help!
    cdun2

    Another way, don't remove at all, begin with just the requisite dateparts and datenames. Although either way works fine, this way gives you absolute control over how you render.
    In this example, the "from sys.messages" is not part of the answer, I just included it to recreate a test to compare speeds.  It ends up having the same speed/execution plan/actual CPU time used either way. 
    The "Right()" functions are required, because for example, if the time is 8:03, the "03" is presented as just "3", so you have to force it to render as "03" with the Right function.  The DatePart(month) is the
    only one returning an integer result, so that must be cast as Varchar, the DateName() functions return a string, although unfortunately with leading zeroes removed.
    Select Datename(year, SysDateTime())
    + Right('0' + Cast(DatePart(month, SysDateTime()) as varchar(2)) , 2)
    + Right('0' + DateName(day, SysDateTime()), 2)
    + Right('0' + DateName(hour, SysDateTime()), 2)
    + Right('0' + DateName(minute, SysDateTime()), 2)
    + Right('0' + DateName(second, SysDateTime()), 2)
    + Right('0' + DateName(ms, SysDateTime()), 3) , sysdatetime()
    from sys.messages sm1
    Select REPLACE(REPLACE(REPLACE(REPLACE(CONVERT(VARCHAR(30), GETDATE(), 121),'-',''),':',''), '.',''),' ',''), sysdatetime()_
    from sys.messages sm1

  • How to remove extra spaces from Data Matrix Label?

    Hi All,
    Kindly let me know how we can remove extra spaces from Data Matrix Label.
    Suppose we have this following code in SO10.
    ^FO1380,1879^COY,78^BY4^BXR,6,200^FH^FD[)>_1E06_1DF01001T_1D6JUN&v_huf&&v_hul&_1DV&v_supnum1&_1D16K&v_del&_1D6D&v_flddat1&095_1D2L&v_unload&_1D
    P&v_article&_1D4L&v_madein&_1D_1E_04^FS.
    Variable have there own value. and the desired result will be shown like the attachment.
    But in my code it splits into new line when CMIR value has 3 spaces.
    If CMIR value is 1S0 820 355 A . then it creats a new line.
    Kindly suggest me any possible solution.
    Thanks,
    Partha

    Hi Gaurav,
    In print preview we can't see any space or new line. But when it scanned by TSB (barcode scanner) it will generate a new line when there is 3 space CMIR value.
    So where should I write SHIFT CMIR LEFT DELETING LEADING space this code?
    Because there is no space coming at the time of debugging or print preview.
    And in SO10 the code written as
    ^FO1380,1879^BY4^BXR,6,200^FH^FD[)>
    Here CMIR value is 1SO 820 303 A
    and generated output is like this.
    And desired output should be like this.

  • Option to keep app data when removing an app from iPhone

    I'm sure this has been asked for before, but are there any plans to add this feature?
    It would be nice to be able to remove an app (after all I only have 16gb of space and can't keep adding new apps) and have iTunes keep a back up of it's data so it's restored when you re-add the app.
    The iPhone is overtaking devices like the PSP and DS in game sales, so it's clear that a lot of people use the iPhone for gaming. With other portable games consoles, you can choose what games you want to take with you when you're out and about without fear of losing saved games if you decide to leave one at home. It would be a great feature if you could add and remove games at will just as simply as adding or removing playlists. After all, you can remove a playlist from your device to make room, but can always re-add it later.
    As I said before, I'm sure lots of people want this feature, but all I want to know is if it is in the works or not.
    Thanks for reading.

    I agree it would be a very nice feature; the iPhone's syncing and data backup capabilities are very limited compared to devices that have preceded it like Palms and even the HP handhelds of 15 years ago. However, you won't get an answer here because this is a user forum and Apple does not respond to posts.
    The good news is that the API allows app developers to save data and transfer it to your computer either by over the Internet, by wire or WiFi, and some app developers have incorporated backup features into their apps. The bad news is that the process is manual, for each app, and that the process is not the same across apps.

  • I really would like to know how to totally remove Yahoo toolbar from my Firefox browser as well as my computer. I don't like those special toolbars at all.

    I really would like to know how to totally remove Yahoo toolbar from my Firefox browser as well as my computer. I don't like special toolbars at all. I find it irritating that you included one in the newest version of your browser. In the future I would hope you would leave this or any other out. Firefox used to be my favorite browser to use, now I am not going to want to use it because of the extra toolbar. Please tell me there is a way to remove this, not just hide it.

    You can't move the Yahoo Toolbar from IE to Firefox, they are totally different "behind the scenes". However you can install it, [http://us.toolbar.yahoo.com/ http://us.toolbar.yahoo.com/] and I believe if you log in with your Yahoo account it will sync your data.

  • Not Working: BlackBerry Link Remote File Access Remove Old BlackBerry from BB ID

    I have: removed my blackberry q10 from blackberry link, wiped my q10, uninstalled and reinstalled blackberry link, have link version 1.1.1.32, blackberry q10 os version 10.1.0.2309 - which whenever I plug in the q10 after removing the device from link, says there is an os update, so I update it, and then it does nothing apart from rebooting the q10, or gives an error saying 'updates not available. Please check internet connection and retry.'.
    Also, I have Logout/login on blackberry link, I know my q10 is activated as I have purchased items from app world, and on the computer the app world site shows that I have a q10 when I sign in. I am using the same BBID and have changed the password on my q10 to see if that made a difference, then signed out and back into link on computer with updated password. I have administrator rights on my computer.
    I can access the q10 from my computer over the same wifi network, and it syncs files fine with wireless sync turned on. It is remote file access not giving the option to connect to my q10. 'BBID *email* isn't associated with a device running Blackberry 10 OS or an error occurred when trying to retrieve your information from the Blackberry ID servers.'
    The problem is that although I have the same blackberry id for link and my q10, no devices show up on the remote file access screen, and I cannot access my files on my computer from my q10, yet I can sync them on my computer over the wifi network. How can I enable Remote File Access?
    A problem could be that I have a Curve 9300 on my BB ID account, so if I could disable this (which I have no idea how to do after a lot of research), this might rectify why link cannot set up remote file access.
    What I haven't done is wiped my q10 and uninstalled all user data from link at the same time, as then I would have to manually reload everything on my q10.
    My q10 shows my computer in the settings\blackberry link\paired devices ,  but I 'cannot view files on *computer*'. Also, link does not show in the file manager. I set up my q10 as a permanent link not a one-off connection.

    No one cares because it's not a z10 (I know because I am having the same problem and no one knows how to fix it and no threads for q10 fix)
    Slàinte.
    Not all things are good.
    Not all things are evil.
    But with an open mind...
    You can see the difference.
    Knowledge is power.

Maybe you are looking for

  • I have a new computer.  How do I sync my apps?

    I have a new laptop computer (Windows7).  I have a 2nd generation iPod Touch.  I was able to sync my music library, playlists, videos, photos, podcasts, etc. by using a 3rd party software program - CopyTrans.  My apps are not included in this.  If I

  • Trouble using Cut & Paste function

    I am having trouble using any type of cut and paste function in Dreamweaver......I have tried using "ctrl c" and "ctrl v", have tried using right click mouse function with drop down menu for cutting and pasting, and using the edit (top bar) cut and p

  • How to see memory setting of a managed server

    Hello, Can anybody explain me how to see Memory settings of a managed server instance in weblogic server using unix box Thanks Ravi

  • Print JEditorPane Contents

    Hi friends, In my billing application i use JEditorPane and set some billing document. If i want to print the contents which one is correct. 1. editPane.print(null, null, false, null, null, false);or 2.use print job and attributes. I used the 2 metho

  • Alert rule - Lync 2013 MP - Call reliability alert

    We have SCOM 2012 and use Lync 2013 MP to monitor Lync environment. There is an alert in SCOM created by rule Call reliability alert rule from Lync MP. It is generated based on event ID 1122 from Operations Manager event log. In details there is a fo