Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column count doesn't match value count at row 1

Status
Not open for further replies.

tollbooth

MIS
Sep 20, 2002
9
US
I'm fairly new to Mysql and am trying to execute the following command:

insert into mhmissing(transid, recordid, clearingfirm, account, putcall, symbol, expiryear, expirmonth, strikedollar, strikefrac, longshort, securitytype, tradeprice, netposition, cusip, recordtype, tradesymbol, expirday, decimalstrike, spc, exectime, execdate, tagnumber, optiontype, contractyear, contractmonth)
select * from mhimports,mhini where mhimports.symbol = "" && mhimports.tradesymbol != mhini.original_sym

and am receiving the above error. These are all of the values located in the table. Any help??
 
By my count, you are inserting data into 26 columns in mhmissing.

How many columns total do mhimports and mhini have together? It's probably not 26. ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top