Re: reset number after each month
Posted by ErmanArslansOracleBlog on May 17, 2017; 12:10pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/reset-number-after-each-month-tp2706p2710.html
okay.. It is because its is different when you execute the command as a script.
In every script execution, your n variable gets initialized. Think like, every script execution is done in a seperate shell.
So, everytime you execute the script, your n becomes 1