sp_whoisactive 导致未知查询:“Insert Into <table_name>"select *,%%bmk%% from <table_name>;选项(maxdop 1)" [英] sp_whoisactive resulting an unknown query: &quot;Insert Into &lt;table_name&gt; select *,%%bmk%% from &lt;table_name&gt; option (maxdop 1)&quot;

查看:40
本文介绍了sp_whoisactive 导致未知查询:“Insert Into <table_name>"select *,%%bmk%% from <table_name>;选项(maxdop 1)"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

sp_whoisactive 导致未知查询:

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

我已经检查了上面的代码块,但在我的任何程序中都没有找到此代码.任何人都可以建议此查询可能会做什么.

I have checked the above code block but did not find this code in any of my procedures. Can anyone please suggest what this query might be doing.

推荐答案

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

This is a clustered index being rebuilt.

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

%BMK% is the function that maps the old bookmarks to the new.

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

There is a document here that discusses the process: https://technet.microsoft.com/en-in/library/cc966402(en-us).aspx

这篇关于sp_whoisactive 导致未知查询:“Insert Into <table_name>"select *,%%bmk%% from <table_name>;选项(maxdop 1)"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆