User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS SQL section within the Web Development category of DaniWeb, a massive community of 375,199 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,979 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS SQL advertiser:
Views: 1805 | Replies: 2 | Solved
Reply
Join Date: Jan 2008
Location: India
Posts: 141
Reputation: sbv is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 5
sbv's Avatar
sbv sbv is offline Offline
Junior Poster

Solution How to import Excel Sheet data into SQL Server 2003 ???? Stpes.

  #1  
Mar 20th, 2008
Hi friends.....
As when i am doing this task and found know help ..............
here i am putting steps for importing data from Excel sheet into SQL Server 2003.

How to Import data from excel sheet to SQL Server

Note : - Sheet should be exactly same as Table in which you are importing data. i.e with the contrints and column

sequence.

Step 1) from tool menu select Run a Wizard
Step 2) Click on Data Transformation Services
Step 3) Click on DTS Import Wizard. You will see a wizard for Import/Export . Click on "Next"
Step 4) Choose a Data Source from Drop down list. Here i choose Microsoft Excel 5.0
Stpe 5) Then click on brows button and choose your Excel Sheet to Import and click next
Step 6) Then choose Destination, Server. Choose option Use SQl Server Authentication.
input user name and password. Then select Database
Step 7) Click on Next. choose option copy Tables and views from the source database and click on Next.
Step 8) You will see a list of available sheets from your selected sheet to import. choose sheets to import. (keep in mind the sheets should be formated same as table. you can create a new table also.)
Step 9) Click Destination Field and choose a table in which you want to import data.
step 10) Click on Transform button and select appropriate option. If you havent selected any table in previous step then it will show you a default option to create a new table.
Step 11) Click next and choose timing when to import. and click finish. And the data is in your table.

feel free to ask if any Query.

Best Luck. Enjoy.....

[ if this post is helpful to you then please add reputation to me. thanks in advance. ]
Last edited by sbv : Mar 20th, 2008 at 2:25 am.
Accept Challenges and Enjoy Coding... :)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,924
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 9
Solved Threads: 221
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Posting Virtuoso

Re: How to import Excel Sheet data into SQL Server 2003 ???? Stpes.

  #2  
Mar 22nd, 2008
I was about give you positive rep, but the comment on bottom change my mind.
[ if this post is helpful to you then please add reputation to me. thanks in advance. ]
Scrounging for positive rep is not nice, be ashamed
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Jan 2008
Location: India
Posts: 141
Reputation: sbv is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 5
sbv's Avatar
sbv sbv is offline Offline
Junior Poster

Re: How to import Excel Sheet data into SQL Server 2003 ???? Stpes.

  #3  
Mar 24th, 2008
Ya i know. but i was unable to edit that.
Accept Challenges and Enjoy Coding... :)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MS SQL Marketplace
Thread Tools Display Modes

Other Threads in the MS SQL Forum

All times are GMT -4. The time now is 2:28 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC