Viewing 15 posts - 1,096 through 1,110 (of 13,838 total)
Something like this, I think:
DECLARE
@Route VARCHAR(50)
, @USRoute VARCHAR(50);
SELECT
@Route = 'x'
, @USRoute = '';
SELECT...
October 13, 2022 at 7:48 am
That's useful functionality, for sure. I think you should have mentioned somewhere that this is third-party software available at a price, not something which comes with the product.
October 12, 2022 at 4:15 pm
OK, that's an example of the source data. Based on that, what do you want to see? I do not see any 'subgroups' in this example.
October 12, 2022 at 3:17 pm
We have to insert the records for each student key based on type and sub type. but in select we have to use id as with type HOLL and...
October 12, 2022 at 3:14 pm
Does this utility also transfer environment references and variable mappings?
October 12, 2022 at 7:52 am
The content of SSIS packages is encrypted during deployment, so you can't retrieve that. But you can query catalog.packages to see which packages have been deployed. What are you trying...
October 11, 2022 at 10:13 am
Try using the LocDocAmt only...that's the only column that matters. Also, LocDocAmt has negative amounts. The other amount columns will throw off the results in different examples.
How about you...
October 10, 2022 at 4:23 pm
Another maybe:
DECLARE @RunDateYr INT;
--SET @RunDateYr = YEAR(GETDATE()) * 100;
--SET @RunDateYr = YEAR('20221010') * 100;
--SET @RunDateYr = YEAR('20231010') * 100;
SET @RunDateYr = YEAR('20241010') * 100;
DECLARE @RangeStart INT
...
October 10, 2022 at 1:05 pm
That looks like the SSMS toolbar. I am talking about the toolbar which is displayed when you create a post here:
October 10, 2022 at 7:44 am
I have a query that returns 9 rows of data. I want to remove the rows that cancel each other out by the amt column. See current results below...
October 10, 2022 at 7:35 am
Hi Frederico,
Thank you so much for your answer. I got a couple of questions before my code, if this ok with you. The first and the second CASE are...
October 10, 2022 at 7:30 am
If you have Jeff Moden's infamous dbo.DelimitedSplit8K splitter function installed (link), this becomes fairly straightforward:
DROP TABLE IF EXISTS #SomeText;
CREATE TABLE #SomeText
(
Name VARCHAR(500)...
October 8, 2022 at 8:53 am
Does your table have any keys or indexes?
October 7, 2022 at 3:17 pm
Viewing 15 posts - 1,096 through 1,110 (of 13,838 total)