sql server - How to check input patterns within a store procedure SQL? -
i have store procedure takes 21 parameters. @concept_name,@k1,@w1 .....@kn, @wn
would know how can use check input pattern ensure correctly formatted , correct data types used. , prints error message user if string pattern invalid (missing w, k, comma or reversed)
data type @concept_name varchar(55) data type @k varchar(55) data type @w decimal (3,2)
can treat 2 strings i.e '@concept_name' , other '@k1,@w1.....@kn,@wn'
thanks help
Comments
Post a Comment