Sybase数据库的自定义事务中不能使用Select Into?
也就是说,不能采用如下形式的代码?
Execute Immediate "Begin Tran";
Select col_1,col_2 Into :ls_Col1, :ls_Col2 From Table_name……
If SQLCA.SQLCode <> 0 Then
Execute Immediate "Rollback Tran" Using SQLCA;
Return 0
End If
Execute Immediate "Commit Tran" Using SQLCA;
Return 1