Joe Peck wrote:
> Roy Pardee wrote:
>> Can you just shell out to whatever command-line tool your database
>> supports for executing large sql files?
>
> Yeah, I can. Now I ran into good ol' Error 1136: Column count doesn't
> match value count at row 1
>
> It really looks to me like it should work, but I'm sure there's some
> tiny thing that is wrong.
>
> insert into html_templates (id, name, htmlcode, style, js, count)
> values('1000','Mega
> Template','<html><body>Hello</body></html>','\r\nborder:1px;
> \r\nborder-color:#333333; \r\nborder-style:solid;\r\n}\r\n','','0');
Okay, figured it out. I'll post this in case someone else stumbles
around looking for how to fix this error.
http://htmlfixit.com/cgi-tutes/tutorial_MySQL_Error_Invalid_Query_Column_Count_Does_Not_Match_Value_Count.php
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---