Viewing 15 posts - 2,566 through 2,580 (of 13,853 total)
One final tip: best practice is to qualify all of your object names with their schema names.
June 24, 2020 at 12:52 pm
Another tip for future posts – for improved readability, please use code blocks when posting code:
CREATE PROCEDURE uspReturnEmployees @departmentName VARCHAR(50) = NULL
AS
SET NOCOUNT ON;
SELECT employeeNo
...
June 24, 2020 at 12:50 pm
Thank you! We do all of our deployments via SSISB catalog (that's why I asked the question). I thought this was now the Microsoft-recommended way of doing things. We...
June 23, 2020 at 11:25 pm
Thank you for the article and sharing your code and research. While working on it, have you encountered solutions, which do similar things for the packages stored in SSISDB? ...
June 23, 2020 at 10:56 pm
Brian, thanks for the vote of confidence.
Despite obviously having the desire to suggest that the OP consider purchasing from Nike's latest product line, instead I suggested that adding 'DevOps' to...
June 23, 2020 at 5:45 pm
While I appreciate your sentiment, and I of course already did that, I thought I'd approach our community to see what others felt was important, not just some regurgitated...
June 23, 2020 at 4:48 pm
DevOps would be another area I'd suggest.
June 23, 2020 at 3:50 pm
Try this:
SELECT name = T.c.value('(*:name)[1]', 'varchar (500)')
FROM @xml.nodes('/*:kml/*:Document') T(c); June 23, 2020 at 1:33 pm
I updated the question details and provided the sample data.
If I cut and paste from your answer into SSMS, I get syntax errors. I see no DDL or DML....
June 20, 2020 at 10:17 pm
If you would like a coded solution, please provide sample table structure DDL, sample data in the form of INSERT statements for your sample table, and desired results based on...
June 20, 2020 at 3:33 pm
Wouldn't you think that as well?
Yes, 100%. Makes your package cleaner too, if you'll pardon the expression. I hate complex SSIS packages (especially those inherited from some other 'one package...
June 19, 2020 at 5:25 pm
For anything beyond a simple
SELECT Col1, Col2 FROM Tab1
I use a stored proc. I want as much SQL logic as is practical to be kept within the database, as this...
June 19, 2020 at 4:25 pm
Yes, I would expect a single, optimised, trigger to perform better. The best way to confirm this, of course, is to make the changes in a test environment and check...
June 19, 2020 at 2:00 pm
Your CREATE PROC needs work too – it needs to assign the variable @XML.
June 18, 2020 at 10:44 pm
Just noticed your syntax. This should get you closer:
DECLARE @xml XML;
DECLARE @account INT = 1;
EXEC dbo.localprocedure @account, @xml OUT;
SELECT @xml;
June 18, 2020 at 10:40 pm
Viewing 15 posts - 2,566 through 2,580 (of 13,853 total)