sql server - Which performance is best (Table type or XML) to Pass as Parameter in to SQL function -


I have to give data in a SQL function that is on the other DB. The data is more than 10000 at a time. So what is the best practice / performance to pass data in the SQL function?

  1. BY XML
  2. From the tablet type.

    Please advise me because it is necessary. I need the best performance, if possible, give me benchmarks or even examples.

    Thanks in advance. Table-valued criteria are usually fast, mainly because there is no need to open them on the server side.

    it occurs. Make sure you take the time to pack data-client-side.

    Here is an article to compare the various methods of sending data to the SEL server:



Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -