0 - 1 of 1 tags for proc

Hi,
 
I am new to Teradata.
I want to make a procedure in Teradata wich will do the follwing job:
 
1.Read an integer from a table in Teradata.(SELECT)
2.Increment a constant value to it.
3.Append the value in the same Table.(INSERT)
4.Return that value.