Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 704488a

Browse files
committed
proper retrieval of unicode characters in inference mode on MSSQL
1 parent a6c2fc7 commit 704488a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xml/queries.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
<timedelay query="WAITFOR DELAY '0:0:%d'"/>
163163
<substring query="SUBSTRING((%s),%d,%d)"/>
164164
<case query="SELECT (CASE WHEN (%s) THEN '1' ELSE '0' END)"/>
165-
<inference query="ASCII(SUBSTRING((%s),%d,1)) > %d"/>
165+
<inference query="UNICODE(SUBSTRING((%s),%d,1)) > %d"/>
166166
<banner query="SELECT @@VERSION"/>
167167
<current_user query="SELECT SYSTEM_USER"/>
168168
<current_db query="SELECT DB_NAME()"/>

0 commit comments

Comments
 (0)