sql2000中如何调用Delphi写的dll

解决方案 »

  1.   

    SQL SERVER中调用DLL,据我所知叫“外部存储过程”,不过资料上一般都介绍使用VC开发,delphi如何搞不是很清楚
      

  2.   

    https://blog.csdn.net/arduousbonze/article/details/2481964
    上面是VC中例子,可以想象,如果使用delphi的话,工作量估计较大
      

  3.   

    这个叫Extended Stored Procedure,有一套API,但是ms明确说了,未来的SQL Server中将移除这一特性。
    参考:https://docs.microsoft.com/en-us/sql/relational-databases/extended-stored-procedures-programming/database-engine-extended-stored-procedures-programming?view=sql-server-2017
    如果DLL已经写好了,数据库管理员用sp_addextendedstoredproc就可以将其加入。
      

  4.   

    推荐你看一篇文章:
    https://blog.csdn.net/delphi1234/article/details/4150607