| Query to repeat rows N times as per the column Value in SQL Server?
To Repeat Rows n times according to column value we will write some query. To understand this first we will create a table as per below given.
Output of above query is given below:-
Now we will write below query to get the row repeated.
Now the final output as per the row repeated.
| | |