Viewing 15 posts - 916 through 930 (of 5,111 total)
You'll need to add the value of the variable first as a column, using a Derived Column Transformation (Like I showed in your other topic). Then, instead of the...
June 18, 2019 at 11:03 am
Wouldn't this logic be easier to implement into the application, rather than SQL Server? Otherwise you're going to need to (likely) rely on triggers, which shouldn't be used to send...
June 18, 2019 at 9:41 am
I agree with Phil, I don't believe you can either. This sounds like an XY problem here. If all these tasks are reliant on others, then the control flow should...
June 14, 2019 at 3:00 pm
I tried it and got Invalid column name 'DueDate'.
Use a CTE then:
WITH CTE AS
(SELECT D.MStockCode AS StockCode,
...
June 14, 2019 at 1:02 pm
Maybe, at a total guess, have an ORDER BY of:
ORDER BY CASE DueDate WHEN 'PAST' THEN 1
...
June 14, 2019 at 12:34 pm
What do you mean it didn't work? At a guess, if you defined the column as timestamp(which by the way is deprecated, you should be using rowversion instead), you should...
June 14, 2019 at 11:40 am
Do you mean you're generating Dynamic SQL? Where is this variable you are wanting to "store" the dynamic SQL in, SSIS or SQL Server (if the latter, then surely you...
June 14, 2019 at 10:01 am
2019 - 1 = 2018, so what wrong with WHERE sportyear = @year - 1; here?
June 14, 2019 at 8:06 am
"From the configuration manager I can still see SQL server and Agent is showing online" SSMS doesn't appear in the configuration manager; it's a completely different tool. SSMS will never...
June 12, 2019 at 11:31 am
Bad news, Chaps. The Queen now has to pay for her "stories." https://www.bbc.com/news/entertainment-arts-48583487 EDIT: This was meant humorously, BTW.
She might be claiming Pension Credits though; she'll continue to get...
June 10, 2019 at 3:47 pm
Okay, this is really really weird. When I submit a reply (from the open form at the end of the page), the thread bounces me back to the...
June 10, 2019 at 3:34 pm
As @Taps said, you'll find the packages under Integration Services Catalogs when you connect to the Data Engine. Like you see in the below where I can a few packages...
June 10, 2019 at 12:38 pm
Blargh, has something been feeding the Troll again? I really wish they wouldn't degrade the users so much when they've made such a well formatted post.
...
June 7, 2019 at 3:42 pm
I have been doing this for over 30 years.
So does this mean the system I use at the office is exempt as it was designed (and is still running)...
June 7, 2019 at 3:32 pm
Blargh, has something been feeding the Troll again? I really wish they wouldn't degrade the users so much when they've made such a well formatted post.
June 7, 2019 at 2:41 pm
Viewing 15 posts - 916 through 930 (of 5,111 total)