ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 4th, 2005, 02:54 PM
jaffacake2000 jaffacake2000 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 1 jaffacake2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 50 sec
Reputation Power: 0
how do i convert data from excel into sql

Can anyone please tell me how to convert data in excel spreadsheets into SQL?

or convert MS-Access database to SQL or mySQL ?
or convert Excel spreadsheet into mysql or sql

(I then want to use ASP to query the database)

Reply With Quote
  #2  
Old September 4th, 2005, 05:19 PM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by jaffacake2000
Can anyone please tell me how to convert data in excel spreadsheets into SQL?

or convert MS-Access database to SQL or mySQL ?
or convert Excel spreadsheet into mysql or sql

(I then want to use ASP to query the database)

i don't know if you can convert an xls to sql but you could create a sql db structure and then export the data from the xls to a csv and then import it into your sql db! that is what i'd do!!

RF

Reply With Quote
  #3  
Old September 4th, 2005, 09:25 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Mar 2005
Location: I used to live at home, now I stay at the house
Posts: 3,354 ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)ChiefWigs1982 User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 1 Month 1 Week 3 Days 5 h 9 m 38 sec
Reputation Power: 290
Facebook
Can;t you just query the Access db you already have?
__________________
Support requests via PM will be ignored!
Route of Queue | The General FAQ Thread | HOW TO POST A QUESTION

Sign up with Matched.co.uk and earn up to £15 per website every month!


Reply With Quote
  #4  
Old September 5th, 2005, 01:28 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by ChiefWigs1982
Can;t you just query the Access db you already have?
depends on his programming language/hosting platform !!

Reply With Quote
  #5  
Old September 5th, 2005, 01:32 AM
Dragon Rider's Avatar
Dragon Rider Dragon Rider is offline
off-topic trolless
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2005
Posts: 3,107 Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Month 1 h 59 m 27 sec
Reputation Power: 247
you can do it.. I have done it(for access and excel) calling it from the SQL server 2000..
(i know how to do it only with SQL server, if you are interesting)..
I don't have SQL server in that PC,
I'll send you the steps when I go home if noone reply untill then..

Reply With Quote
  #6  
Old September 5th, 2005, 01:34 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by Dragon Rider
you can do it.. I have done it(for access and excel) calling it from the SQL server 2000..
(i know how to do it only with SQL server, if you are interesting)..
I don't have SQL server in that PC,
I'll send you the steps when I go home if noone reply untill then..
surely just converting the data to csv then uploading it would be quicker thouhg?

Reply With Quote
  #7  
Old September 5th, 2005, 01:37 AM
Dragon Rider's Avatar
Dragon Rider Dragon Rider is offline
off-topic trolless
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2005
Posts: 3,107 Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Month 1 h 59 m 27 sec
Reputation Power: 247
Quote:
Originally Posted by RadioactiveFrog
surely just converting the data to csv then uploading it would be quicker thouhg?

I don't know.. I anlways use SQL server to convert excel and access..(and it has a thousand options-I like it)

Reply With Quote
  #8  
Old September 5th, 2005, 04:17 AM
RadioactiveFrog's Avatar
RadioactiveFrog RadioactiveFrog is offline
Senior Glowing Wizard
ASP Free God 7th Plane (8000 - 8499 posts)
 
Join Date: May 2005
Location: Sussex
Posts: 8,203 RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)RadioactiveFrog User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1Folding Points: 156364 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Weeks 4 Days 39 m 12 sec
Reputation Power: 291
Send a message via MSN to RadioactiveFrog
Facebook
Quote:
Originally Posted by Dragon Rider
I don't know.. I anlways use SQL server to convert excel and access..(and it has a thousand options-I like it)
fairy nuff! Something that is irritating abuot converting an xls to csv is if someone has used a comma in one of the text fields that completle screws with the data when you import it!! So if there is a simple way to convert to sql then i guess that would be useful !

Reply With Quote
  #9  
Old September 5th, 2005, 01:06 PM
Dragon Rider's Avatar
Dragon Rider Dragon Rider is offline
off-topic trolless
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2005
Posts: 3,107 Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level)Dragon Rider User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 1 Month 1 h 59 m 27 sec
Reputation Power: 247
At the enterprise manager:
First of all you create an empty DB..
Then:
Databases-right click ->All tasks-> import data
At the wizard:
Data sourse: you choose what type of file you want to convert..
The next window it opens depends on what type of file you have chose..
eg, Access:
Filename ________ (you browse the file you want to convert)
Username________(if you have, I mean i your db is password protected)
Passwort_________(If you have)

Next>

you choose from the list to what you want to convert your mdb file and you fill what it asks..
from the list with the DBs it gives you, you choose the empty DB you have created at the beginning..

next>

you choose:
copy table and views from the source DB(if you want to copy the whole DB)
or
use a query to specify the data to transfer

Next>

It gives you a list with the table and views from your access db... You choose those you want to convert

That's it!

For excel steps are similar..

I gave you the minimun options.. you can do more.. it's very easy..

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > how do i convert data from excel into sql


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by