Solved

Creating an SQL table using columns from Excel

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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.
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now