Solved

Creating an SQL table using columns from Excel

Posted on 2008-10-08
2
178 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

839 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