473,480 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Data Provider

As part of my job I use a proprietary data system using a software
package named CSPro. It maintains a hierarchical data file with a
separate data dictionary file.

I recently wrote a VB6 activex DLL to access these data files. The DLL
loads the dictionary, and based on the information from the dictionary,
it then loads the data into a "case" class. A case includes a
collection of objects called "variables", also based on a class.

My real objective is to provide the programmer with a data source
against which SQL can be applied, so the CSPro data can be accessed
directly from other applications. I can easily convert the "case" into
an ADO recordset, but I don't think that will help.

Can anyone suggest an approach to this?

Thanks in advance,

Martin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
1 2470
TC
To provide SQL access to an arbitrary data store, you will presumeably have
to:
- parse the SQL;
- determine an optimized query plan;
- access the data store, using that plan, then
- form a result set to return to the caller.

So you will need:
- an SQL parser;
- a "query optimizer", and
- a query plan interpreter.

I'm sure that you could find an SQL parser somewhere. The difficulty would
be, all the rest of it. So I think the issue is, can you get a "black box"
product for some or all of the tasks above? The ideal would be, a product
which accepts a definition of your data store, plus an arbitrary SQL
statement, and returns a well-defined list of instructions for how to get
the right data, out of the store.

Unless I'm missing somehing obvious!

HTH,
TC
"Martin Wulfe" <mw****@yahoo.com> wrote in message
news:3f*********************@news.frii.net...
As part of my job I use a proprietary data system using a software
package named CSPro. It maintains a hierarchical data file with a
separate data dictionary file.

I recently wrote a VB6 activex DLL to access these data files. The DLL
loads the dictionary, and based on the information from the dictionary,
it then loads the data into a "case" class. A case includes a
collection of objects called "variables", also based on a class.

My real objective is to provide the programmer with a data source
against which SQL can be applied, so the CSPro data can be accessed
directly from other applications. I can easily convert the "case" into
an ADO recordset, but I don't think that will help.

Can anyone suggest an approach to this?

Thanks in advance,

Martin

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
23925
by: Jonathan Buckland | last post by:
Can someone give me an example how to append data without having to load the complete XML file. Is this possible? Jonathan
1
3727
by: Marsha | last post by:
Does anyone know how to add a new data provider to Visual Studio - to the Provider list in Server Explorer. I am using Sybase's ADO.NET Data Provider. It has been added to my GAC and appears in...
3
2445
by: Jonathan Woods | last post by:
I could not find Oracle .NET data provider for version 1.1. Do I have to use ODBC .NET data provider for instead? Which provider can offer best access to Oracle Database? I'm using Oracle 8i....
0
1653
by: acwomble | last post by:
I am working with a database on another system via a ssh tunnel using plink. We have setup an alias the local system for the remote database. I am able to connect and work from within Visual...
1
1642
by: Ya Ya | last post by:
I am using the personalization feature in asp.net 2.0 I am storing the phone number for each user. When a certain user enters his phone number I would like to check if another user already...
1
5160
by: John Bailo | last post by:
I'm doing a profile on my SQL Server to see if I can eliminate any long running statements, and periodically, I see an entry for ".NET SqlClient Data Provider". The durations for it are very...
0
1202
by: pal | last post by:
MIME-Version: 1.0 Content-Type: multipart/related; boundary="ERCOT-XML-DATA"; Type="application/X-ERCOT-MARKETS" --ERCOT-XML-DATA Content-Type: application/xml <?xml version="1.0"...
2
4909
by: AB | last post by:
Hi to all, I have a problem about a importation of a file *.csv with SQL Server, through a bulk insert, called in a store procedure that a c# sw calls. This is the description of the error:...
1
9668
by: Carmine [www.thetotalsite.it] | last post by:
Hi, I am using ASP.Net 2.0 with the MySQL Connector .Net 5.1.2.2. I added these lines to the web.config to make the connector.net able to handle the SqlConnection object (and so to bind it to a...
0
14246
ADezii
by: ADezii | last post by:
Rather than using CurrentProject.Connection or entering your own Connection information, ADO supports storing Connection information in an external file called a Data Link File (which normally has a...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6732
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6886
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4768
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4472
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.