That is my code DB::statement(DB::raw('EXECUTE dbo.SP_WS_CUST_MAIN ?,?,?,?,?,?,?'), [$USER_ID, $CUST_PYMT_MTHD, $CUST_CMMNT, $CUST_NAME, $ANDROID_LOCATION, DB::raw("CONVERT(VARBINARY(MAX), $value)") , $WEEKDAY]); How can Convert nvarchar(max) to varbinary(max) ?
via user3902364