Re: SQL function for getting the last inserted ID