|
|
|
|
|
by slt2021
2080 days ago
|
|
usually there is a system table with a ton of metadata that will for sure contain few thousand rows, so generating a million rows for SQL Server is simply: select top 1000000 ROW_NUMBER()
from sys.objects a, sys.objects b or you can use INFORMATION_SCHEMA which is more portable across different RDBMS engines |
|
Much more performant and naturally relational way of generating data than looping recursively.