set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[STPListDownAccount] @Code0 int=0 AS SELECT AccountSysCode, Title, CreditLimit, SecurLevel, FK_AccountSysCode0, BedehkarOnly FROM CodeMNGDWNTbl WHERE (FK_AccountSysCode0 = @Code0)