This UDF library has some basic functions for connecting and querying SQL databases. The UDF library can be found here : http://www.autoitscript.com/fileman/users/HansH/SQL.au3 If you have remarks or improvements, let me know, so I can adapt it and do the documentation according the UDF standards Underneath a small example how to use this. #include <GUIConstants.au3> #include <SQL.au3> ; ============================================================== ; Define a general COM error