-1

We have inserted more than 100000 records through Import flat file functionality in sql server management studio. It was inserted successfully. But some of column values contained characters like é and ö . It got converted into while storing in sql column for all above characters like(ö,é).

Moreover the below SQL statements is not giving any results.

select * from Temp where column1 like '%%' 

The data with these characters in the tables are being displayed with a symbol(question mark in a diamond).

Please help as to how can I insert the data keeping the phoentic symobols intact.

ssuhas76
  • 83
  • 1
  • 12

3 Answers3

1

Your data contains some characters like é and ö. But when you see in the database, it's stored "?" instead of that, right?

I think, your database does not support all characters. I would recommend to change it to something like this:

character set: utf8
collation: utf8_general_ci

Hope to help, my friend :))

Tomato32
  • 2,145
  • 1
  • 10
  • 10
0

character set: utf8 collation: utf8_general_ci

ssuhas76
  • 83
  • 1
  • 12
-1

SELECT 
 * 
FROM TEMP 
WHERE SOUNDEX(COLUMN1) LIKE SOUNDEX('A')

strong text