SQL Scripts in VB
SQL Scripts in VB
believe it or not i did this using ms vb6 programmer's guide. since a sql
script (.sql file) is just a text file you can open it by dimming out a file
system object and setting a text stream using the opentextfile method.
txtstr = ts.readall
end sub
sqlconn.execute txtstr
tom