Skip to content
Advertisement

What does the following SQL query do?

The drawing logs at that the company I work for use are written in MS Access VBA. The original code was written 15+ years ago by someone else, and we’re now running into errors with the reporting functionality that we can’t find a solution for.

The query I’m having an issue with is the following:

Does anyone know what the notation [For Report - Group Revision] means in a SQL query?

Advertisement

Answer

Square brackets are used for quoting entity names. Standard SQL uses ".

In this context, [For Report - Group Revision] being to the left of the period refers to a table or table-like object such as a view, report or other data source.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement