There is a problem, I met when I was used to import 'date' datatype sqlldr: ORA-01841: (full) year must be between-4713 and 9999 and not 0

control the file as follows:

load data

INFILE *.

insert into table test1

Fields ended by ',' optionally surrounded "" "

(id, time_date ' to_date (: time_date, "YYYY-MM-DD HH24:MI:SS)")

begindata

"1," 2007-07-18 00:00:00.

2, "2017-07-18 00:00:00"

the structure of the table:

create table test1 (int id, date time_date);

I'm waiting for your ansers!

Hello

seems to be a problem with your file, check on Notepad, the value of the column was enclosed in double quote not 2 times the apostrophe...

load data

INFILE *.

insert into table test1

Fields ended by ',' optionally surrounded "" "

(id, time_date ' to_date (: time_date, "YYYY-MM-DD HH24:MI:SS)")

begindata

1, "2007-07-18 00:00:00.

2, "2017-07-18 00:00:00.

HTH

Tags: Database

Similar Questions

  • Why is there a security problem with Gmail when it is used in the WLM

    When I check my mail account gmail gives me asecurity problem "cannot send or receive messages for the Gmail account (kendixon69). Download header for the 'AS SEEN ON TV' folder did not complete. The IMAP server has issued an unrecognized greeting message.

    Server response: 220 mx.google.com ESMTP m9sm105050pbd.55
    Server: 'imap.gmail.com '.
    Windows Live Mail error ID: 0x800CCC0F
    Protocol: IMAP
    Port: 465
    "Secure (SSL): Yes.

    Please check with the support of Gmail.

  • error when reading flat file of external table... "ORA-01849: time must be between 1 and 12"

    My question is - is it possible for me to fix this error at the level of external table definition? Please advice

    Here is the data file I am trying to download...

    KSEA | 08-10 - 2015-17.00.00 | 83.000000 | 32.000000 | 5.800000

    KBFI | 2015-08-06 - 15.00.00 | 78.000000 | 35.000000 | 0.000000

    KSEA | 08-10 - 2015-11.00.00 | 73.000000 | 55.000000 | 5.800000

    KSEA | 08-08 - 2015-05.00.00 | 61.000000 | 90.000000 | 5.800000

    KBFI | 2015-08-06 - 16.00.00 | 78.000000 | 36.000000 | 5.800000

    KSEA | 2015-08-07 - 18.00.00 | 82.000000 | 31.000000 | 10.400000

    KSEA | 08-10 - 2015-00.00.00 | 65.000000 | 61.000000 | 4.600000

    KBFI | 08-08 - 2015-07.00.00 | 63.000000 | 84.000000 | 4.600000

    KSEA | 08-10 - 2015-15.00.00 | 81.000000 | 34.000000 | 8.100000

    This is the external table script

    CREATE TABLE MWATCH. MWATCH. WEATHER_EXT ".

    (

    LOCATION_SAN VARCHAR2 (120 BYTE),

    DATE OF WEATHER_DATETIME,

    NUMBER (16) TEMP.

    NUMBER (16) OF MOISTURE,

    WIND_SPEED NUMBER (16)

    )

    EXTERNAL ORGANIZATION

    (TYPE ORACLE_LOADER

    THE DEFAULT DIRECTORY METERWATCH

    ACCESS SETTINGS

    (records delimited by newline

    BadFile "METERWATCH": "weather_bad" logfile 'METERWATCH': 'weather_log '.

    fields ended by ' |' missing field values are null

    (location_san, WEATHER_DATETIME char date_format DATE mask "YYYY-mm-dd - hh.mi.ss", TEMPERATURE, MOISTURE, wind_speed)

    )

    LOCATION (METERWATCH: 'weather.dat')

    )

    REJECT LIMIT UNLIMITED

    PARALLEL (DEGREE 5 1 INSTANCES)

    NOMONITORING;

    Here is the error in the weather_bad which is generated files...

    column WEATHER_DATETIME of 55 error processing in the 1st row to the /export/home/camsdocd/meterwatch/weather.dat data file
    ORA - 01849ther_log.log 55 56 error processing column WEATHER_DATETIME in the row 1 for the /export/home/camsdocd/meterwatch/weather.dat data file
    5756 ORA - 01849ther_log.log: time must be between 1 and 12
    58column WEATHER_DATETIME 57 error during treatment number 2 for the /export/home/camsdocd/meterwatch/weather.dat data file
    59ORA-58 01849: time must be between 1 and 12
    60column WEATHER_DATETIME of 59 error processing 5th for the /export/home/camsdocd/meterwatch/weather.dat data file
    61ORA-60 01849: time must be between 1 and 12
    62column WEATHER_DATETIME of 61 error treatment in line 6 to the /export/home/camsdocd/meterwatch/weather.dat data file
    63ORA-62 01849: time must be between 1 and 12
    64column WEATHER_DATETIME of 63 error treatment in row 7 for datafile /export/home/camsdocd/meterwatch/weather.dat
    65ORA-64 01849: time must be between 1 and 12
    66column WEATHER_DATETIME of 65 error treatment 9 for the /export/home/camsdocd/meterwatch/weather.dat data file online
    67: time must be between 1 and 12

    My question is - is it possible for me to fix this error at the level of external table definition? Please advice

    Yes it is possible.  Let's not your date mask.  You're masking for 12-hour format when your data is in 24-hour format.  Change the mask of your date to be "YYYY-mm-dd-hh24. MI.ss ".  Notice the change in "BOLD".

  • Why raw of Sony DSC-RX100M3 air files strange in PE9 when flash was used in the shot?

    I just bought a camera Sony DSC-RX100M3 and use in RAW + jpeg.  I want to use in my Photoshop Elements 9 raw files, having the Camera Raw plugin version 6.5.0.216 installed. I downloaded the Adobe's DNG Converter 8.7.1.311 version so I can import my Sony raw files into EP 9 because they cannot be used directly. Most of the time these files raw look OK, but when I use the flash on my camera and then look at the raw files in PE9 they seem much more pink than jpeg files. Jpeg files are more or less similar that I remember the scene when I took the picture.

    When I look at the same raw and jpeg in Sony files have (version 4.2.04.17270) software Image Data Converter the raw and jpeg files are similar to one another and there is no colour pink cast in the raw file.

    What I am doing wrong in Photoshop Elements? I have the DNG Converter retains all the information from the original raw file and makes no changes, so why not the raw file look so different when flash was used?

    Thanks for any help you can give!

    AVM

    I interpret the differences that you see the difference between the Adobe Standard camera profile and that Sony made with the colors.

    I can get things to look more like what you see in-camera jpg by simply changing the Adobe Standard camera to camera neutral profile on the camera Calibration tab.  I don't remember if PSE9/ACR6 has these available camera simulation profiles or if you has that Adobe Standard.  If you have the other, then switch to the use of one of them.

    Here's what the image looks like in the last Camera Raw plugin 8.7.1 to PSE13 after having chosen the camera neutral profile that looks less magenta and more green as the JPG:

    I think that part of your question is that you have mixed lighting where the light blue flash is mixing with some slightly more hot (incandescent) or (fluorescent) green color to the right side is hotter than the left side.  Apart from the differences in color, there is also a shadow in the foreground, perhaps caused by your sun visor that should be eliminated or your goal is too long to use a flash that relatives or something.

  • I'm having a problem on line when someone else uses the same router, error message: there is an IP address conflict

    Original title: I'm having a problem online when someone else uses the same router I have...

    I bought a new laptop with windows 7 premium. I connect to the internet through an external modem dsl and a wireless belkin n router. My daughter has an Android and uses the same connection... The problem is that we cannot not be online at the same time... If shes online using his android I can't connect using the laptop and if Im online using the laptop, she can't get online using his android... The error message indicates that there is a conflict of IP address... And sometimes says that there is a dns error... How can I fix this problem so that we can surf the net using the same connection?

    Hello

    Router is the gateway to the Internet, and it assigns the IP address for different devices. With the error message, you have so many IP address conflict, it seems that the IP address is not assigned correctly on the router.

    I suggest that you turn off all devices, reset the router and turn on the router. Once that is done turn the whole one and try to connect to the Internet.

    For assistance on this, you can contact your router manufacturer or Internet service provider.

    Hope the information is useful.

  • I installed Windows 7 on my computer. Its rebooted normally, but when he was loading files to the top of the color went all wrong... As you do not see the weight...

    Installation of window 7. ! With a problem! Help, please!

    I installed Windows 7 on my computer. Its rebooted normally, but when he was loading files to the top of the color went all wrong...

    As you do not see the weight...

    Please help me!

    • 512 GB of ram with a Flash ram Drive his 10
    • Windows aero does not support "as the scan did not say very important hahah: D.
    • Intel Inside Pentium 4
    • Reference Dell computer WITH a disk emachine hard and things 'VERY OLD '.
    • 149 with Flash Drive 500 GB hard drive

    Help, please!

    PS. Mr. need help! D:

    I can run vista Basic that lol

    I didn't mean that you cannot run Windows 7. I have run on systems with 512 MB of ram. It will work, but will slip. It will be the same for Vista. I recommend that stick you with Xp until you are able to upgrade your ram.

  • Performance problem in select when subselect is used

    We have a select statement that uses where clause with dates in. I've simplified the SQL below to demonstrate little about what it does:

    Select * from user_activity
    where starttime > = trunc (sysdate - 1) + 18/24
    and starttime < trunc (sysdate) + 18/24

    (This selects the records from a table where a starttime field has values beween today 18:00 and 18:00 yesterday).

    We use this statement to create a materialized view that freshen every day. Sometimes we need to refresh the data for a historic day, which means that we must enter and change the where the lines, for example to get the data from there instead of 3 days yesterday, the where clause becomes:

    Select * from user_activity
    where starttime > = trunc (sysdate - 3) + 18/24
    and starttime < trunc (sysdate - 2) + 18/24

    Having to re-create the views as this is a nuisance, we decided to be "smart" and create a table with an adjustment that we could use to control the number of days that the view is. So, if our table is called days_ago and field called days (with a single record, a value of 1), we now have

    Select * from user_activity
    where starttime > = trunc (sysdate - (select the days_ago days) + 18/24)
    and starttime < trunc (sysdate - ((sélectionnez les jours de days_ago) + 1) + 18/24

    The original SQL takes a few seconds to run. However, 25 minutes to the "improved" version.

    Table of days has only 1 record, selecting directly in it's instantaneous. Running select it on its own.

    Nothing jumps out as being stupid in this process? We cannot explain why the performance suddenly dropped to such a simple change.

    Write a DETERMINISTIC function returns an end point of the range that you want to use in your query:
    Using your example:

    create or replace function get_limit RETURN NUMBER DETERMINISTIC as
        limit NUMBER;
    begin
        select days into limit from days_ago;
        return limit;
    end;
    

    Then you can query your data using the function in the WHERE clause:

    select * from user_activity where start_time between trunc(sysdate) - get_limit() + 18/24 and trunc(sysdate) + 18/24
    

    To make a solution more general you can:

    1 create a type object that has two datetime start and end datetime values
    2 change the function to return an instance of the object type
    3. change the query to get the start and end values in the object type

    This allows you to dynamically control the two points of endpoint of the range of values.

    A MUCH more general solution is to modify the function to take parameters and change the query to pass parameters.

    For example, the query could pass a parameter 'MONTH' and the function could 'calculate' the values start and end for the month and return an instance of the type of object with the two values.

    Parameters using allows the function to do whatever you want in order to get the appropriate data for your query. If your 'days_ago' table can have multiple records and additional fields to allow you to set up your service and therefore your queries, content of your heart.

    Take advantage of the power of Oracle to make your code more robust and modular!

  • My conputer stops suddenly when I was using the vista recovery disk, I can't use this disk to start my computer?

    I tried using the recovery disk and tried to use a USB key to try to get it started but my computer still jumps her.

    Hello

    "It is not always shut-down.

    It's not enough information to that is, if it stops at other times other than when you use the recovery disk.

    "tried to use a USB key to try to get it started."

    Have you changed the Boot order to make the DVD drive 1st in the Boot order if you tried to use the DVD player in your computer?

    And to boot from USB devices, you must have USB Boot active in order to boot on your motherboard and also 1st in the boot order

    Read one of these methods:

    http://helpdeskgeek.com/how-to/change-boot-order-XP-Vista/

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    In a large number of computers, by pressing F12 at startup is a way to change the boot order.

    And in these Forums, when a poster has issues with the manufacturer recovery media, the recommendation is to contact the manufacturer for the aid that the manufacturer provides this software.

    See you soon.

  • When I import clips off DVD, I created several years back, they are deformed and cut on the left

    I intend to rework a few images of a DVD I created in 2010... First important clips ok, but they are deformed and cut on the right.  I imported in DV and HDV and the result is the same...

    In the DVD, they will be SD

    Say you that they are "clips"... What is it?  (clip.xxx)

    How do "import you"?

  • When I try to connect it to my youtube account it reads as follows: there is a problem with this Web site's secure certificate.

    Site Web Cecurity certificates

    When I try to log into my youtube account it reads:

    There is a problem with this Web site's secure certificate.
     
     
    The security certificate presented by this website has expired or is not yet valid.
    A site address different Web issued the security certificate presented by this website.


    Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.

    Anyone know how I can fix this problem?

    There is a useful article at this address on how to solve this problem. Good luck.

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_xp/security-certificate-errors-the-security/89a2a3d9-337b-4FA9-b10c-36caa78d5ab0

    Tim at the Ingenyes

  • Sorry, there is a problem with Hotmail right now. It should be fixed soon, so please try again in a few minutes. "- How to fix?

    When I try to click in and see my emails it says "sorry, there is a problem with Hotmail right now. It should be fixed soon, so please try again in a few minutes. "and mails never appear (I could see it on the list, but could not click on it to see it), but it has been like that for more than 48 hours, please help!

    Hello

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Error message "your account has been locked" when trying to connect
    http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • I can get the signed to Hotmail, but I can't read my mail. Sorry, there is a problem with Hotmail right now Hotmail was not able to complete this application. Microsoft may contact you regarding any issue you are reporting.

    There are ten days began to have problems with Hotmail. Could isgn in but get the following message is displayed.
    Sorry, there is a problem with Hotmail now
    Hotmail was not able to complete this application. Microsoft may contact you regarding any issue you are reporting.
    I can email again and again my contacts but thats all.
    I then tried to do with Internet Explorer and it works fine. I don't like it is because I have problems with some Web sites.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Hi, I bought acrobat adobe pro ms with order number: 12287735659 but I have not received the download link and the serial numbers of adobe and had this message there is a problem processing your order, please contact our Service team at the 800 448 custom

    Hi, I bought acrobat adobe pro ms with order number: 12287735659 but I have not received the download link and the serial numbers of adobe and had this message there is a problem processing your order, please contact our Service team customer to 800 448 1642 for assistance. my credit card is already loaded, but not received numbers.please series suggest

    Hi Kunal,

    If the problem still persists, can you please contact the support for this issue through https://helpx.adobe.com/support.html#/top_products.

    Please do not hesitate to me message in person if assistance is needed.

    Concerning

    Stéphane

  • When I select recently bookmarked it works ok, but when I select unsorted bookmarks it opens a window not closing cycles for a long time.and I want to close the window manually and not automatically

    When I use the selection recently marked with a bookmark in bookmarks, it works very well and load the page quickly and opens another window. but when I go to unsorted bookmarks and double-click on the desired bookmark it loads very slowly and cycles for a long time. If I go to the firefox icon in the Launcher on natty 11.04 with unity it shows two open windows. I click on the unsorted Bookmarks window and manually stop and it works well and unordered finishes, loading the bookmark page I was trying to see. Why the unsorted Bookmarks window closes on its own? Is there a setting I can do close automatically. It really slows down the loading of the page, I tried to see. well thank you for any help or advice.

    Create a new profile as a test to see if your profile is the source of the problems.

    See basic troubleshooting: make a new profile:

    There may be extensions and plugins installed by default in a new profile, so check that in "tools > Modules > Extensions & Plugins" in case there are still problems.

    If this new profile works then you can transfer files from the old profile to the new profile (be careful not to copy corrupted files)

    See:

  • Problem install driver Brother MFC 8300 (using Windows Update)

    I need help for my printer to work with a new installation of Windows 7 Home Premium 64-bit.  I had to reinstall due to a CMOS error, I think it was because of a dead battery.  It could even be something else because I had other problems with this facility (explained below).  In any case, the printer is a former Brother MFC 8300 (he was a workaholic!).  Past times, I have re-installed Windows, there have not been any problems with this printer.  I just install Windows Update driver (the driver is named 'Brother MFC8600/9650 Series' in Device Manager).  But this time the installed "Windows Update" the driver and says that everything is working properly but when I go to "Devices and printers" it does not appear in "Printers and faxes" (as he usually does).  FYI, there is a list for "USB Composite Device" in "Devices" that shows "Brother MFC8600/9650 series" as a scanner.  Don't know what that means.

    I also tried to manually download the driver of 'catalog.update.microsoft.com '.  I downloaded 2 different versions of the driver.  It has a size of 2.0 MB file and the other has a 2.3 MB file size.  I found myself by installing do not either because I didn't know where the appropriate destination location has been using the 'Expand' of the 'Command Prompt' command with "expand -F: * " ."  I think that the file for the "Windows Update" file size is 2.1 MB (my memory is not the biggest however).

    I am running as a "Standard user", but I installed all the drivers of devices as an administrator.  I also noticed a problem with an application that I used before this re - install, "Ultracopier.  On installs previous he has installed fine and he demanded 'Administrator' rights after the start.  But during this installation, it did not work at all and did not 'Administrator' rights after the start.  I also had problems with a 2 to external hard drive related to the permissions and access to certain files and folders.  I don't know if any of this matters but I thought that the more information the better.

    I hope someone can help me with this because I really need this printer to work.

    Hello

    Sorry for the late reply.

    I suggest that you restart the Printer Spooler service and see if that fixes the problem.

    A print spooler is software that temporarily stores the disk printing hard or in memory until the printer is ready to print.

    Please follow the steps below:

    You must be logged on as administrator to perform the following steps:

    1. By clicking the Start button, click Control Panel, open administrative tools. In the search box, type Administrative Tools, and then click Administrative Tools.
    2. Double-click Services. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    3. Right click on the print spooler service, and then click Properties.
    4. Under the tab general , next to Startup type, make sure that Automatic is selected.
    5. If the service is not already running, under Service status, click Startand then click OK. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    For more information, please see the link below:

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    If you are still facing problems while using the printer, I suggest to uninstall the driver again and install all the optional updates offered by Windows Update and then install the printer drivers if not included in the optional updates and see if the problem persists.

    To install optional updates, follow the steps below:

    1. Press the Windows key + R
    2. Type wuapp
    3. In the left pane, click search for updates, and then wait while Windows searches the latest updates for your computer
    4. If updates are found, click on view available updates.
    5. Select the optional updates, and then click on install. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    Hope this helps, get back to us if you need further assistance for Windows.

Maybe you are looking for

  • I have a code that works in Chrome, Opera, IE and Safari but not Firefox. I was not able to register for my question in a forum. Help, please.

    I created a banner scroll of the LCD to Textspace.net and copied the code they provide for my Web site. The code works in Opera 12.16, Safari IE 11 and Google Chrome 31.0 but not Firefox 26.0 5.1.7. Operating system is Windows 7. Here is the generate

  • NIDAQmx version numbers

    Hello everyone once again. I have a bunch of new material OR that come with a version DVD of NIDAQmx 9.9 dated 10 months ago. But if I do a search on NIDAQmx to get the latest version, I found a version 14.1. I find it strange that he wouldn't have s

  • Analog output signal stops

    Greetings, I use a DAQ Assistant to output a 0 - 5V signal. I added a Triangle pattern at the entrance of the DAQ Assistant.The point is that I do 0 - 5V and then back to 0V. But the problem is that the DAQ Assistant stops just to 1V.P.s. I have the

  • Device-i pod touch

    Can someone help me my i pod touch is disabled for 21,745,898 minutes, so al be dead before I can use it... Do you know how to unlock my device, thank you!

  • DIFFERENT PARENTS ADDED

    Summary of the issueOther issues of Windows Live family safety What version of Windows Live Family Safety do you use? Version 2011 (15.4.3538.513) Choose your operating system version: Windows 7 Additional detailsHello team,my account has been hacked