About 175,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. Performing SQL queries on an Excel Table within a Workbook with …

    Nov 4, 2013 · Building on Joan-Diego Rodriguez's routine with Jordi's approach and some of Jacek Kotowski's code - This function converts any table name for the active workbook into a …

  3. 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?

  4. how to pass parameters to query in SQL (Excel) - Stack Overflow

    Feb 19, 2014 · Use "Get Data" and SQL query option, filling out the server name and adding the SQL query code. With that done, you can create a dummy table (s) in your Excel file that can …

  5. Excel: Use a cell value as a parameter for a SQL query

    Aug 24, 2015 · I'm using MS Excel to get data from a MySQL database through ODBC. I successfully get data using an SQL query. But now I want that query to be parameterized. So I …

  6. Excel function to make SQL-like queries on worksheet data?

    Jan 6, 2012 · Use From Other Sources From Microsoft Query to connect to Excel Once set up you can use VBA to manipulate the connection to, among other thing, view and modify the …

  7. How to connect to an SQL Server from VBA in Excel?

    Apr 21, 2023 · 1 I need to download some data from a database (Microsoft Windows Server 2012, SQL Server 2012) into Excel (Windows 11, Office 2016). If it was a one-time data dump I'd just …

  8. 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. I …

  9. Is there a way to do a Select statement like SQL in Excel using …

    Jun 4, 2021 · Is there a way to do a Select statement like SQL in Excel using Python? Asked 4 years, 4 months ago Modified 4 years, 4 months ago Viewed 3k times

  10. How can I use SQL queries in Excel to join two tables on different ...

    Oct 3, 2019 · I have a SQL statement that joins, transforms, and derives complex fields (that cannot be addressed with a Power Query join) from the two tables and I want to tell Excel to …