I am trying to make a Regex to backup only the latest DB in SQL. Unfortunately, it is not possible to make a selection based on the date of the file because SQL works with all DBs and the date changes. Therefore, attributes cannot be used either.
How to write an expression to filter the year, preferably the month, in the directory name? Can an expression be inserted into a regular expression? year, month etc?
SQL creates the DB names itself and I have no way to influence them.
List of DBs in attachment / image
Thanks in advance for the idea.
How to write an expression to filter the year, preferably the month, in the directory name? Can an expression be inserted into a regular expression? year, month etc?
SQL creates the DB names itself and I have no way to influence them.
List of DBs in attachment / image
Thanks in advance for the idea.
Statistics: Posted by PetGot — 25 Nov 2023, 13:21