Viewing 15 posts - 6,376 through 6,390 (of 8,731 total)
So there's nothing we can do to help as you can't control the query?
May 30, 2014 at 10:32 am
Using a script task inside a loop you could check if the file exists and end the loop when the file is found to continue with the package execution.
I...
May 30, 2014 at 9:43 am
That's a really weird requirement. I can't see why would you want to do this but here's an option.
WITH ConcValues AS(
SELECT ROW_NUMBER() OVER( ORDER BY Name)...
May 30, 2014 at 9:29 am
At first sight, I though you needed just MAX and MIN, but looking at the expected results I found out that it was a little more complicated.
Here's an option:
WITH CTE...
May 30, 2014 at 8:58 am
You might need to post more information to get good advice. Check the following article to know how to do it.
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
May 30, 2014 at 8:40 am
Another use is to work with parameters that work as arrays contained in strings.
I know that this can be done using table-valued parameters but some might like the splitter option...
May 30, 2014 at 8:22 am
I added that thread to my briefcase because I'm sure it might get handy some time. I use a digital camera for my photographic memory but from time to time...
May 30, 2014 at 8:13 am
Something like this?
CREATE FUNCTION [dbo].[ProperCaseWithNumbers]
(
@StrIn VARCHAR(255)
)
RETURNS TABLE WITH SCHEMABINDING
AS
RETURN
SELECT STUFF(
----Start of first parameter
(SELECT CASE
WHEN split.Item LIKE '%[0-9]%'
THEN ' ' + split.Item
ELSE ' ' + Upper(LEFT(split.Item, 1)) + Lower(Substring(split.Item, 2, 255))
END...
May 29, 2014 at 5:07 pm
SQLRNNR (5/29/2014)
KoldCoffee (5/29/2014)
it's a no good linklink works for me
It might have been a problem with the site. It seems to be intermitence due to maintenance.
May 29, 2014 at 4:36 pm
In other words.
This:
WHERE (dbo.TCDaily.Kind <> 'A02') AND (dbo.TCDaily.Kind <> 'J02') AND (dbo.TCDaily.Kind <> 'J04') AND (dbo.TCDaily.Kind <> 'J06')
Is exactly the same as this:
WHERE NOT( (dbo.TCDaily.Kind = 'A02') OR (dbo.TCDaily.Kind...
May 29, 2014 at 4:14 pm
KoldCoffee (5/29/2014)
May 29, 2014 at 3:47 pm
Sean Lange (5/29/2014)
May 29, 2014 at 3:23 pm
You're welcome.
I hope that you could understand it and learn something new. 😉
May 29, 2014 at 2:16 pm
I'm not in favor of "sprocs" but I prefer them over "store procedures". AFAIK, we're not selling anything.
At work we have DTS that simply call an SP or even better,...
May 29, 2014 at 2:08 pm
You shouldn't compare cost percentages on query plans against 2 different queries. They are just estimates and can lead to wrong assumptions.
Run your queries against a large number of rows,...
May 29, 2014 at 1:58 pm
Viewing 15 posts - 6,376 through 6,390 (of 8,731 total)