473,805 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

i'm trying to load data from uploaded file in php by using sql loader

24 New Member
im having trouble in executing sql loader command in php. i already posted this issue in php forum, but didn't give me clear answer yet.

probably posting in this forum would be better.

here's what i've tried :
$cmand="sqlldr userid=system/pass control='contro l/data.dat'";
system($cmand);

in php, we can see the result line. it works but only reached the header of the sqlldr command n it suddnly stopped. what should i do then?

thx
Jul 27 '08 #1
2 3318
amitpatel66
2,367 Recognized Expert Top Contributor
Please post the exact error message that it is throwing?
Jul 28 '08 #2
ragonz
24 New Member
Please post the exact error message that it is throwing?
If executed in cmd prompt, then it should be like this one

SQL*loader : release 10.2.0.1.0 - Production on Tue Jul 29 07:33:49 2008
Copyright <c> 1982,2005, Oracle. All rights reserved.

Commint point reached - logical record count 64
Commint point reached - logical record count 128
Commint point reached - logical record count 192
Commint point reached - logical record count 256
Commint point reached - logical record count 320
Commint point reached - logical record count 353
Commint point reached - logical record count 354


But in php, it's just like this

SQL*Loader: Release 10.2.0.1.0 - Production on Tue Jul 29 07:38:04 2008 Copyright (c) 1982, 2005, Oracle. All rights reserved.

there're no message error at all and the process just stopped.
i don't know why..

Thx
Jul 29 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1158
by: Matthias Stern | last post by:
Hi! I'm using the MySQL "Load data" command to load big .csv files into a MySQL database. Sometimes there are special characters within these .csv files which cause some kind of "displacement" of the loaded data. (1) Is there a way to check if the data from the .csv file was loaded correctly ? (2) I'd also like to know in which line an error occured.
7
4411
by: Adriano | last post by:
Hello, can anyone help me to make progress bar in the status bar that will show the status of SQL data loading into dataset, tnx in advance, Adriano
2
4029
by: johnny | last post by:
hi all, I wonder why this little script doesn't work, maybe it's the provider not allowing the use of load data infile ( I know some don't let users to run some tasks ), could you please tell me if the script it's right before I ask the provider ? I can insert data into the table using fgetcsv as well with no problems,but I would like to understand. TIA
1
1683
by: Sumanth | last post by:
We are using cli bulk loader to load data into db2. In some cases the rows get rejected and this is flagged as a warning allowing the program to continue. Is there any way to trap this warning, I read the use of "EXCEPTION TABLE" but that is limited to only unique index violations and not constraint related errors. How do we handle or capture the rejected records in an elegant way? Thanks in advance,
5
1897
by: Justin | last post by:
Hi, im facing a problem here. First of all here is my program requirement. I got a .csv file with thousands of records inside, i need to import them into my mysql database. So i tried using load data infile on my pc using localhost everything goes fine, but when i change the connection to my server, it seems tat the connection cant be done... so wat went wrong?
1
1858
by: drec | last post by:
I have a table in which its primary key is auto-incremented. Yet, when I try to load data using load data infile, this column will not auto-increment. I am leaving that column blank in my file to be uploaded, yet it fills this value in with a zero for all records. Should I be using a php script to load this file? Why isnt this updating correctly?
5
2686
by: pbd22 | last post by:
Hi. I am trying to poll a long-running process via a hidden IFrame. I am noticing that the online errata gives advice for handling a server response: window.parent.handleServerResponse(); The problem I am having with this is that the above function gets called ***after*** the long-running response is completed.
0
1944
by: shaqa | last post by:
I try to do this but i cannot. i creat two layers with actionscript seperated as slideshow need to be,,and i try to put in one rectangle all of my images but cannot put in work,it doesnt load when i go to my choosen page. Below is the script,please any one tell me how to put all of my images to one rectangle which later i can resize it,and load the image slideshow when i open choosen page. script: layer proto: MovieClip.prototype.alpha =...
1
3657
anfetienne
by: anfetienne | last post by:
i have this code below that i made....it loads vars from txt file splits it then puts it into an array....once in an array it the brings the pics in from the array to create thumbnails and a larger image. my problem is i have captions to go with it and when i try to load the captions nothing happens or can be seen to be happening. i dont know where i am going wrong as i have no output or compiled errors var locVar = new Array();...
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5544
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3846
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.