Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


November 07, 2007

Much Ado About ADO


RSS
View this exclusive article with VIP access -- click here to join | See More ActiveX Data Objects (ADO) Articles Here | Reprints
Or sign up for our VIP Monthly Pass!

Databases are the strong, silent type. Day in and day out, they house and keep our data in check, sitting silently in the background until we query them for information. Equally strong and silent is the technology that lets scripts interact with databases: ActiveX Data Objects (ADO). Using ADO, you can interact with not only a variety of databases, including Microsoft Access, Microsoft SQL Server, and Oracle, but also other data stores such as Active Directory (AD) and Microsoft Excel. You can even use ADO to work with data in comma-separated value (CSV) text files.

Perhaps it's because ADO is the strong, silent type that not much has been written about it compared with how much coverage other technologies such as Windows Management Instrumentation (WMI) and Active Directory Service Interfaces (ADSI) have seen. If you conduct a search on the Scripting Pro VIP Web site you'll run across a lot of articles that discuss scripts in which ADO is used but few articles that explain how to use it. The most notable articles are "Rem: Obtaining Data from a SQL Server Database" by Mike Otey and "An ADSI Primer, Part 5: Using ADO to Script Fast ADSI Searches" by Alistair G. Lowe-Norris. "Rem: Obtaining Data from a SQL Server Database" discusses how to use ADO in VBScript code to access a SQL Server database, read the data from a table, and write that data to a file. "An ADSI Primer, Part 5: Using ADO to Script Fast ADSI Searches" is part of a series on ADSI, so it concentrates on how to use ADO for accessing AD. The article provides an introduction to the ADO objects, properties, and methods you use for that purpose.

To give ADO the coverage it deserves, Scripting Pro VIP will be running several articles that explain how to use it. We'll cover the basics, but if there's a specific topic you'd like covered, please let me know via email. Look for the ADO series to start in early spring 2008.

In the meantime, if you're interested in seeing ADO in action, here are some of the scripts that we've provided:

You can find other scripts that use ADO by going to the Scripting Pro VIP Web site and performing a keyword search on ADO.

End of Article



Reader Comments
you're prompting for a review before I can even see the article.....

rearly May 07, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Managing Virtual Sprawl

As some wise person once said, nothing is ever truly free. Such is the case with VMs, which can quickly mutate from a cost-reducing Dr. Jekyll into a time-consuming, profligate nightmare that would do Mr. Hyde proud. ...

What service packs and fixes are available?

...


ActiveX Data Objects (ADO) Whitepapers Next-Generation Signoff Analysis Tackles Electrical, Physical, and Manufacturing Challenges

Chip Design Suing 45nm Processes Requires a Holistic Approach to Planning and Implementation

Chip Design Suing 45nm Processes Requires a Holistic Approach to Planning and Implementation

Related Events Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Critical Challenges of ESI & Email Retention
Are you storing too much electronic information? Get expert legal advice and better understanding of what you are required to do as an IT professional.

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Sustainable Compliance: Are You Having a Resource Crisis?
Read this white paper to examine trends in compliance and security management and review approaches to reducing the cost and operational burden of compliance.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.
Windows IT Pro Home Register About Us Affiliates / Licensing Media Kit Contact Us/Customer Service  
SQL Connected Home IT Library SuperSite FAQ Wininfo News
Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing