all groups > sql server data warehouse > july 2004 >
You're in the

sql server data warehouse

group:

Run SQL-Server Query in Excel


Run SQL-Server Query in Excel Maik Richter
7/26/2004 12:10:29 PM
sql server data warehouse: Hi guys,

is there a way to run a SQL-query on a SQL-Server
within Excel?

(Is it possible to create any JOIN-querys and DATEDIFF-functions within
Excel-Microsoft Query?)

Thanks much guys,

Mike

Re: Run SQL-Server Query in Excel Vlado
7/26/2004 1:04:31 PM
Yes, is possible.

1. Start to record Macro.
2. Data > Import External Data > New Database Query .. > ....... > and so
on ..(Build a simple query and rerturn data to Excel)
3. Stop record Macro and Edit . You can change your query and run Macro
whenever you want.




[quoted text, click to view]

AddThis Social Bookmark Button