WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: bettman on January 27, 2014, 04:08:36 AM

Title: Writing to SQL
Post by: bettman on January 27, 2014, 04:08:36 AM
Greetings,

I need to write a script which reads the contents of a text file and write that information to a SQL table (on a different machine). Any assistance provided would be appreciated.
Title: Re: Writing to SQL
Post by: Deana on January 27, 2014, 08:48:17 AM
I recommend use ADO. There is a nice tutorial that should help get you started: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+Tutorials/OLE~TUTORIAL+ADO.txt

See also:
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/OLE~COM~ADO~CDO~ADSI~LDAP/ADO~DAO