About 387,000 results
Open links in new tab
  1. Generate sql insert script from excel worksheet - Stack Overflow

    May 29, 2013 · I have a large excel worksheet that I want to add to my database. Can I generate an SQL insert script from this excel worksheet?

  2. How do I convert Excel data into a SQL insert? - Stack Overflow

    Jan 31, 2017 · 1 SQL Server Management Studio will allow you to import data from Excel files. What this actually does is create a temporary SSIS package to run your import. Right click the database you …

  3. sql - convert Excel Date Serial Number to Regular Date - Stack Overflow

    Dec 13, 2012 · The difference between Excel and SQL server's conversion of this number to datetimes is 2 days (as of 1900-03-01, that is). Using a literal of 2e for this difference informs SQL Server to …

  4. sql server - Export SQL query data to Excel - Stack Overflow

    Sep 12, 2011 · I see that you’re trying to export SQL data to Excel to avoid copy-pasting your very large data set into Excel. You might be interested in learning how to export SQL data to Excel and update …

  5. DateTime fields from SQL Server display incorrectly in Excel

    Aug 23, 2013 · I also had an issue with this problem simply copy and pasting DATETIME fields from SQL Management Studio to Excel for manipulation. Excel has the correct value of the DATETIME …

  6. How-To Convert Excel Date & Time to SQL - SQLServerCentral

    Jan 28, 2025 · So, to save us all some ChatGPT-ing, here’s my tried-and-true way of converting Excel Date & Time fields to a true Date & Time in SQL.

  7. How to Export Sql Server Result to Excel in Python

    Sep 24, 2013 · 5 I'm working with our own framework I want to export sql server result set (queried one) to excel using ion python. Inside the python file I can call that sql query result. Then I want to export …

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

    Jun 5, 2018 · 1 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 …

  9. Converting Excel Date to sql Date Format - SQLServerCentral

    Jan 22, 2012 · In our project we mainly write data from excel to sql-server tables The date in the excel sheet is in excel's propriety date format i.e 40630.38042 which is equivalent to 03/28/2011 xx:xx:xx …

  10. Long, one column list in Excel, convert For SQL where in statement

    Can't you just paste the "table" (i.e. the one-column list) from Excel into a table in SQL, and then use that in a JOIN statement?