Jump to content

sweedish MySQL


otuatail

Recommended Posts

Can someone help out here. I had an SQL query that worked fine on one mysql server but not on another.

The other one states in PHPmysql Collation  latin1_swedish_ci

 

The query is

 

INSERT INTO Updates (UserID , Date , SQL) VALUES

(1,'1213821547','UPDATE Drinks SET Description = ''John Smiths'' , Pint = ''2.48'', H_Pint = 1.28, ABV = ''3.8'' WHERE ID = 1')

 

Desmond.

structure

 

DROP TABLE IF EXISTS `Updates`;

CREATE TABLE IF NOT EXISTS `Updates` (

  `ID` int(11) NOT NULL auto_increment,

  `UserID` int(4) unsigned default NULL,

  `Date` char(12) NOT NULL default '',

  `SQL` char(120) NOT NULL default '',

  PRIMARY KEY  (`ID`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

 

 

Link to comment
https://forums.phpfreaks.com/topic/110810-sweedish-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.