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) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -