Solved

Creating an SQL table using columns from Excel

Posted on 2008-10-08
2
168 Views
Last Modified: 2012-05-05
Hi guys,

I am just wondering is it possible to create a new SQL table automatically using the column headers from an excel file?

I am currently attempting to do it using SSIS but cannot seem to find what I'm looking for.

Thanks
Peter
0
Comment
Question by:west_ham_66
2 Comments
 
LVL 13

Accepted Solution

by:
sm394 earned 125 total points
ID: 22667762
Try

Right click database
Tasks..-> Import Data   Wizard
Select Datasource : Microsoft Excel
check First row has column names
0
 

Author Closing Comment

by:west_ham_66
ID: 31504185
That worked a treat cheers
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question