I was looking for information on how to import an excel file or other
text file into a MySql database. I have done this with both access
and SQL Server and am looking for a way to do this in MySql. I have
several hundred items i want to import into a parts database that is
currently in an excel file but can be saved as comma separated or
other format. Any help would be greatly appreciated. Thanks in
advance.
Zach 8 31041
On Tue, 20 Jan 2004 00:12:40 GMT, Jeff North
<jn****@yourpantsbigpond.net.au> wrote: On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny <jo****@agent.com> wrote:
| I was looking for information on how to import an excel file or other | text file into a MySql database. I have done this with both access | and SQL Server and am looking for a way to do this in MySql. I have | several hundred items i want to import into a parts database that is | currently in an excel file but can be saved as comma separated or | other format. Any help would be greatly appreciated. Thanks in | advance.
Save your spreadsheet as a CSV (comma separated value) file. --------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply ---------------------------------------------------------------
After I save the spreadsheet as a CSV file how do I import the data
into a MySQL table?
On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny
<jo****@agent.com> wrote: | I was looking for information on how to import an excel file or other | text file into a MySql database. I have done this with both access | and SQL Server and am looking for a way to do this in MySql. I have | several hundred items i want to import into a parts database that is | currently in an excel file but can be saved as comma separated or | other format. Any help would be greatly appreciated. Thanks in | advance.
Save your spreadsheet as a CSV (comma separated value) file.
--------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny
<jo****@agent.com> wrote: | I was looking for information on how to import an excel file or other | text file into a MySql database. I have done this with both access | and SQL Server and am looking for a way to do this in MySql. I have | several hundred items i want to import into a parts database that is | currently in an excel file but can be saved as comma separated or | other format. Any help would be greatly appreciated. Thanks in | advance.
Save your spreadsheet as a CSV (comma separated value) file.
--------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
On Tue, 20 Jan 2004 00:12:40 GMT, Jeff North
<jn****@yourpantsbigpond.net.au> wrote: On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny <jo****@agent.com> wrote:
| I was looking for information on how to import an excel file or other | text file into a MySql database. I have done this with both access | and SQL Server and am looking for a way to do this in MySql. I have | several hundred items i want to import into a parts database that is | currently in an excel file but can be saved as comma separated or | other format. Any help would be greatly appreciated. Thanks in | advance.
Save your spreadsheet as a CSV (comma separated value) file. --------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply ---------------------------------------------------------------
After I save the spreadsheet as a CSV file how do I import the data
into a MySQL table?
On Tue, 20 Jan 2004 00:12:40 GMT, Jeff North
<jn****@yourpantsbigpond.net.au> wrote: On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny <jo****@agent.com> wrote:
| I was looking for information on how to import an excel file or other | text file into a MySql database. I have done this with both access | and SQL Server and am looking for a way to do this in MySql. I have | several hundred items i want to import into a parts database that is | currently in an excel file but can be saved as comma separated or | other format. Any help would be greatly appreciated. Thanks in | advance.
Save your spreadsheet as a CSV (comma separated value) file. --------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply ---------------------------------------------------------------
After I save the spreadsheet as a CSV file how do I import the data
into a MySQL table?
On Tue, 20 Jan 2004 00:38:00 GMT, in mailing.database.mysql Johnny
<jo****@agent.com> wrote: | On Tue, 20 Jan 2004 00:12:40 GMT, Jeff North | <jn****@yourpantsbigpond.net.au> wrote: | | >On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny | ><jo****@agent.com> wrote: | > | >>| I was looking for information on how to import an excel file or other | >>| text file into a MySql database. I have done this with both access | >>| and SQL Server and am looking for a way to do this in MySql. I have | >>| several hundred items i want to import into a parts database that is | >>| currently in an excel file but can be saved as comma separated or | >>| other format. Any help would be greatly appreciated. Thanks in | >>| advance. | > | >Save your spreadsheet as a CSV (comma separated value) file. | | After I save the spreadsheet as a CSV file how do I import the data | into a MySQL table?
Look under the Load Data instruction. I use the following:
LOAD DATA LOCAL INFILE 'e:\\sydnet2\\_info\\curdocs.csv' INTO TABLE
pnp_docs_current FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES
TERMINATED BY '\n';
--------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
On Tue, 20 Jan 2004 00:38:00 GMT, in mailing.database.mysql Johnny
<jo****@agent.com> wrote: | On Tue, 20 Jan 2004 00:12:40 GMT, Jeff North | <jn****@yourpantsbigpond.net.au> wrote: | | >On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny | ><jo****@agent.com> wrote: | > | >>| I was looking for information on how to import an excel file or other | >>| text file into a MySql database. I have done this with both access | >>| and SQL Server and am looking for a way to do this in MySql. I have | >>| several hundred items i want to import into a parts database that is | >>| currently in an excel file but can be saved as comma separated or | >>| other format. Any help would be greatly appreciated. Thanks in | >>| advance. | > | >Save your spreadsheet as a CSV (comma separated value) file. | | After I save the spreadsheet as a CSV file how do I import the data | into a MySQL table?
Look under the Load Data instruction. I use the following:
LOAD DATA LOCAL INFILE 'e:\\sydnet2\\_info\\curdocs.csv' INTO TABLE
pnp_docs_current FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES
TERMINATED BY '\n';
--------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
On Tue, 20 Jan 2004 00:38:00 GMT, in mailing.database.mysql Johnny
<jo****@agent.com> wrote: | On Tue, 20 Jan 2004 00:12:40 GMT, Jeff North | <jn****@yourpantsbigpond.net.au> wrote: | | >On Mon, 19 Jan 2004 23:17:01 GMT, in mailing.database.mysql Johnny | ><jo****@agent.com> wrote: | > | >>| I was looking for information on how to import an excel file or other | >>| text file into a MySql database. I have done this with both access | >>| and SQL Server and am looking for a way to do this in MySql. I have | >>| several hundred items i want to import into a parts database that is | >>| currently in an excel file but can be saved as comma separated or | >>| other format. Any help would be greatly appreciated. Thanks in | >>| advance. | > | >Save your spreadsheet as a CSV (comma separated value) file. | | After I save the spreadsheet as a CSV file how do I import the data | into a MySQL table?
Look under the Load Data instruction. I use the following:
LOAD DATA LOCAL INFILE 'e:\\sydnet2\\_info\\curdocs.csv' INTO TABLE
pnp_docs_current FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES
TERMINATED BY '\n';
--------------------------------------------------------------- jn****@yourpantsbigpond.net.au : Remove your pants to reply
--------------------------------------------------------------- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Johnny |
last post by:
I was looking for information on how to import an excel file or other
text file into a MySql database. I have done this with both access
and SQL Server and am looking for a way to do this in...
|
by: fkulaga |
last post by:
Hi all,
I have a problem with the issue in the subject, i have all data in one
big excel file,
in a denormalized form, and on the other side, i have mysql database
with many tables, which is...
|
by: ramyanet |
last post by:
Dear all,
Is there any way to directly transfer the data from excel to mysql database without using any tools,but thro coding.
pls help me .hope i'll get a soln soon.
Thanks
Regds,
|
by: sejal17 |
last post by:
hello everyone,
I want to import only 3 field of the excel file into database.how can i do it?
Also i don't want to insert the duplicate value of that field.Please reply me as soon as...
|
by: qfchen |
last post by:
Hi,
A piece of simple code to import excel file to a database, as shown below, I have problem when I tried to open the connection, the error message shows Excel driver is not correct. where shall...
| |
by: jitendrawel |
last post by:
how can be import excel file in mysql database through PHP code.
Please send me complete code ASAP.
Thanks.
Best regards,
Jitendra Kumar
|
by: vikassawant |
last post by:
Hi,
I want to import Excel file data in JTable.For that I am using following Code,
String excelFileName = "Team1.xls";
File file = new File(excelFileName ); //‘file’ is the file you...
|
by: orked |
last post by:
i tried to import excel file into gridview but the code made this exception (Failed to map this path''xmlTest.xml") i don't know why
my code:
public void fillGrid()
{
DataSet ds =...
|
by: orked |
last post by:
i want to import excel file to gridview but there was error(Failed to map this path "/xmltest.xml") and i couldn't handle it my code:
public void fillGrid()
{
DataSet ds = new...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
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...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
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...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |