#161248 - 2006-04-26 11:35 PM
Re: General DB Question: ODBC The answer???
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Generic? There are so many drivers out there. Are you trying to open an Excel File, Text File, AccessDB, Oracle, MySQL, SQL, or Oracle? If you know what data source you are going after, that would help. That is the beauty of the ODBCxx() UDFs provided here. That way, you don't have to have a ton of code.
{Edit}
Quote:
That way if I'm working on a large project and want it to not be limited to one DB or another, I don't have to provide a bunch of different code for all of the different SQL statements I'd have to write?
I re-read your question.. I think you are looking for a DTS Package that when there is a change in a SQL table, it updates data on other systems. You will want to do that and is very powerful. {/Edit} Kent
Edited by kdyer (2006-04-26 11:39 PM)
|
Top
|
|
|
|
#161250 - 2006-04-27 12:05 AM
Re: General DB Question: ODBC The answer???
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
No... You want to do this as a Trigger to fire your update from your source db to your destination. You will want to do it at the time of the transaction as your don't want to clean up a bunch of garbage.
Kent
|
Top
|
|
|
|
#161259 - 2006-04-30 02:06 PM
Re: General DB Question: ODBC The answer???
|
Sealeopard
KiX Master
   
Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
|
Why should microsoft do that? 1) They are a mjor competitor with other RDBMS vendors and 2) The ODBC-drivers are DB-specific, thus best written by the vendor. For a list of thrid-party ODBC drivers, see http://www.sqlsummit.com/ODBCVend.htm. Oh, and BTW, microsoft does offer an Oracle ODBC driver, see http://support.microsoft.com/kb/q244661/ , however, it's much less powerful than Oracle's ODBC Driver.
The situation with graphics card drivers is analoguous. You could use the Microsoft drivers, but the vendor-specific drivers are much better.
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 202 anonymous users online.
|
|
|