Step
6: After creating it will be stored under Programmability ->Functions
->Scalar-Valued-Functions node. To re-open or edit it expand programmability node
and right click on your function name and choose modify option.

You
will get the script of your stored procedure. In this example it will be script
of My_First_Function. This will be something like this: