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 |
|
zion99
Posting Yak Master
141 Posts |
Posted - 2008-11-25 : 11:11:17
|
| Hi All,I need to use identity column in common table expressions (CTE).Is there any way of using auto generated column values in CTE? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-11-25 : 11:23:29
|
| use ROW_NUMBER() function to generate the value. Or use temporary table instead. |
 |
|
|
|
|
|