ADO.net ExecuteDataSet method hanging with oledb Sybase driver

D

desmcc

Hi,
Can anyone tell me why the following code works in SQLServer but HANGS
with a Sybase connection (using the following connection
string--Provider=Sybase ASE OLE DB Provider; Data
source=SybaseProviderTest;):

string
sSQL = @"SELECT messagedate, messageref, response FROM
generatedresponses
WHERE destination = 'BAM'";
OleDb oleDb = new OleDb();
return oleDb.ExecuteDataset(connectionString, CommandType.Text,
sSQL);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top