Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Excel with SQL Query (*.sql) and SQL Server

Hi There,

I have a complicated SQL Query, which runs on several Tables with Joins and
Filters.

I want to know how to use this SQL Query in Excel and retrieve data into
Spreadsheet.

Following is what I am able to do right now:

€¢I am able to connect to SQL Server and retrieve the data into Spreadsheet.
€¢I am able to pull Data into Excel sheet using simple MS Query.

I want to know, how to use this SQL Query and retrieve the Data from SQL
Server into a Spreadsheet.

Also, if possible, can you please give me any good Website location, where I
can get more knowledge about MS Query.

Thank you in Advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Excel with SQL Query (*.sql) and SQL Server

hi,
Posting your code would have been nice.
try this side....
http://office.microsoft.com/en-us/ex...747511033.aspx
but it has been my experience with MSQ that MSQ is really not safisticated
enough to handle complaicate joins. I found better luck linking the tables to
access, writing the query in access then using MSQ to pull the access query
into excel.

Regards
FSt`

"Kode" wrote:

Hi There,

I have a complicated SQL Query, which runs on several Tables with Joins and
Filters.

I want to know how to use this SQL Query in Excel and retrieve data into
Spreadsheet.

Following is what I am able to do right now:

€¢I am able to connect to SQL Server and retrieve the data into Spreadsheet.
€¢I am able to pull Data into Excel sheet using simple MS Query.

I want to know, how to use this SQL Query and retrieve the Data from SQL
Server into a Spreadsheet.

Also, if possible, can you please give me any good Website location, where I
can get more knowledge about MS Query.

Thank you in Advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Excel with SQL Query (*.sql) and SQL Server

Thank you for your Post FST.

But still this doesn't explain me how to use a Excel & already existing SQL
Query to pull the Data into Excel sheet.

Thanks for the Input though.

Thank you Very Much,
Kode.

"FSt1" wrote:

hi,
Posting your code would have been nice.
try this side....
http://office.microsoft.com/en-us/ex...747511033.aspx
but it has been my experience with MSQ that MSQ is really not safisticated
enough to handle complaicate joins. I found better luck linking the tables to
access, writing the query in access then using MSQ to pull the access query
into excel.

Regards
FSt`

"Kode" wrote:

Hi There,

I have a complicated SQL Query, which runs on several Tables with Joins and
Filters.

I want to know how to use this SQL Query in Excel and retrieve data into
Spreadsheet.

Following is what I am able to do right now:

€¢I am able to connect to SQL Server and retrieve the data into Spreadsheet.
€¢I am able to pull Data into Excel sheet using simple MS Query.

I want to know, how to use this SQL Query and retrieve the Data from SQL
Server into a Spreadsheet.

Also, if possible, can you please give me any good Website location, where I
can get more knowledge about MS Query.

Thank you in Advance.

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
Query SQL Server from Excel Doctorjones_md Excel Discussion (Misc queries) 1 January 6th 07 08:35 AM
Query SQL Server from Excel Doctorjones_md Excel Worksheet Functions 1 January 6th 07 08:35 AM
Excel not finding the server in web query JM Excel Discussion (Misc queries) 0 February 12th 06 10:46 PM
How do I run a SQL query against a MS SQL Server database from exc DPL Excel Discussion (Misc queries) 0 February 8th 05 07:33 PM
Use SQL statements in Excel VBA to query SQL Server Data Problem Thank You Excel Worksheet Functions 0 November 20th 04 12:45 PM


All times are GMT +1. The time now is 03:14 AM.

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"