MySQL Forums
Forum List  »  PHP

Re: Column count doesn't match value count at row 1???????
Posted by: Leo Aulenta
Date: June 23, 2008 03:20AM

I'm on my apprenticeship and i'm working with sql at the moment!
But i'm having some problems with this query:

INSERT INTO amaca.Transcript_Exon
SELECT concat(ADB.TranscriptID, '-', ADB.RunID) as idTranscript,ADB.* FROM AspicDB.Transcript_Exon as ADB

that gives me the error of this post!
anyway the strange thing is that i did the exactly same query a couple of minutes before but with 2 different tables...
the query looks like this:

INSERT INTO amaca.Transcript
SELECT concat(ADB.RunID, '-', ADB.TranscriptID) as idTranscript,ADB.* FROM AspicDB.Transcript as ADB

last one works perfectly!
Name of the columns and rows are ok, i checked them more than one time, but still got the problem...

Any idea?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.