LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
DG DG is offline
external usenet poster
 
Posts: 46
Default How to return query with out headers

I am running ODBC queries from Excel to pull data from an SQL2000 server.
In my query editor I have:

SELECT OL.Item, OL.Item_Desc, OL.Qty
FROM TestDatabase.dbo.OurLib OL
ORDER OL.Item

It returns the data but has a header from the SELECT statement.

Item Item_Desc Qty
ABC First Item 2
DEF Second Item 3

Can anyone help?

DG



 
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
How do you rename table headers in a query using Offic 07? DFoster Excel Worksheet Functions 3 August 29th 08 01:48 PM
Incomplete query return, who can help? GorKo Excel Programming 1 August 9th 07 08:08 PM
VLOOKUP return query Steve Excel Discussion (Misc queries) 2 February 27th 07 02:50 PM
Query to Return Value from Seperate Worksheet Sean Excel Programming 2 September 26th 06 05:34 PM
ODBC query excluding headers [email protected] Excel Programming 3 September 22nd 06 06:26 PM


All times are GMT +1. The time now is 08:12 AM.

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

About Us

"It's about Microsoft Excel"