Quantcast
Channel: SQLServerCentral » SQL Server 2012 » SQL Server 2012 - T-SQL » Latest topics
Viewing all articles
Browse latest Browse all 4901

modify proc creates odd script

$
0
0
when i select modifiy proc i get the below: Is there an option that would force it to simply show as an alter proc and do away w/ all of this sp_executesql nonesence?/****** Object: StoredProcedure [dbo].[aaaaatest] Script Date: 12/18/2012 9:47:50 AM ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOIF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[aaaaatest]') AND type in (N'P', N'PC'))BEGINEXEC dbo.sp_executesql @statement = N'ALTER PROCEDURE [dbo].[aaaaatest] ASSELECT ''this is a test''' END

Viewing all articles
Browse latest Browse all 4901

Trending Articles