Viewing 15 posts - 2,296 through 2,310 (of 3,957 total)
cms9651 (12/26/2012)
thank for reply.I tried your last code but I have error in variable "@CountOfEmp"
<snip>
I'm not quite sure why but try the full code at the bottom of this post...
December 26, 2012 at 12:46 am
Gentlemen... so sorry I'm late to the party!
Paul White recently turned me on to SQL# and I just happened to do a comparison of the SQL# RegEx string splitter against...
December 26, 2012 at 12:30 am
I'm pretty sure the index always gets updated when rows are INSERTed, UPDATEd or DELETEd regardless of the setting, because it must or the database would lose track of rows...
December 25, 2012 at 11:29 pm
Jeff Moden (12/25/2012)
Jeff Moden (12/18/2012)
I agree that the CLR Regex method should be the fastest although I've not seen any performance testing on it.
The questions I have for you is...
1....
December 25, 2012 at 9:08 pm
Could this be a case of deferred resolution? Perhaps the tables were altered after the SPs were compiled. Try this:
CREATE PROCEDURE MyProc
AS BEGIN
INSERT INTO #Table1
SELECT
T2.Column1
,T2.Column2
,T2.Column3
FROM #Table2 T2
ORDER BY...
December 25, 2012 at 8:53 pm
You can avoid inadvertant DELETEs or UPDATEs that mark the record as deleted (without a reason) like this:
CREATE TABLE MyTable
(MyPK ...
December 25, 2012 at 7:51 pm
Try running this against your table and see what ASCII codes fall out:
DECLARE @T TABLE (MyChar VARCHAR(11))
INSERT INTO @T
SELECT '0' + CHAR(10) + CHAR(13) + CHAR(9)
UNION ALL SELECT '6' +...
December 25, 2012 at 7:23 pm
As a first time poster, you should learn to follow forum etiquette and read up on posting questions with DDL and consumable sample data. There are many links you...
December 25, 2012 at 7:05 pm
Normally, most people won't answer your question because you didn't take the time to provide DDL and sample data in consumable form. There are many good links to how...
December 25, 2012 at 6:45 pm
Bruce - I love your avatar. Looks like one of my cats, except his eyes are green.
December 25, 2012 at 6:27 pm
CELKO (12/25/2012)
December 25, 2012 at 6:24 pm
I see what the problem is. I didn't really look at what you'd stored in the Holidays column. IMHO - that is all wrong. You should be...
December 25, 2012 at 6:20 pm
Jeff Moden (12/25/2012)
Merry Christmas Dwain.
Let me see. Christmas morning where you are and here you are posting on the SSC forum.
You must want that 32,000th post pretty bad!
December 25, 2012 at 7:50 am
I'll be honest with you. My problem is that it is difficult for me to interpret what is right, when all you can tell me is that the result...
December 25, 2012 at 6:14 am
cms9651 (12/25/2012)
dwain.c (12/24/2012)
December 25, 2012 at 4:13 am
Viewing 15 posts - 2,296 through 2,310 (of 3,957 total)