About 174,000 results
Open links in new tab
  1. How to run a SQL query on an Excel table? - Stack Overflow

    For what I'm trying to do, the SQL query SELECT lastname, firstname, phonenumber WHERE phonenumber IS NOT NULL ORDER BY lastname would do the trick. It seems too simple for …

  2. sql server - Using Excel VBA to run SQL query - Stack Overflow

    I am fairly new to SQL and VBA. I have written a SQL query that I would like to be able to call and run from a VBA sub in an excel workbook and then bring the query results into the workbook.

  3. How can I import an Excel file into SQL Server? - Stack Overflow

    I have data in an Excel file - actually XLSX format since it is now 2020. My requirement is to get this data into SQL Server as follows: ad hoc, the use case being feeding tables with test data, …

  4. Performing SQL queries on an Excel Table within a Workbook with …

    Nov 4, 2013 · I am trying to make an excel macro that will give me the following function in Excel: =SQL("SELECT heading_1 FROM Table1 WHERE heading_2='foo'") Allowing me to search …

  5. sql server - How to create an SQL table and and populate it with …

    Is there an easy way to create a table in SQL Server (2005) from an Excel spreadsheet. I'm thinking maybe some tool? Thanks in advance.

  6. c# - Export SQL to Excel - Stack Overflow

    How can i export my data from SQL server 2008 into Excel 2010 or later ? i have tried on SQL way: sp_configure 'show advanced options', 0; GO RECONFIGURE; GO sp_configure 'Ad …

  7. SQL Server export to Excel with OPENROWSET - Stack Overflow

    insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\template.xls;', 'SELECT * FROM [SheetName$]') select * from myTable Is there any standard way to use this …

  8. Embed SQL Server Credentials in Excel 2016 (O365) to Refresh …

    6 I am trying to embed credentials into an Excel 2016 workbook for an account on my SQL Server 2008R2 database that has execute permissions on certain stored procedures to provide end …

  9. odbc - Excel - Microsoft Query - SQL Server login - "Use Trusted ...

    After I click OK a SQL Server Login dialog box pops up with "Use Trusted Connection" pre-checked. Each time I create a new data connection in Excel (I do this dozens of times per …

  10. Excel vlookup incorporating SQL table - Stack Overflow

    For this particular lookup - Yes. Most of my vlookups work perfectly well in Excel but the postcodes tables for the product has up-to and over 1 million rows and we have multiple …