|
WITH RESULT SETS option
On the following example the execution of the stored procedure uspGetBillOfMaterials returns the ProductAssemblyID and the ComponentID fields as "int" and we are overriding the data type of those fields to "nvarchar(20)". We changed also the data types of TotalQuantity and StandardCost fields from "money" data type to "nvarchar(50)". Finally, we changed BOMLevel and RecursionLevel fields from "int" data type to "char(1)" data type.
Take in consideration that WITH RESULT SETS is not supported with INSERT ... EXEC. INSERT ExampleTable (...) |
.Send mail to
webmaster@sqlcoffee.com with
questions or comments about this web site.
|