Paul Clapham wrote:"Missing Right Paranthesis" is pretty clear, I think (even though it's misspelled -- not very professional on the part of the database maker). And if you took that string starting with "CREATE TABLE" and assigned it to a variable of length 256, then it would be truncated and hence there would be a missing right parenthesis.
Guess I might need help again. I modified the script and to look like as below:
Facing the problem with the missing right parantheses. I'm sure that all my logStr's are well within the range.