ADO.net ExecuteDataSet method hanging with oledb Sybase driver

  • Thread starter Thread starter desmcc
  • Start date Start date
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);
 
Back
Top