M
MC
Hello,
I am building a query in access 2000, using sql view. In the process
I have realized that the sql statements here are much different then in a sql
server environment.
How can I use variables for e.g SQL SERVER CODE: DECLARE @weeknum INTEGER ??
How to use conditional statements like "if then else"
when I do both of these i get an error saying only "select", "insert" etc
are permitted. I cannot use it as a parameter to the query either,because I
need to compute it in the query.
Thanks,
MC
I am building a query in access 2000, using sql view. In the process
I have realized that the sql statements here are much different then in a sql
server environment.
How can I use variables for e.g SQL SERVER CODE: DECLARE @weeknum INTEGER ??
How to use conditional statements like "if then else"
when I do both of these i get an error saying only "select", "insert" etc
are permitted. I cannot use it as a parameter to the query either,because I
need to compute it in the query.
Thanks,
MC