Click here to Skip to main content
15,894,410 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi ,

I have doubt in SQL.
Table having only one row (one Record). but I want to display 100 rows - (100 duplicate records) using select query .
Please give any idea ?????

SQL
SELECT * FROM empdet


id   NAME  age 

1    vino  24



but I want

SQL
id name age 

1    vino  24
1    vino  24
1    vino  24
1    vino  24
...............


100 times pls help me ..
Posted
Updated 10-Apr-13 18:38pm
v2

1 solution

Hi,

Refer below link(Please check 'LutzM' reply)

How to create duplicate records in a table without using cursors [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900