LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default SQL - TOP 1 Usage

Jamie Collins wrote:
*** Error: ')' expected here (TOP)


I think this may be the stumbling block:


See various posts:

http://groups.google.com/groups?q=%2...prietary+celko

e.g. "SELECT TOP (n)is a non-relational, strictly (MS) proprietary
"feature"... (use) a subquery to establish a subset based on a count."



Looks like at least some version(s) of U/SQL support the "TOP n" feature,
however:

http://www.transoft.com/support/RelN...USQL310407.htm

But I would guess you're probably correct if the OP can't get 2 different
TOP n queries to work.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

 
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
About the usage of the function Keith Hui Excel Worksheet Functions 1 March 31st 09 04:12 PM
limited usage jinvictor Excel Discussion (Misc queries) 1 June 14th 06 04:28 PM
100% cpu usage bill Excel Discussion (Misc queries) 1 March 2nd 06 10:27 AM
Cursor Usage DJB Excel Discussion (Misc queries) 2 September 15th 05 06:59 PM
CopyFile usage Garry[_5_] Excel Programming 1 January 19th 04 08:56 PM


All times are GMT +1. The time now is 08:11 PM.

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"