I extract data from a table in Sybase SQL Anywhere 5.0 using a vb Script. I don't directly attach to Sybase though. I've got an Access Database that has an ODBC link to the Sybase table. I could post the code if it would help you.
strSQL = strSQL & " FROM DBA_order_header" _
& " WHERE (((DBA_order_header.head_order_nbr) Like 'CO*' Or (DBA_order_header.head_order_nbr) Like 'R*'));"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.