However, as mentioned above they cannot be used to join a table valued function with a table.
Sin embargo, como se mencionó anteriormente, las mismas no se pueden usar para unir una función tabulada con una tabla.
Let's first write a simple table valued function that accepts author id as parameter and returns all the books written by that author. Execute the following script
Primero, escriba una función simple con valores de tabla que acepte la identificación del autor como los mismos parámetros y devuelva todos los libros escritos por ese autor.
On the other hand, OUTER APPLY retrieves all the records from both the table valued function and the table, irrespective of the match.
Por otro lado, OUTER APPLY es una opción que recupera todos los registros tanto de la función con valor de tabla como de la tabla, independientemente de la coincidencia.
In this article, we studied what the CROSS APPLY and OUTER APPLY functions are, and how they can be used to perform join operations between a physical table and table valued function.
Vale la pena mencionar que, en este artículo, estudiamos cuáles son las funciones CROSS APPLY y OUTER APPLY, y cómo las mismas se pueden usar para realizar operaciones de unión entre una tabla física y una con los valores de una función ya tabulada.
CROSS APPLY returns only those records from a physical table where there are matching rows in the output of the table valued function. Joining table and table valued functions using OUTER APPLY
Por ello la APLICACIÓN CRUZADA devuelve solo aquellos registros de una tabla física en la misma que se encuentra donde hay filas coincidentes en la salida de la función con valores de la tabla.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "table valued function" en anglais