I have a SQL script that quickly generates grid line features, for testing purposes, using whatever grid dimensions I need: Generate SDO_GEOMETRY grid using SQL.
- The result is a spatial view (can be easily exported as a feature class).
- I'm aware that there are GP tools that can generate grids too. But for my use case, I like this SQL option.
- The lines are split at the intersections. So this 10x10 grid has 220 lines:

Question:
Is there a way to convert the grid lines to polygons? (i.e. a polygon for each grid cell)
I tried creating a polygon envelope FC and then I looked for a GP tool that could split the polygon via multiple lines. But I haven't found a GP tool that can do that yet.
Advanced license: ArcGIS Pro 2.6.8 and ArcMap 10.7.1. Oracle 18c EGDB.