Viewing 8 posts - 1 through 9 (of 9 total)
Yes it does,
CREATE TABLE [dbo].[Tally](
[N] [int] IDENTITY(1,1) NOT NULL,
CONSTRAINT [PK_Tally_N] PRIMARY KEY CLUSTERED
(
[N] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS =...
June 26, 2008 at 7:04 pm
Interesting, Thanks for your help on this, much appreciated.
June 26, 2008 at 5:51 pm
OK, this works...
createFUNCTION [dbo].[FN_SplitCommaInClause]
(
@ItemList NVARCHAR(4000),
@delimiter CHAR(1))
Returns TABLE
AS
RETURN
...
June 26, 2008 at 3:38 pm
The first split function returned both an index and value. What is the best way of incorporating this into the second cte function?
June 26, 2008 at 3:28 pm
Wow, the split function above made a huge difference. It's really fast now. I've attached the query plan for comparison. I ran sp_who2 and i didn'tget any spid repeating.... Do...
June 26, 2008 at 2:59 pm
ALTER FUNCTION [dbo].[FN_SplitCommaInClause]
(
@ItemList NVARCHAR(4000),
@delimiter CHAR(1)
...
June 25, 2008 at 8:09 pm
here are the 32 vs 64 bit plans for the same query
June 25, 2008 at 5:14 pm
Extra info - 32 bit machine is a dual core (3gb ram), 64 bit is a quad core (12gb ram)
June 25, 2008 at 4:45 pm
Viewing 8 posts - 1 through 9 (of 9 total)