久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='XkgBQ'></small><noframes id='XkgBQ'>

      <bdo id='XkgBQ'></bdo><ul id='XkgBQ'></ul>
    <legend id='XkgBQ'><style id='XkgBQ'><dir id='XkgBQ'><q id='XkgBQ'></q></dir></style></legend>

  • <tfoot id='XkgBQ'></tfoot>
    <i id='XkgBQ'><tr id='XkgBQ'><dt id='XkgBQ'><q id='XkgBQ'><span id='XkgBQ'><b id='XkgBQ'><form id='XkgBQ'><ins id='XkgBQ'></ins><ul id='XkgBQ'></ul><sub id='XkgBQ'></sub></form><legend id='XkgBQ'></legend><bdo id='XkgBQ'><pre id='XkgBQ'><center id='XkgBQ'></center></pre></bdo></b><th id='XkgBQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='XkgBQ'><tfoot id='XkgBQ'></tfoot><dl id='XkgBQ'><fieldset id='XkgBQ'></fieldset></dl></div>

        無法刪除具有 FULLTEXT 索引的表上的主鍵

        Can#39;t delete primary key on table with FULLTEXT index(無法刪除具有 FULLTEXT 索引的表上的主鍵)

              <legend id='W613K'><style id='W613K'><dir id='W613K'><q id='W613K'></q></dir></style></legend>

              <tfoot id='W613K'></tfoot>
                <i id='W613K'><tr id='W613K'><dt id='W613K'><q id='W613K'><span id='W613K'><b id='W613K'><form id='W613K'><ins id='W613K'></ins><ul id='W613K'></ul><sub id='W613K'></sub></form><legend id='W613K'></legend><bdo id='W613K'><pre id='W613K'><center id='W613K'></center></pre></bdo></b><th id='W613K'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='W613K'><tfoot id='W613K'></tfoot><dl id='W613K'><fieldset id='W613K'></fieldset></dl></div>

                <small id='W613K'></small><noframes id='W613K'>

                • <bdo id='W613K'></bdo><ul id='W613K'></ul>
                    <tbody id='W613K'></tbody>
                  本文介紹了無法刪除具有 FULLTEXT 索引的表上的主鍵的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我有一個主鍵是 int 數據類型的表.我想刪除這個列(因為它沒有使用,我擔心這個列可能會達到int數據類型的最大限制,所以我們不妨刪除它.)

                  I have a table with a primary key that is an int data type. I want to drop this column (as it is unused, and I fear this column may reach the maximum limit of the int data type, so we may as well drop it.).

                  首先,我無法刪除我試圖首先刪除約束:

                  First, I could not drop I tried to first drop the constraint with:

                  ALTER TABLE dbo.MyTable DROP CONSTRAINT PK_MyTableID
                  

                  我收到錯誤:

                  無法刪除索引PK_MyTableID",因為它強制使用表或索引視圖MyTable"的全文鍵.

                  Cannot drop index 'PK_MyTableID' because it enforces the full-text key for table or indexed view 'MyTable'.

                  我不明白這個錯誤,因為主鍵是一個int,我不認為這個表有一個FULLTEXT索引,但如果有,我不需要它.

                  I don't understand this error, because the primary key is an int, and I don't think this table has a FULLTEXT index, but if it does, I don't need it.

                  我可以在刪除 FULLTEXT 索引后刪除該列:

                  I was able to drop the column after deleting the FULLTEXT index:

                  DROP FULLTEXT INDEX ON dbo.MyTable
                  

                  推薦答案

                  我相信表格上有全文索引.全文索引要求您具有唯一鍵:

                  I believe there is a full text index on the table. A full text index requires you to have unique key:

                  來自 MSDN:KEY INDEX index_name是 table_name 上唯一鍵索引的名稱.KEY INDEX 必須是唯一的、單鍵的、不可為空的列.為全文唯一鍵選擇最小的唯一鍵索引.為了獲得最佳性能,我們建議全文鍵使用整數數據類型.

                  From MSDN: KEY INDEX index_name Is the name of the unique key index on table_name. The KEY INDEX must be a unique, single-key, non-nullable column. Select the smallest unique key index for the full-text unique key. For the best performance, we recommend an integer data type for the full-text key.

                  您可以使用以下方法檢查表格全文索引:

                  You can check for a tables full text indexes using:

                  SELECT object_id, property_list_id, stoplist_id FROM sys.fulltext_indexes
                      where object_id = object_id('myTable'); 
                  

                  這篇關于無法刪除具有 FULLTEXT 索引的表上的主鍵的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數據庫列表和 SQL Server 實例使用的空間嗎?) - IT屋-程序員軟件開發
                  How to create a login to a SQL Server instance?(如何創建對 SQL Server 實例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過注冊表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會出現“數據類型轉換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)
                  WinForms application design - moving documents from SQL Server to file storage(WinForms 應用程序設計——將文檔從 SQL Server 移動到文件存儲)

                      <bdo id='UlSSA'></bdo><ul id='UlSSA'></ul>
                      <i id='UlSSA'><tr id='UlSSA'><dt id='UlSSA'><q id='UlSSA'><span id='UlSSA'><b id='UlSSA'><form id='UlSSA'><ins id='UlSSA'></ins><ul id='UlSSA'></ul><sub id='UlSSA'></sub></form><legend id='UlSSA'></legend><bdo id='UlSSA'><pre id='UlSSA'><center id='UlSSA'></center></pre></bdo></b><th id='UlSSA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='UlSSA'><tfoot id='UlSSA'></tfoot><dl id='UlSSA'><fieldset id='UlSSA'></fieldset></dl></div>
                        <tbody id='UlSSA'></tbody>
                      <tfoot id='UlSSA'></tfoot><legend id='UlSSA'><style id='UlSSA'><dir id='UlSSA'><q id='UlSSA'></q></dir></style></legend>

                      • <small id='UlSSA'></small><noframes id='UlSSA'>

                            主站蜘蛛池模板: 七七婷婷婷婷精品国产 | 天堂成人av | 国产精品一区二区久久久久 | 大乳boobs巨大吃奶挤奶 | 曰韩三级 | 成人国产精品色哟哟 | 国产在线1| 狠狠狠色丁香婷婷综合久久五月 | 久草免费在线视频 | 在线视频一区二区 | 91国内在线观看 | 尤物视频在线免费观看 | 在线日韩| 成人在线免费电影 | 99re66在线观看精品热 | 99精彩视频 | 日韩成人 | 久热久热 | 日韩免费视频一区二区 | 国产aⅴ精品 | 欧美一级黄色片免费观看 | 亚洲第一视频网站 | 日韩欧美国产成人一区二区 | av影音| 91精品国产91久久久久久三级 | 久久久久9999亚洲精品 | 免费在线精品视频 | 亚洲久草| 久久免费精彩视频 | 亚洲www啪成人一区二区麻豆 | 99re国产 | 精品免费av | 日韩欧美在线播放 | 在线视频一区二区 | 国产精品成人一区二区三区 | 久在线视频播放免费视频 | 国产在线观看 | 国产日韩精品视频 | 日本在线播放一区二区 | 国产欧美久久精品 | 国产精品免费观看 |