मैं उपयोग एसक्यूएल सर्वर 2008 R2, मैं एक डेटाबेसकैसे मेरी डेटाबेस में हर तालिका के लिए सूचकांक को बदलने के लिए
में हर तालिका के लिए सूचकांक के पुनर्निर्माण के लिए इस स्क्रिप्ट का प्रयोग की जरूरत है, मैं एक त्रुटि
USE myDb
GO
EXEC sp_MSForEachTable 'ALTER INDEX ALL ON ? REBUILD'
प्राप्त
त्रुटि:
ALTER INDEX failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations.
कोई विचार यह कैसे ठीक करें? धन्यवाद
इस लिंक की जाँच करें: http://www.mssqltips.com/sqlservertip/1367/sql-server-script-to-rebuild-all-indexes-for-all-tables-and - सभी डेटाबेस/यह आपके लिए काम करना चाहिए। –
धन्यवाद शार्क, लेकिन मुझे समझना होगा कि मेरे आदेश में समस्या क्या है। मैं आपके संसाधन धन्यवाद पर विचार रखूंगा! – GibboK