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

Skip to content

Commit a3f9741

Browse files
committed
Fixed unneeded trimming in --hex for MsSQL
1 parent 6c1ec9b commit a3f9741

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
@@ -166,7 +166,7 @@
166166
<timedelay query="WAITFOR DELAY '0:0:%d'"/>
167167
<substring query="SUBSTRING((%s),%d,%d)"/>
168168
<case query="SELECT (CASE WHEN (%s) THEN '1' ELSE '0' END)"/>
169-
<hex query="master.sys.fn_varbintohexstr(CAST(%s AS VARBINARY))"/>
169+
<hex query="master.sys.fn_varbintohexstr(CAST(%s AS VARBINARY(MAX)))"/>
170170
<inference query="UNICODE(SUBSTRING((%s),%d,1)) > %d"/>
171171
<banner query="SELECT @@VERSION"/>
172172
<current_user query="SELECT SYSTEM_USER"/>

0 commit comments

Comments
 (0)