Q:

C# read attachments from Access .accdb

I have to read a table from .accdb file and migrate it to a database.
I can't install MS Access on the server where the migration will be executed!
Currently I use ODBC 
OdbcConnection DbConnection = new OdbcConnection("DSN=SAMPLE_ISAM");
DbConnection.Open();
OdbcCommand DbCommand = DbConnection.CreateCommand();
DbCommand.CommandText = "SELECT Attachments FROM SomeTable";
OdbcDataReader DbReader = DbCommand.ExecuteReader();
while (DbReader.Read())
{
    object att = DbReader["Attachments"];
}
DbReader.Close();
DbCommand.Dispose();
DbConnection.Close();

SAMPLE_ISAM is pointed to the accdb file. 
This works well for the simple data types, but for attachments it gets only the file name(I also need the bytes).
As I said MS Access can't be installed so Interop DAO is not an option.
Is there any way to get the attachments? Other technologies and programing languages are also acceptable. 

A:

Thanks to Steve I found this Extracting files from an Attachment field in an Access database
So the working code is:
            OdbcConnection DbConnection = new OdbcConnection("DSN=SAMPLE_ISAM");
            DbConnection.Open();
            OdbcCommand DbCommand = DbConnection.CreateCommand();
            DbCommand.CommandText = "SELECT Attachments.FileData, ID, Attachments.FileName FROM Complaints WHERE ID IN(29,30)";
            OdbcDataReader DbReader = DbCommand.ExecuteReader();
            int fCount = DbReader.FieldCount;
            while (DbReader.Read())
            {
                byte[] bytes = (byte[])DbReader[0];
                Int32 ID = (Int32)DbReader[1];
                string name = (string)DbReader[2];
                File.WriteAllBytes(@"D:\files\" + name, bytes.Skip(20).ToArray());
            }
            DbReader.Close();
            DbCommand.Dispose();
            DbConnection.Close();

using System.Linq; is required for Skip(20) (See the link).
The meta data is 20 bytes for pdf and jpg. Note that it may vary for other file types.

