182x Posted July 20, 2007 Share Posted July 20, 2007 Hey guys, just wondering is there a limit to the size of variable names? I am using the name 'employeeTechProblemId' for the field in a database but I keep getting the following error. However the variable name is correct. Unknown column 'employeeTechProblemId' in 'where clause' Quote Link to comment Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 dont know if there is a limit but that is well below it if there is one Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 20, 2007 Share Posted July 20, 2007 charvar can go up to 225 or so in mysql. "text" has no limits. About variables themselves, I don't think there is a limit. The problem you are getting is something else. I think the column in the database is incorrectly called/spelled wrong. Its a different error message! Quote Link to comment Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 yup Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.