Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

Import excel data in an already created SQL Table

This is probably pretty simple.. but I am drawing a blank. I went ahead and created a table that matches the fields in the Excel file. This reason I did this is that many of the field name in the Excel file were name very strangly. for example DQM# or Contact ID #. When I am using this SQL table in my application, I don't want to have to use [ ] all of the time to refer to a field name, so that is why I didn't use the wizard. I just need to understand how to write an import script within sql..

Thank you.
0
Jennifer Barman
Asked:
Jennifer Barman
  • 2
2 Solutions
 
Alpesh PatelAssistant ConsultantCommented:
Please refer friendly wizard and use edit mapping button at one of the stage.

Edit the name of destination columns and datatype also.
0
 
eXpeLLeD_4RM_heLLCommented:
Use the SQl Export and Import Wizard :
For How to :
http://msdn.microsoft.com/en-us/library/ms140052.aspx
0
 
Jennifer BarmanAuthor Commented:
I am using the wizard.. but the table that I want to use is not coming up source tables.. its almost like it is making its own tables. How can I edit mapping on that? mapping ??
0
 
Jennifer BarmanAuthor Commented:
I figured it out.. thanks you too!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now