I have a SQL stored procedure 'A' which validates certain bank account information for a given account and it accepts the account number as an argument 'arg1'
I want to execute the procedure for all values present in Column X of another table XXX (all bank Accounts present in the Accounts table)
I am not sure if something like this would work
exec A @arg1 = X from XXX
Thanks in advance!