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

Skip to content

Commit 3483fd4

Browse files
committed
MAX not supported by MSSQL < 2005
1 parent 8abd014 commit 3483fd4

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
@@ -154,7 +154,7 @@
154154
<substring query="SUBSTRING((%s),%d,%d)"/>
155155
<concatenate query="%s+%s"/>
156156
<case query="SELECT (CASE WHEN (%s) THEN '1' ELSE '0' END)"/>
157-
<hex query="master.sys.fn_varbintohexstr(CAST(%s AS VARBINARY(MAX)))"/>
157+
<hex query="master.sys.fn_varbintohexstr(CAST(%s AS VARBINARY(8000)))"/>
158158
<inference query="UNICODE(SUBSTRING((%s),%d,1))>%d"/>
159159
<banner query="SELECT @@VERSION"/>
160160
<current_user query="SELECT SYSTEM_USER"/>

0 commit comments

Comments
 (0)