x
login about faq Site discussion (meta-askssc)

Placing data from XLsheet into data table using sql server 2000

Hi,

How to place data from XLSheet into data table using sql server 2000

more ▼

asked May 26 '11 at 03:32 AM in Default

Mahenbasu gravatar image

Mahenbasu
11 1 1 1

(comments are locked)
10|1200 characters needed characters left

3 answers: sort voted first

There are a number of ways to do this

  • DTS package
  • Import wizard from Enterprise Manager (right click on the database node, if I recall)
more ▼

answered May 26 '11 at 03:36 AM

Kev Riley gravatar image

Kev Riley ♦♦
46k 38 43 69

(comments are locked)
10|1200 characters needed characters left

You can use eg. the Data Transformation Services or eg. OPENROWSET command.

You can take a look on MSDN: How to import data from Excel to SQL Server

more ▼

answered May 26 '11 at 03:39 AM

Pavel Pawlowski gravatar image

Pavel Pawlowski
20.3k 5 10 20

(comments are locked)
10|1200 characters needed characters left

If you are going through enterprise manager, right-click the database you want to import the data to and then scroll to All tasks -> Import data. Follow the instructions in the dialog box suppling the correct information. Make sure you have you Excel sheet closed though otherwise DTS will not be able to read it (That caught me out for a long time, long ago :D)

more ▼

answered May 26 '11 at 07:14 AM

megamanblue gravatar image

megamanblue
310 6 6 8

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x454
x97
x12

asked: May 26 '11 at 03:32 AM

Seen: 524 times

Last Updated: May 26 '11 at 03:37 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.