|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Most efficient way to transfer OdbcDataReader to sql serverI havent seen anyway to transfer the data over to sql server in a graceful
way. I have to generate sql statements dynamically or loop through each record and call a stored procedure. Is there a more efficient/bulk way of moving the data? PS: Assume I cannot use DTS and the ODBC connection must be established dynamically, meaning I cant create a DSN. -- Craig Lucas President ByDesign Software, Inc phone: (954) 605 - 1674 Hi,
If you are using vs 2005 take a look at the sqlbulkcopy. http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopy.aspx Ken ----------------- Show quoteHide quote "Craig Lucas" <craiglu***@bellsouth.net> wrote in message news:kTMcg.24245$qd2.1841@bignews6.bellsouth.net... >I havent seen anyway to transfer the data over to sql server in a graceful >way. I have to generate sql statements dynamically or loop through each >record and call a stored procedure. Is there a more efficient/bulk way of >moving the data? > > PS: Assume I cannot use DTS and the ODBC connection must be established > dynamically, meaning I cant create a DSN. > > -- > Craig Lucas > President > ByDesign Software, Inc > phone: (954) 605 - 1674 >
DataRelation vs DataView.RowFilter property
Creating a "Back" button in VB.Net/ASP.Net Postmessage API Can't get true random numbers Wierd .NET Debugging behavior... Referencing Images... application.exit( ) Don't know how to pass data from form to module .Net Mail and hotmail question vb compile issue |
|||||||||||||||||||||||