You haven't posted any code, so it's difficult to help you. Did you try Googling the error message to find out what it means? Also, this is a SQL question so it should be posted in the SQL forum. It has nothing to do with web development.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush