Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » MSSQL » MSSQL_Query_Deprecated

MSSQL_Query_Deprecated


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sends a query to the database.

Syntax

void avl::MSSQL_Query_Deprecated
(
	MSSQL_State& ioState,
	atl::Optional<const atl::String&> inConnectionString,
	const atl::String& inQuery,
	bool inIncludeColumnTitles,
	atl::Array<atl::Array<atl::String>>& outData
)

Parameters

Name Type Default Description
Input will be modified ioState MSSQL_State& Object used to maintain state of the function.
Input value inConnectionString Optional<const String&> NIL Connection string.
Input value inQuery const String& SQL Query.
Input value inIncludeColumnTitles bool False Whether or not to include column names in the output data.
Output value outData Array<Array<String>>& Data read as strings.