Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default configuring Excel to read query from sql

Hello,
I have to extract some data from SQL Server and save it in Excel files. The
data is gathered with SQL queries, using some SQL User Defined Finctions and
several Joins. And I have to send these files to somebody every day.

The question is how do I set this and is there posibility once it is set to
be saved (the configuration i mean) and reused every day so I dont have to
reconfigure it all the time?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
JCS JCS is offline
external usenet poster
 
Posts: 93
Default configuring Excel to read query from sql

Hi,

Try using MS Query from within Excel. Following is how you would do it in
Excel 2003:

From the Menu bar select:
Data
Import Externla Data
New Database Query
Select <New Data Source
In the "Select a driver for the type of database you want to access" text
box, select
SQL Server
You wll then need to connect to your SQLServer database. Not having done
much of this you should be able to either use the Query by Example or write
your SQL statements. At any rate, you can save thiis query and execute it
anytime you wish. For more info, you might want to Google Microsoft Query.

HTH
John

"RioDD" wrote:

Hello,
I have to extract some data from SQL Server and save it in Excel files. The
data is gathered with SQL queries, using some SQL User Defined Finctions and
several Joins. And I have to send these files to somebody every day.

The question is how do I set this and is there posibility once it is set to
be saved (the configuration i mean) and reused every day so I dont have to
reconfigure it all the time?
Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Query via ODBC cannot read Integer field from FoxPro...what's w CJ Excel Discussion (Misc queries) 0 August 26th 08 01:43 AM
Get "configuring office" every time I open excel. Wxguesser Setting up and Configuration of Excel 1 March 11th 08 12:27 PM
Configuring Excel 2003 to control access to Trusted Publishers [email protected] Excel Discussion (Misc queries) 0 July 10th 06 09:04 AM
windows is configuring my microsoft office xp professional overinjapan(remove)@yahoo.com Excel Discussion (Misc queries) 0 February 28th 06 10:49 AM
Configuring a cell to take higher values only hdhuri40 Excel Discussion (Misc queries) 5 May 25th 05 07:30 AM


All times are GMT +1. The time now is 12:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"