Hi,
I’ve just moved to a new job and it seems I’ll be using Access a lot more than I’d like to (we don’t have SQL Server licenses at the moment).
So I was just wondering if you had a few neat tips for coding using the SQL View.
First off: there is no way to comment a query, right?
Secondly: how do you indent your query? Tabs don’t seem to work. I tried using ten spaces to substitute them, but Access seems to remove the spaces when I close and reopen the query.
Third: is there any way to prevent Access from replacing brackets “( )” with square brackets “[ ]”? I don’t quite remember now, but I guess when the query contained a subquery in the form:
Select *
from (subquery) as subqueryname;
on query save and close Access would keep:
Select *
from [subquery] as subqueryname;
or something.
Fourth: any other suggestions?
I hadn’t polished these aspects yet as I had rather occasional need to use Access SQL, but now the time has come when coding more properly will make my life happier.
Thank you all in advance