Occasionally, I have to work with FireBird and Interbase databases. Recently, I needed to find and select all nested elements of a tree. In my case, I had to delete all nested groups of the tree when deleting the parent group and later organize the search for all nested elements.
I've been interested in this question for a long time! How can I do it? Insert multiple rows into a table with one query. The thing is that in the InterBase DBMS, unlike many other DBMS, a query of the type:
Often I need to interact with various applications written in .NET with FireBird and InterBase databases. Therefore, I decided to write an example for memory, so that next time I don't have to search through my own sources, but quickly look here. Maybe someone else will also find it useful.