LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
TK TK is offline
external usenet poster
 
Posts: 177
Default Weird SQL Question

"Jamie Collins" wrote:

My point was, the OLE DB provider for Jet 4.0 makes further
distinctions e.g. between Query objects that are exposed as VIEWs and
Query objects that are exposed as PROCEDUREs.


I agreed with that.

The last article I read (ADO) OpenSchema actually has 31
QueryType valus

I see that as something different, something outside of the schema
e.g. a custom Function in a VBA module (MS Access), a User-Defined
Function or Extended Stored Procedure (SQL Server). Semantics, I know,
but that's what we are discussing, isn't it <g?


My thoughts are if it is exposed by openSchema it is part of the Schema.

try to enter:
.CommandType = adCmdStoredProc
to call an excess Query
or conversely
.CommandType = adCmdUnknown
to call a Server Store Procedure

ADO will promptly inform you of your error.


I stand corrected; I reversed the two commands on
both the Command Object and the Connection Object
with no errors. I guess I should take the book "Mastering
DB Programming with VB6" back. Possible ADO may have
started to treat the two the same. I know I have read that
in more than one publication.
But either the author's are incorrect or it is not the preferred
usage or ADO has updated, but it does work.


I know there is something missing in a persons life
that would think this stuff is note worthy or interesting


OK, treading carefully here... but me being one (as you know) who
*does* find such detail noteworthy, something you said in your post
has raised my interest and you may be able to help me out with the
answer. However, I detect *you* may not be interested.


Obviously I think it is interesting but you have to realise there are
people that would put it on the same interest level as pain drying
but then they would not be reading this anyway.

something you said in your post
has raised my interest and you may be able to help me out with the
answer. However, I detect *you* may not be interested.


Of course if I can, as I'm confident you would assist me.

Good Luck
TK





 
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
Weird Merge question jlclyde Excel Discussion (Misc queries) 1 January 10th 08 10:28 PM
WEIRD QUESTION Louise Excel Discussion (Misc queries) 4 September 23rd 06 12:07 AM
Weird question on filling in typing in excel bwall Excel Discussion (Misc queries) 3 September 6th 05 09:24 PM
Weird jhill New Users to Excel 1 August 10th 05 04:48 PM
This seems weird to me Ken McLennan[_3_] Excel Programming 6 October 29th 04 02:11 PM


All times are GMT +1. The time now is 06:25 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"