SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On



table_size Expand / Collapse
Author
Message
Posted Friday, May 09, 2008 7:01 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, February 22, 2010 11:03 PM
Points: 14, Visits: 243
hai!
I have to create a table with a fixed number of rows i.e. a table with n number of rows.how to do it?
thanks in advance,
srikanth
Post #497829
Posted Friday, May 09, 2008 7:08 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 12:46 AM
Points: 1,754, Visits: 2,960
Looks like another use for the 'tally' table...

http://www.sqlservercentral.com/articles/TSQL/62867/



Ryan Randall

Solutions are easy. Understanding the problem, now, that's the hard part.
Post #497836
Posted Friday, May 09, 2008 9:40 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: Administrators
Last Login: Yesterday @ 6:28 PM
Points: 23,078, Visits: 6,868
Maybe you could give us more details about what this is?
Post #498012
Posted Friday, May 09, 2008 6:19 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 12:28 AM
Points: 20,073, Visits: 13,635
RyanRandall (5/9/2008)
Looks like another use for the 'tally' table...

http://www.sqlservercentral.com/articles/TSQL/62867/


Spot on... :P


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

For better, quicker answers, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #498299
« Prev Topic | Next Topic »


Permissions Expand / Collapse