Feb 4, 2010 #1 pandatime Programmer Jan 29, 2010 92 AU Does BCP load in flat file row order?? Need to know... thanks much
Feb 7, 2010 1 #2 mrdenny Programmer May 27, 2002 11,595 Yes it puts the rows into the database in the same order that they are in the flat file. Now SQL may not store them in that physical order, but that's the order that BCP will send them to the database engine. Denny MVP MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration) MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI) My Blog Upvote 0 Downvote
Yes it puts the rows into the database in the same order that they are in the flat file. Now SQL may not store them in that physical order, but that's the order that BCP will send them to the database engine. Denny MVP MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration) MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI) My Blog
Feb 19, 2010 Thread starter #3 pandatime Programmer Jan 29, 2010 92 AU Ok. I did some reading after this post and bcp also has an "order" clause I guess I could use this to be extra sure. Upvote 0 Downvote
Ok. I did some reading after this post and bcp also has an "order" clause I guess I could use this to be extra sure.