Viewing 15 posts - 30,436 through 30,450 (of 59,101 total)
I used a different splitter than you did. Please see the following article for a splitter that's a wee bit more efficient than the XML splitter you used (code...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 7, 2012 at 12:52 pm
Dang. Sorry Lutz. My bad. I had opened this thread last night and forgot to "refresh" before posting so I never saw your post until just now.
At...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 7, 2012 at 12:35 pm
ssurekha2000 (4/7/2012)
1-AB-XY
2-OP-AB
1-AB-XY
1-MN-ZZ-AB
1-OP-AB
2-AB-XY
1-MN-ZZ-AB
1-OP-AB
1-MN-ZZ-AB
i need to get the count of individual category with the id
i mean in row...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 7, 2012 at 11:31 am
winston Smith (4/6/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 7, 2012 at 8:18 am
winston Smith (4/6/2012)
Note I cannot use profiler on this server.
Why's that?
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 10:03 pm
Again, apologies for the delay. This is one of the ways you can do it in T-SQL only. The formula isn't quite as pretty as the REGEX example...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 7:17 pm
capn.hector (4/6/2012)
Jeff Moden (4/6/2012)
capn.hector (4/5/2012)
Jeff Moden (4/5/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 5:19 pm
capn.hector (4/5/2012)
Jeff Moden (4/5/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 4:31 pm
sharky (4/6/2012)
Thanks for the UPPER fix.
I have created the table using a clustered index with 50 rows
--
SELECT TOP 50 IDENTITY(INT,1,1) AS N
INTO dbo.Tally
FROM Master.dbo.SysColumns
ALTER TABLE dbo.Tally ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 2:17 pm
capn.hector (4/6/2012)
sharky (4/6/2012)
Thanks for the UPPER fix.
I have created the table using a clustered index with 50 rows
--
SELECT TOP 50 IDENTITY(INT,1,1) AS N
INTO dbo.Tally
FROM Master.dbo.SysColumns
ALTER TABLE dbo.Tally ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 2:08 pm
binak_86 (4/5/2012)
@jeff ModenHow can I do validations of email address through T-SQL?
I'm on my way to work so can't provide much detail just now. I'll do that tonight after...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 6, 2012 at 6:29 am
Charles Hearn (4/5/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 5, 2012 at 6:51 pm
S_Kumar_S (4/5/2012)
I have a proc with 3 sql statements. Executing this proc takes around 5 minutes. The plan shows that one of select statement takes 99% relative to batch. This...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 5, 2012 at 6:48 pm
I guess that I'm still amazed that such a simple structure requires 3 selects to return the hierarchy.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 5, 2012 at 6:28 pm
A super simple answer as to "why" the index on the deleted table made such a difference is that because a correlated subquery with an equality predicate will be translated...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 5, 2012 at 6:20 pm
Viewing 15 posts - 30,436 through 30,450 (of 59,101 total)