Bad logic to decode the column name
See original GitHub issue- Create a table with the following definition
CREATE TABLE `test-encoding2` ( `平仮名` varchar(100) CHARACTER SET tis620 NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=tis620
- Insert data
INSERT INTO `test-encoding2` VALUES ('กขค');
-
Set the result charset to null
SET chracter_set_results=NULL;
-
select data
select * from `test-encoding2`;
- it will decode the column name as
'ๅนณไปฎๅ��'
instead of平仮名
as expected
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Case and Decode, Killing sessions - Ask TOM
In what way case is better than decode performance wise, and logic wise. ... Hence i have changed the complete data and column...
Read more >Db2 13 - Application programming and SQL - DSN8EAE1 - IBM
ENCODES AND DECODES COLUMNS OF THE TABLE EMP DRIVEN BY A LIST OF NAMES OF COLUMNS TO BE ENCODED/DECODED .
Read more >DECODE( ) function in SQL Server - Stack Overflow
Create a function in SQL Server as below and replace the DECODE with dbo. ... since you would need it to convert the...
Read more >Database Engine events and errors - SQL Server
109, 15, No, There are more columns in the INSERT statement than values ... Use RESTORE FILELISTONLY to list the logical file names....
Read more >What is the use of DECODE function in SQL? - Edureka
DECODE function in SQL allows us to add procedural if-then-else logic to the query. Learning the various ways to use DECODE, its syntax...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sidorares although the fix is not ready yet as I’m adding more tests, feel free to take a look at the diff.
test-track-encoding test had a couple problems
Let me test this out!