Viewing 15 posts - 5,221 through 5,235 (of 13,877 total)
I am sure that your long post will be informative for others.
I have some comments.
I'm wondering if these variables could be at the project level for easier...
August 30, 2017 at 6:43 am
August 30, 2017 at 5:39 am
It looks like my issue is that there...
August 29, 2017 at 10:48 am
Not that I know of. Searching for FROM won't find JOINed tables, by the way.
Formatting your query better would make things a lot clearer:
1) Remove quotes
2) Use...
August 29, 2017 at 5:42 am
You're going to have to search the install log for errors. Without more info, this is impossible to diagnose at a distance.
August 29, 2017 at 5:09 am
If your source and destination tables are both on the same machine (which your initial post suggests), it would probably be a better idea to write a stored proc to...
August 28, 2017 at 11:10 am
August 28, 2017 at 8:08 am
If quantities get to 100 or more, you are likely to blow your max recursion limit & will need to use a different technique.
August 25, 2017 at 2:12 pm
August 25, 2017 at 12:49 pm
Some additional advice.
Add SET NOCOUNT ON.
I suggest you use DATE datatypes rather than DATETIME.
Use a temp table rather than a table variable – they usually perform better.
August 25, 2017 at 11:40 am
August 25, 2017 at 7:59 am
WITH summed
AS
(
SELECT
td.Chunk
, NewChunk = SUM(IIF(td.LineNum = 1, 1, 0)) OVER (ORDER BY td.recid
ROWS UNBOUNDED PRECEDING
)
FROM #tempData td
August 25, 2017 at 7:21 am
August 24, 2017 at 2:12 pm
August 24, 2017 at 2:10 pm
Viewing 15 posts - 5,221 through 5,235 (of 13,877 total)