c# - Alternative to Load Data Inline -


i've been trying speed way customer records added c#/mysql application i've put together. application relies heavily on arrays of 2 dimensional strings (string[,]) , point i've built customized functions produce insert statements , handle them in groups of forty or time (separated semicolons). discovered load data infile command , lot simpler, lot faster, , can use replace password set whether update existing records or not. export arrays csv file , upload them appropriate tables using load data infile. however, seems awfully mettlesome , have believe there way either tweak load data inline or use different command works use either upload 2 dimensional array or formatted string printout of array without having export file.

thanks in advance!

generate xml blob, have sql server parse xml using xquery can bulk load data. simpler load data infile.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -