... SET latin1 COLLATE utf8-general-ci;
// set text fields to utf8
SET NAMES 'utf8';
This does nothing:
// convert the foreign character using PHP to htmlentities
$my_description = htmlentities($my_description);
$my_description ...
What?
A quick article on how to populate a database column from another table using a string comparison.
Why?
I have several database tables which replicate country names and I would rather they ...
... other than it identified the remaining values as having the same SOUNDEX value. Adding the COLLATE option straight after the column that needs to be case-sensitive returned the correct results:
SELECT ...
... You can put a distinct on it (not forgetting the collate).
This example is expanded in a further article called "Search a database with soundex":
/* USING A CURSOR */
DECLARE @SqlToExecute nvarchar(max);
DECLARE ...
I'm going to be putting all the articles which document my downloadable products. Please bear with me as I collate all your questions and go into more detail
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.