create proc fb_custom_GetGeneralCompleteList
@NameField nvarchar(50),
@Table nvarchar(50),
@PreText nvarchar(100)
as
declare @sql nvarchar(1000)
set @sql = N'select '+ @NameField + N' from ' + @Table + N' where ' + @NameField + N' like ''' + @PreText + N'%'''
exec @sql