Thanks NJ. I knew you were going to make your contribution at one time or another. I always find the SQLite web site you refer to very difficult to follow. It has too many links and no examples or not simple enough examples to explain the functions, syntax and keywords and how they are used. Sometimes, one small example eliminates a lot of confusion and a lot of unnecessary readings. You had a reference one time to a very nice site with examples, but it did not tackle all functions.