database connection mfiles
by Tim Myers
29 Aug 2005
(Updated 23 Mar 2007)
Queries datasource directly w/o requiring mods to ODBC Data Source Administrator.
|
Watch this File
|
| File Information |
| Description |
Complete package for connecting to, querying, and closing connections to SQL, Oracle, and MS Access databases.
The main advantage of these functions is that they implement a "DSN-less" connection, which means you can run queries against a server without having to first add the datasource to your ODBC Data Source Administrator.
Just input the server name, database name, and optional uid/pwd to open a connection using an ActiveX control.
It takes only 4 lines of code to open a connection, run a query, and close the connection. It's that simple! |
| Acknowledgements |
This submission has inspired the following:
ADO OLE Database Connection, adodb_tools
|
| MATLAB release |
MATLAB 7.3 (R2006b)
|
| Other requirements |
Since these functions use ActiveX controls, they are probably limited to Windows users. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (37) |
| 10 Sep 2005 |
marwan khalil
|
|
|
| 10 Sep 2005 |
marwan khalil
|
|
|
| 20 Dec 2005 |
D Petrovich
|
|
|
| 08 Feb 2006 |
Tor Hauge
|
|
|
| 20 Feb 2006 |
J B
|
|
|
| 15 May 2006 |
Ryan van laar
|
|
|
| 23 May 2006 |
Alberto Jucci
|
|
|
| 07 Jun 2006 |
nasr Hamwe
|
|
|
| 28 Jun 2006 |
Alexandre KOZLOV
|
|
|
| 04 Jul 2006 |
Ryan van laar
|
|
|
| 26 Jul 2006 |
Johannes Germishuizen
|
|
|
| 18 Sep 2006 |
Sibylle Kratzer
|
|
|
| 05 Oct 2006 |
asma omairi
|
|
|
| 25 Oct 2006 |
hiba as
|
|
|
| 14 Nov 2006 |
Clint Morrow
|
|
|
| 13 Dec 2006 |
Inosha Wickrama
|
|
|
| 25 Jan 2007 |
Robert Ducellari
|
|
|
| 16 Mar 2007 |
pradeep g
|
|
|
| 21 Mar 2007 |
Bo BMB
|
|
|
| 18 Apr 2007 |
Matteo Borghi
|
|
|
| 09 May 2007 |
Stephane ARMAND
|
|
|
| 12 Jun 2007 |
Darik Gamble
|
|
|
| 01 Nov 2007 |
Matt C
|
|
|
| 13 Mar 2008 |
Andy Mills
|
|
|
| 14 Mar 2008 |
sh h
|
|
|
| 06 May 2008 |
egons kaktuss
|
|
|
| 10 Jun 2008 |
George Zhao
|
|
|
| 23 Sep 2008 |
Jasleen K.
|
|
|
| 14 Oct 2008 |
J K.
|
|
|
| 18 Dec 2008 |
koubaa kamal
|
|
|
| 09 May 2009 |
Saadettin SÜLÜN
|
|
|
| 15 Jun 2009 |
G. Cardi
|
|
|
| 04 May 2010 |
Daniel
|
|
|
| 12 Oct 2010 |
Robin den Dekker
|
|
|
| 04 Jan 2011 |
Azarudeen A
|
|
|
| 20 Sep 2011 |
Brian
|
|
|
| 25 Nov 2011 |
Walid Al-Gherwi
|
|
|
| Updates |
| 23 Mar 2007 |
Updated oledbquery.m to enable inerting and updating records. Added examples to README.txt. Added help text in catch section of oledbcn.m when database connection cannot be made. |
|
Contact us at files@mathworks.com