Viewing 15 posts - 1,486 through 1,500 (of 8,731 total)
March 10, 2017 at 12:29 pm
I believe that you're looking for functionality given by precedence constraints. These are the arrows that define the order of the tasks (you can double click on them).
March 10, 2017 at 8:39 am
sergehermane - Thursday, March 9, 2017 9:10 PMI already did this but i got stucked in the middle
please help
Why did...
March 10, 2017 at 8:27 am
March 10, 2017 at 7:44 am
March 9, 2017 at 12:30 pm
Something like this?
I included an option with an inline table-valued function and one direct option. The function won't have a performance impact.
CREATE FUNCTION dbo.YearsDifference(...
March 9, 2017 at 10:12 am
Here's an option. Make sure that you understand this and ask any questions that you might have. You can find the code for the function in this article.
March 9, 2017 at 9:02 am
This works for your sample data. Make sure it works for more data and different scenarios.
The CROSS APPLY is there to prevent repeating the same condition several times.
March 9, 2017 at 7:11 am
The suggestion about AdventureWorks was to help you design your database. Currently, your problem is on the design, not the code.
March 8, 2017 at 11:21 am
NineIron - Tuesday, March 7, 2017 12:22 PMWhat is the best way to parse out 'CM.INIT' from 'F0-B20170225131636437{A^CM.INIT}'?
Can you explain the rules?
March 7, 2017 at 12:32 pm
March 7, 2017 at 12:10 pm
This might help: https://www.sqlservercentral.com/Forums/Topic751783-566-1.aspx
March 7, 2017 at 11:19 am
What I mean is that the usage of an index is only possible when you search for the beginning of a string. Check some examples in here: http://www.sqlservercentral.com/articles/T-SQL/130558/...
March 7, 2017 at 9:19 am
No index will help for this. You'll probably want to search inside the strings, so that would make the queries non-SARGable. Full Text Search would work great for the CompleteDescription...
March 7, 2017 at 8:18 am
I'd prefer if you stay out of dynamic SQL for this. Here's another option.SELECT CASE MONTH(GETDATE())
WHEN 1 THEN JanTarget
WHEN 2 THEN...
March 7, 2017 at 6:19 am
Viewing 15 posts - 1,486 through 1,500 (of 8,731 total)