About 84 results
Open links in new tab
  1. How can I import an Excel file into SQL Server? - Stack Overflow

    Open SSMS (SQL Server Management Studio) and connect to the database where you want to import your file into. Import Data: in SSMS in Object Explorer under 'Databases', right-click the destination database, and select Tasks, Import Data. An import wizard will pop up (you can usually just click Next on the first screen). The next window is ...

  2. Import Excel Spreadsheet Data to an EXISTING sql table?

    Apr 18, 2015 · You can copy-paste data from en excel-sheet to an SQL-table by doing so: Select the data in Excel and press Ctrl + C; In SQL Server Management Studio right click the table and choose Edit Top 200 Rows; Scroll to the bottom and select the entire empty row by clicking on the row header; Paste the data by pressing Ctrl + V

  3. issues importing excel and other files in SQL Server 2022

    Apr 27, 2023 · Right-click on the database and select "Tasks" > "Import Data". In the "Choose a Data Source" page of the wizard, select "Microsoft Excel" as the source. Browse to the Excel file and select it. In the "Choose a Destination" page, select "SQL Server Native Client" as the destination and enter the database information. Select the table or create ...

  4. How to import data from excel file into sql server DB by script

    Aug 10, 2022 · After many google searches and my many attempts I found the correct code: declare @SQL nvarchar(max) = ' CREATE TABLE #TempTable ( [Field1] nvarchar(max) NULL, [Field2] nvarchar(max) NULL, [Field3] nvarchar(max) NULL ); BULK INSERT #TempTable FROM ''<FullPath>\FileName.csv'' WITH --if the path is in the network - need to write the Full-path of the drive ( KEEPIDENTITY, FIELDTERMINATOR ...

  5. Importing data from an excel file using python into SQL Server

    Jul 10, 2018 · import pandas as pd import numpy as np import seaborn as sns import scipy.stats as stats import matplotlib.pyplot as plt from sqlalchemy import create_engine #-----Added new import pandas.io.sql import pyodbc import xlrd server = 'XXXXX' db = 'XXXXXdb' # read data data = pd.read_excel('Flash Daily Apps through 070918.xls')

  6. Import Excel spreadsheet columns into SQL Server database

    Dec 18, 2008 · Use SQL Server Management Studio to establish a connection to your database. Then this answer makes sense. This task starts the SQL Server Import and Export Wizard that includes Microsoft Excel as a data source. This is in contrast to running the native Import and Export SSIS application that does not have this option }:-(. –

  7. Error converting data types when importing from Excel to SQL …

    Mar 21, 2012 · copy and paste the data from tmp2.txt over top of the necessary column in the excel file, and save the excel file; run the sql server import for your modified excel file... be sure to double check the data type chosen by the importer is not numeric... if it is, repeat the above steps with a different set of characters

  8. sql server - 'Microsoft.ACE.OLEDB.16.0' provider is not registered …

    Nov 1, 2016 · 1: direct opening the sql server import and export wizard. if you able to connect using direct sql server import and export wizard, then importing from SSMS is the issue, it's like activating 32bit if you import data from SSMS.

  9. sql - Importing date data from excel into table with right format ...

    Jun 5, 2018 · I am importing data from excel files into SQL server database. In excel ,Date field are in the format mm-dd-yyyy. Whereas SQL database imports it as yyyy-mm-dd, swapping dates to months.For ex. in excel its 01-12-2018 but in SQL it imports as 2018-12-01. Hence the dates are incorrect. Please let me know a way to import it correctly in SQL.

  10. Fastest way to load data from SQL Server to Excel

    After specifying the query, you may optionally click Next and preview some of the first returned rows. Or click Finish and start data loading. Query for retrieving SQL Server data to Excel. Editing Live SQL Server Data. After the data is loaded from SQL Server to Excel, you can work with these data like with usual Excel worksheet.

Refresh