Skip to content

Filtering records when a particular event occurs

I have the following dataset that lists payments made onto an account, the type of payment (either a regular payment, interest payment or additional payment) and the date of the payments. ID | …

Generate numbers 1 to 1000000 in MS Access using SQL

I am looking for a simple clean method to obtain the sequence {1, 2, 3, 4, 5, 6, 7,…,1000000} in MS Access SQL. I thought of creating a table with a column that numbers from 1 to 100000 however, this is inefficient. Is there a way of generating numbers 1 to 10000000 in MS Access using SQL? I tried the

Using REGEXP_CONTAINS with a list of substrings

I want to know if its possible to use REGEXP_CONTAINS with a list of substrings from a column in another table. Essentially I will have one table containing a list of substrings that I want to check against and I am using those substrings against the whole set of table names in a dataset. Below is the closest…