Error importing excel file into SQL Server Management Studio 18

Olagunju Oladayo 66 Reputation points
2022-01-25T17:00:25.03+00:00

Good evening. And please I would appreciate any assistance

I just installed my SQL Server 2019 and SQL Server Management Studio.

I was able to connect to the server.

However, I tried to import my excel data file from task option in the new data base I created but I got an error response.

Note: This option showed me Excel file from the drop down option under data source

Then, I saw a video that showed I could do it directly going through the Start Menu and using the SQL import and export option but it didn't work.

The main issue here is that the drop down option in the SQL Import and Export data source option did not include Excel at all

What could I have done wrong or what do I need to do right?

Thank you

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,344 questions
SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. CarrinWu-MSFT 6,891 Reputation points
    2022-01-26T08:52:54.723+00:00

    Hi @Olagunju Oladayo , thank you for your reply. If you don't see Excel in the list of data sources, are you running the 64-bit wizard? The providers for Excel and Access are typically 32-bit and aren't visible in the 64-bit wizard. Run the 32-bit wizard instead. For more information, please refer to Connect to an Excel Data Source (SQL Server Import and Export Wizard).

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. CarrinWu-MSFT 6,891 Reputation points
    2022-01-26T03:19:17.577+00:00

    Hi @Olagunju Oladayo ,

    Thank you for your post.

    Could you provide the error details? I made a test as below and did not show any error:

    1. created an Excel file that include drop-down list
    2. use SQL Server 2019 Import and Export Data to import the Excel file into database.
      168510-1.png
      168519-2.png
      168528-3.png
      168520-4.png
      168529-5.png
      168494-6.png
      168571-7.png

    For more information, please refer to Import data from Excel to SQL Server or Azure SQL Database.

    Best regards,
    Carrin


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Olaf Helper 47,436 Reputation points
    2022-01-25T17:44:56.127+00:00

    but I got an error response.

    And which error do you get; we can not guess that? Please post the complete error message and may a screenshot.

    0 comments No comments

  3. Olagunju Oladayo 66 Reputation points
    2022-01-26T08:32:34.697+00:00

    Thanks @CarrinWu-MSFT

    My issue is from the second image.
    Under data source, I don't get to see Microsoft excel in my drop down options for whatever reason

    Maybe the fact that my office packages are not yet activated is why it isn't showing or something else is the cause

    I'm going to install office today directly from Microsoft then see what happens afterwards.

    I'll revert as soon as possible

    Thanks

    0 comments No comments

  4. Olagunju Oladayo 66 Reputation points
    2022-01-26T13:08:28.677+00:00

    Okay. Thank you
    I'll work on this and revert
    Hopefully this does it for me

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.