在没有自定义 table 类型的本机编译存储过程中使用非内存优化 tables

Using non memory optimised tables in Natively Compiled Stored Procedure without custom table types

我正在尝试将存储过程重写为本机编译的存储过程。该过程涉及 20 个表,这些表是普通表(非内存优化),我正在使用 5 个与之相关的视图。是否可以在不将任何这些对象转换为内存优化表的情况下创建本机编译的存储过程?

本机编译的过程无法访问非内存表。

在这里查看 Aaron 的回答:https://dba.stackexchange.com/questions/180172/use-natively-compiled-stored-procedures-in-disk-based-tables