Before you add the disk(s) to your production diskgroup, you can use the next steps to validate whether the candidate disk(s) is/are in good shape and can be accessed from each node (without harm the existing production diskgroups), as
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[p_GetPassword]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[p_GetPassword] GO /*--窮舉法破解 SQL Server 使用者密碼
由於SQL效能最佳化或業務需求,往往在建立Table後需要擴充主鍵的長度,直接進行Alter Column會提示"ALTER TABLE ALTER COLUMN XXX failed because one or more objects access this colum",導致主鍵無法修改。這時可以使用DISABLE And ENABLE CHANGE_TRACKING臨時取消約束,修改後再啟用約束操作。IF EXISTS ( SELECT 1 FROM
ASM - Scalability and Limits [ID 370921.1] ASM imposes the following limits:(1)63 disk groups in a storage system(2)10,000 ASM disks in a storage system(3)2 terabyte maximum storage for each ASM disk (the Bug 6453944 allowed larger sizes, but that
Sometimes it can happen that the ASM contains empty system directories which cannot be removed. According to Note 3751057.8(ALTER DISKGROUP DROP DIRECTORY FORCE removes system aliases) the system generated directories should be removed