D
Dave
Hi,
Can someone please explain the requirement/advantage of declaring parameters
in a query? For example, these two queries return the same results, so why
declare the parameters?
PARAMETERS [Enter Date] DateTime;
SELECT Orders.CustomerID, Orders.OrderDate, Orders.ShippedDate
FROM Orders
WHERE (((Orders.OrderDate)>[Enter Date]));
SELECT Orders.CustomerID, Orders.OrderDate, Orders.ShippedDate
FROM Orders
WHERE (((Orders.OrderDate)>[Enter Date]));
Thanks for any insight,
Dave
Can someone please explain the requirement/advantage of declaring parameters
in a query? For example, these two queries return the same results, so why
declare the parameters?
PARAMETERS [Enter Date] DateTime;
SELECT Orders.CustomerID, Orders.OrderDate, Orders.ShippedDate
FROM Orders
WHERE (((Orders.OrderDate)>[Enter Date]));
SELECT Orders.CustomerID, Orders.OrderDate, Orders.ShippedDate
FROM Orders
WHERE (((Orders.OrderDate)>[Enter Date]));
Thanks for any insight,
Dave