Skip to content

Get rid of ugly warning message in fingerprinting phase of -d #212

Description

@stamparm

Get rid of (e.g.) warning message for SYSDATETIME in the following excerpt:

[15:03:59] [INFO] testing Microsoft SQL Server
[15:03:59] [INFO] confirming Microsoft SQL Server
[15:03:59] [WARNING] (remote) (195, "'SYSDATETIME' is not a recognized built-in function name.DB-Lib error message 195, severity 15:\nGeneral SQL Server error: Check messages from the SQL Server\n")
[15:03:59] [INFO] the back-end DBMS is Microsoft SQL Server
[15:03:59] [INFO] fetching banner
back-end DBMS operating system: Windows XP Service Pack 2
back-end DBMS: Microsoft SQL Server 2005
banner:

---
Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) 
    Oct 14 2005 00:33:37 
    Copyright (c) 1988-2005 Microsoft Corporation
    Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)

---

SYSDATETIME is available only from 2008 onwards and from banner it's visible that it should not be supported (hence the ugly and confusing message). So there is nothing strange in the warning message, but we should get rid of it to not confuse users

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions