Create a variable in DB2

There’s a ton of stuff on the internet on how to create a variable. Mostly off them are suggesting to use the declare command. Sadly, that didn’t do anything for me, so here’s the solution to create a variable.

 

Leave a Reply