久久久久久久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>

        無(wú)法刪除具有 FULLTEXT 索引的表上的主鍵

        Can#39;t delete primary key on table with FULLTEXT index(無(wú)法刪除具有 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>
                  本文介紹了無(wú)法刪除具有 FULLTEXT 索引的表上的主鍵的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  我有一個(gè)主鍵是 int 數(shù)據(jù)類型的表.我想刪除這個(gè)列(因?yàn)樗鼪](méi)有使用,我擔(dān)心這個(gè)列可能會(huì)達(dá)到int數(shù)據(jù)類型的最大限制,所以我們不妨刪除它.)

                  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.).

                  首先,我無(wú)法刪除我試圖首先刪除約束:

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

                  ALTER TABLE dbo.MyTable DROP CONSTRAINT PK_MyTableID
                  

                  我收到錯(cuò)誤:

                  無(wú)法刪除索引PK_MyTableID",因?yàn)樗鼜?qiáng)制使用表或索引視圖MyTable"的全文鍵.

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

                  我不明白這個(gè)錯(cuò)誤,因?yàn)橹麈I是一個(gè)int,我不認(rèn)為這個(gè)表有一個(gè)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:

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

                  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'); 
                  

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

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

                  相關(guān)文檔推薦

                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數(shù)據(jù)庫(kù)列表和 SQL Server 實(shí)例使用的空間嗎?) - IT屋-程序員軟件開發(fā)
                  How to create a login to a SQL Server instance?(如何創(chuàng)建對(duì) SQL Server 實(shí)例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過(guò)注冊(cè)表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會(huì)出現(xiàn)“數(shù)據(jù)類型轉(zhuǎn)換錯(cuò)誤?使用 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 應(yīng)用程序設(shè)計(jì)——將文檔從 SQL Server 移動(dòng)到文件存儲(chǔ))

                      <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黄色免费在线观看 | 婷婷色国产偷v国产偷v小说 | 精品国产乱码久久久久久蜜退臀 | 国产二区视频 | 日本高清不卡视频 | 日本一区二区三区视频在线 | 伊人无码高清 | 日本a v在线播放 | 欧美日本免费 | 精品国产一区二区久久 | 午夜精品视频一区 | 综合久久综合久久 | 日韩av看片 | 欧美精品在线免费观看 | 96久久久久久 | 欧美性生活视频 | 农村黄性色生活片 | 中文字幕亚洲欧美 | 蜜桃av鲁一鲁一鲁一鲁 | 一区观看 | 亚洲成人福利在线观看 | 中文字幕国产 | 国产亚洲一区在线 | 亚洲精品乱码久久久久久蜜桃91 | 欧美日韩在线观看一区二区三区 | 国产精品女人久久久 | 一区二区影视 | 亚洲综合热 | 精品久久久久久久 | 日韩成人在线视频 | 日日射影院| 久久一区 | 999国产视频 | 久久网站黄 | 在线免费观看毛片 | 激情网站在线 | 色偷偷888欧美精品久久久 | 亚洲精品美女在线观看 | 久久国产精品一区二区三区 | 日韩日韩日韩日韩日韩日韩日韩 |