Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new york tax by zip code


Guest

Recommended Posts

i installed the mod and then when i went to run the SQL i got the following error message

 

Error

 

SQL query:

 

CREATE TABLE `TABLE_ZIPTAX` (

`zip_id` int( 11 ) NOT NULL AUTO_INCREMENT ,

`zip_code` varchar( 32 ) NOT NULL default '',

`zip_tax_rate` decimal( 7, 4 ) NOT NULL default '0.0000',

`zipcounty` varchar( 32 ) NOT NULL default '',

`zipstate` varchar( 32 ) NOT NULL default '',

PRIMARY KEY ( `zip_id` )

) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =2790;

 

MySQL said: Documentation

#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near

'DEFAULT CHARSET=latin1 AUTO_INCREMENT=2790' at line 8

 

also on the catalog the fo;;owing message shows

 

1146 - Table 'filter_store.TABLE_ZIPTAX' doesn't exist

 

select zip_tax_rate from TABLE_ZIPTAX where zip_code = ''

 

[TEP STOP]

 

 

Thank you for your help and advise

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...