ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Select Data from SQL Server (https://www.excelbanter.com/excel-programming/384131-select-data-sql-server.html)

David McNaughton

Select Data from SQL Server
 
Hi

No idea on how to do this.

Need to open a recordset from an SQL Server.

Basic details: server name Demo
Database Accounts
Username keyaccounts
password fish

What code would i need to use?

Regards

D

RB Smissaert

Select Data from SQL Server
 
This is the first hit when I Google for:
ado excel ms sql server
http://support.microsoft.com/kb/306125

I suppose you didn't know about ADO

RBS

"David McNaughton" wrote in message
...
Hi
No idea on how to do this.

Need to open a recordset from an SQL Server.
Basic details: server name Demo
Database Accounts
Username keyaccounts
password fish

What code would i need to use?

Regards

D




All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com