View Single Post

   
  #2 (permalink)  
Old 02-29-2008, 06:40 PM
ZeldorBlat
 
Posts: n/a
Default Re: Too Many SET Options


Dil wrote:
> Hi
>
> I have created a Sql Script through Enterprise Manager for Drop a
> column. By default its creating lot of 'SET' commands. I doubt all
> these SET options are required or not. Pls comment on this issue
>
> BEGIN TRANSACTION
> SET QUOTED_IDENTIFIER ON
> SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
> 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
> ALTER TABLE Employee
> DROP COLUMN OrderDetails_ID
> GO
> COMMIT
>
>
> Dil


Here's something you can try:

Remove all the SET statements
Run the script
See what happens

Reply With Quote