Viewing 15 posts - 916 through 930 (of 5,109 total)
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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,
...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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
...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 14, 2019 at 10:01 am
2019 - 1 = 2018, so what wrong with WHERE sportyear = @year - 1; here?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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.
...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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)...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 7, 2019 at 2:41 pm
I think you've forgotten about the difference between Sample data and Production data, Joe. The OP is clearly using Temporary tables here, not persisted tables, and their attempts should be...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 7, 2019 at 2:38 pm
Viewing 15 posts - 916 through 930 (of 5,109 total)