select *,%%bmk%% from option (maxdop 1)"-6ren"> select *,%%bmk%% from option (maxdop 1)"-sp_whoisactive导致未知查询: insert into select *,%%bmk%% from option (maxdop 1) 我检查了上面的代码块,但在我的任何程序中都没有找-6ren">
gpt4 book ai didi

sql - sp_whoisactive 导致未知查询 : "Insert Into select *,%%bmk%% from option (maxdop 1)"

转载 作者:行者123 更新时间:2023-12-03 17:47:52 25 4
gpt4 key购买 nike

sp_whoisactive导致未知查询:

insert into <table_name> select *,%%bmk%% from <table_name> option (maxdop 1)

我检查了上面的代码块,但在我的任何程序中都没有找到这个代码。
谁能建议这个查询可能在做什么。

最佳答案

这是一个正在重建的聚集索引。

%BMK% 是将旧书签映射到新书签的函数。

这里有一个文档讨论了这个过程:https://technet.microsoft.com/en-in/library/cc966402(en-us).aspx

关于sql - sp_whoisactive 导致未知查询 : "Insert Into <table_name> select *,%%bmk%% from <table_name> option (maxdop 1)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29506640/

25 4 0