Viewing 15 posts - 706 through 720 (of 8,731 total)
January 31, 2018 at 12:10 pm
This might be obvious, but have you checked that it's not blocked by an open transaction?
It happened to me once.
January 31, 2018 at 12:04 pm
January 31, 2018 at 10:33 am
January 31, 2018 at 10:06 am
I have a simple SSIS package with a Source and Destination. The Source...
January 31, 2018 at 8:58 am
And yet another option:
WITH CTE AS(
SELECT *,
LAG(cs.Value1) OVER(PARTITION BY cs.DuplicatingValue ORDER BY cs.Value1 ) prev_Value1
FROM dbo.CentralSample AS cs
January 31, 2018 at 8:15 am
Here's a different option that might be better, but you should still test for performance.
WITH CTE AS(
SELECT *,
ROW_NUMBER() OVER(PARTITION BY...
January 31, 2018 at 8:10 am
I started interacting with Pervasive SQL and it's frustrating. Why do people pay for a product that won't work as well as many other free products that have been well...
January 30, 2018 at 1:16 pm
January 30, 2018 at 9:45 am
Maybe this would make the code easier to read and prevent any SQL injection.
DECLARE @sql NVARCHAR(MAX);
SELECT @sql = N'SELECT DISTINCT
PARSENAME(SchemaName, 1)...
January 25, 2018 at 8:56 pm
cmw 66135 - Thursday, January 25, 2018 7:34 AMThanks Jonathan that was exactly what I was trying to do🙂
For more information on...
January 25, 2018 at 7:57 am
January 24, 2018 at 1:19 pm
Something tells me that you would benefit more by having the clustered index on StartDateTime. I don't see how or why ExecutionID can be relevant to your queries.
January 24, 2018 at 1:03 pm
Why would you create a table, insert rows and then select the new table?
Why can't you simply do a straight select?
January 22, 2018 at 8:46 am
Viewing 15 posts - 706 through 720 (of 8,731 total)