Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sachinsamuel
Constraint Violating Yak Guru
383 Posts |
Posted - 2007-06-27 : 02:32:29
|
Hi All,Is there any way to generate 1 to n sequence number in a single select query?I mean Result------------123456....nThanks in advanceRegardsSachinDon't sit back because of failure. It will come back to check if you still available. -- Binu |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2007-06-27 : 02:36:02
|
Use F_table_Number_Range() function in this thread: [url]http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=67876&SearchTerms=F_Table_number[/url]Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-06-27 : 04:09:23
|
However, the actual answer depends on "Where do you want to show data?"MadhivananFailing to plan is Planning to fail |
|
|
|
|
|