Powerbuilder 9, OLE DB and MS SQL Server 2K - sux.
Добавлено: 27 авг 2004, 08:58
Ну лана, поскоку про ОЛЕ ДБ никто полезно не высказался поставим вопрос ребром.
Environment: PowerBuilder 9.0.1 build 6533 and build 7236. Connecting to MS SQL Server 2000 sp3a using OLE DB. Provider – SQLOLEDB. Autocommit – false.
Situation. Declare and open a cursor using embedded SQL. Fetch one row. Then select something from another table using select ..into clause. If the cursor retrieves more then one row the following error occurs:
999 Microsoft OLE DB provider for SQL Server. Cannot create new connection because in manual or distributed transaction mode.
According to Microsoft: http://support.microsoft.com/default.as ... -us;272358
There should be a way around by setting DBPROP_MULTIPLECONNECTIONS to VARIANT_FALSE. But – how to do set this property? Any other work around?
Высказывайтесь пжлста.
Environment: PowerBuilder 9.0.1 build 6533 and build 7236. Connecting to MS SQL Server 2000 sp3a using OLE DB. Provider – SQLOLEDB. Autocommit – false.
Situation. Declare and open a cursor using embedded SQL. Fetch one row. Then select something from another table using select ..into clause. If the cursor retrieves more then one row the following error occurs:
999 Microsoft OLE DB provider for SQL Server. Cannot create new connection because in manual or distributed transaction mode.
According to Microsoft: http://support.microsoft.com/default.as ... -us;272358
There should be a way around by setting DBPROP_MULTIPLECONNECTIONS to VARIANT_FALSE. But – how to do set this property? Any other work around?
Высказывайтесь пжлста.