Add the following DekiScript snippet to a page {{ sql.table("SELECT CustomerID FROM Sales.Individual") }}
Save the page and a result set should appear.
Testing Access
Copy the test Access database to a location accessible by the server (hereon referred to as ABSOLUTE-ACCESSDB-FILE-LOCATION). Make sure that the folder that the database resides in has sufficient rights to allow the lock file to be created; if not, you will receive a "Could not create lock file" when you attempt to use the DekiScript.
Add the following DekiScript snippet to a page. {{ access.recordlist('SELECT DISTINCTROW Categories.CategoryID, Categories.CategoryName, Sum([Order Details Extended].ExtendedPrice) AS Sales FROM Categories INNER JOIN (Products INNER JOIN (Orders INNER JOIN [Order Details Extended] ON Orders.OrderID = [Order Details Extended].OrderID) ON Products.ProductID = [Order Details Extended].ProductID) ON Categories.CategoryID = Products.CategoryID WHERE (((Orders.OrderDate) Between #1/1/95# And #12/31/95#)) GROUP BY Categories.CategoryID, Categories.CategoryName ORDER BY Categories.CategoryName;') }}