Even a broken clock is right once every 86400 seconds. But did you read and follow the other advice given in response to your question, where a number of experienced programmers explained how you can create a function in your SQL?
In reply to Re^3: Interpolating subroutine call in SQL INSERT INTO SELECT statement
by 1nickt
in thread Interpolating subroutine call in SQL INSERT INTO SELECT statement
by shadowsong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |