用delphi写服务程序。数据库是sybase。服务用来处理报文。
但是,运行服务后,查看SYBASE的syslocks表,有些表被所住了。
fid         spid        loid        locktype                     table_id    page        row         dbname          class                          context                      
----------- ----------- ----------- --------                     ----------- ----------- ----------- ------          -----                          -------                      
          0          10          20 Sh_intent                      448004627           0           0 master          Non Cursor Lock                                             
          0          11          22 Sh_intent                      899534288           0           0 efforts         Cursor Id 234                                               
          0          11          22 Sh_intent                     1497108424           0           0 efforts         Cursor Id 234                                               
          0          11          22 Sh_intent                     1641108937           0           0 efforts         Cursor Id 234                                               
          0          11          22 Sh_intent                     1641108937           0           0 efforts         Cursor Id 237      不知道为什么。有相关方面知识的兄弟帮帮我啊。