CREATE TABLE #Temp (PrimaryKey Int,Field Char(50),Value Char(8))...and populate the values like this:
INSERT INTO #Temp (PrimaryKey,Field,Value) VALUES (1,'CustomerFirstName','Michel Fournier')I could then use an update syntax with inner join to update the main table in one command. The problem here seems to be related to 10000 updates commands in one command. This is not any faster. But, if I can have only one update, with inner join usage, I believe this should be faster.
CREATE TABLE #Temp (PrimaryKey Int,Field Char(50),ValueCharacter Char(8),ValueInteger Int,ValueBoolean Bit,ValueDouble Numeric(7,3))...and make some kind of fancy one and only update that would be able to negotiate with that.