/* Monday, November 17, 200812:22:22 User: SA Server: VIEWSONIC Database: Retdatafile Application: */ /* To prevent any potential data loss issues, you should review this script in detail before running it outside the context of the database designer.*/ BEGIN TRANSACTION SET QUOTED_IDENTIFIER ON SET ARITHABORT ON SET NUMERIC_ROUNDABORT OFF SET CONCAT_NULL_YIELDS_NULL ON SET ANSI_NULLS ON SET ANSI_PADDING ON SET ANSI_WARNINGS ON COMMIT BEGIN TRANSACTION GO ALTER TABLE dbo.Vstk_mt_Discount ADD DiscountValue2 numeric(20, 6) NULL GO ALTER TABLE dbo.Vstk_mt_Discount ADD CONSTRAINT DF_Vstk_mt_Discount_DiscountValue2 DEFAULT 0 FOR DiscountValue2 GO COMMIT select Has_Perms_By_Name(N'dbo.Vstk_mt_Discount', 'Object', 'ALTER') as ALT_Per, Has_Perms_By_Name(N'dbo.Vstk_mt_Discount', 'Object', 'VIEW DEFINITION') as View_def_Per, Has_Perms_By_Name(N'dbo.Vstk_mt_Discount', 'Object', 'CONTROL') as Contr_Per