Posts by Joao Araujo • 46 points
2 posts
-
2
votes2
answers100
viewsA: Dynamic TSQL for multiple returns
The way to use parameters with sp_executeSQL() is really not very intuitive, it is better to even read the microsoft page itself on the subject: sp_executesql (Transact-SQL) Here is the solution:…
-
1
votes1
answer271
viewsA: Remove fixed-sized part of an xml
This error means the function SUBSTRING is receiving a negative value in the parameter start or in the parameter length. If the desired value appears always between tags <vMerc></vMerc>…