New implementation of how to get YourSqlDba database paths, to create/recreate it on upgrade. This is because default data and log location in SQL Server register can be invalid sometimes. Instead on relying on it a crafted a query that choose in order actual YourSqlDba paths if it exists, most used paths for non system databases, or system databases paths. Interesting way to express a business rule in a functional programming style.
New implementation of how to get YourSqlDba database paths, to create/recreate it on upgrade. This is because default data and log location in SQL Server register can be invalid sometimes. Instead on relying on it a crafted a query that choose in order actual YourSqlDba paths if it exists, most used paths for non system databases, or system databases paths. Interesting way to express a business rule in a functional programming style.
pelsql/YourSqlDba,pelsql/YourSqlDba