Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SQL Statement Attaching to SQL Server
I have a SQL statement that runs perfectly in SQL Server's
Query Analyzer (includes a COMPUTE ... BY statement). When I run it in Query Analyzer it works, when I run it in Excel's Microsoft Query box, it only returns the first group and doesn't do a compute. Is there a limitation to the extended SQL that I can use within Excel? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SQL Statement Attaching to SQL Server
Probably Excel isn't the limitation, but maybe MSQuery or Jet. (or maybe
the database driver). Perhaps you can try using ADO: http://www.erlandsendata.no/english/vba/adodao/ frankly, I don't know if ADO uses Jet or not, but I believe there is a way not to use Jet if that is the limitation. -- Regards, Tom Ogilvy "Russ" wrote in message ... I have a SQL statement that runs perfectly in SQL Server's Query Analyzer (includes a COMPUTE ... BY statement). When I run it in Query Analyzer it works, when I run it in Excel's Microsoft Query box, it only returns the first group and doesn't do a compute. Is there a limitation to the extended SQL that I can use within Excel? Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
SQL Statement Attaching to SQL Server
SQL Server uses "Transact SQL" (often called TSQL), and is not compatible
with MS Query or MS Access. P "Russ" wrote in message ... I have a SQL statement that runs perfectly in SQL Server's Query Analyzer (includes a COMPUTE ... BY statement). When I run it in Query Analyzer it works, when I run it in Excel's Microsoft Query box, it only returns the first group and doesn't do a compute. Is there a limitation to the extended SQL that I can use within Excel? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Attaching a drawing | Excel Discussion (Misc queries) | |||
SQL Server -- Bulk Insert from Excel to SQL Server | Excel Discussion (Misc queries) | |||
Attaching PDF files | Excel Discussion (Misc queries) | |||
Excel 2003 Error Cannot Locate the Internet Server or Proxy Server | Excel Discussion (Misc queries) | |||
problem updating link from Novell server to windows server #REF er | Excel Discussion (Misc queries) |