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.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 multple files with sequential number

Author  Topic 

basicconfiguration
Constraint Violating Yak Guru

358 Posts

Posted - 2010-05-06 : 04:28:49
I like to generate sequential incremental files out of top 5 firstname column.
daniel_1
joe_2
marcus_3
mia_4
esther_5
and so on...

how can i accomplish this?

vijayisonly
Master Smack Fu Yak Hacker

1836 Posts

Posted - 2010-05-06 : 10:08:30
Can you explain it a little more. What does a sequential incremental file mean? What should be sequentially incremented?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-05-06 : 13:34:37
and why 6 after 4?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

basicconfiguration
Constraint Violating Yak Guru

358 Posts

Posted - 2010-05-07 : 01:12:00
sorry it's 5
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-05-07 : 14:51:28
use row_number. but how do you define you sequence? based on which column?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

basicconfiguration
Constraint Violating Yak Guru

358 Posts

Posted - 2010-05-08 : 01:46:07
the columns are in alphabetical order.
Go to Top of Page
   

- Advertisement -