Viewing 15 posts - 56,791 through 56,805 (of 59,067 total)
Yeah... me too... sorry you had to wait 4 years for the answer... ![]()
March 12, 2007 at 7:40 pm
I agree... NOT EXISTS implies a correlated sub-query which is another form of RBAR (pronounced "ree-bar" and is a "Modenism" for "Row By Agonizing Row").
Now, the interesting part is that...
March 12, 2007 at 7:39 pm
Another way... with right justification to boot...
SELECT STR(COUNT(DateCol)/110.0*100.0,8,1)+'%'
FROM @Table
March 12, 2007 at 7:32 pm
P.S. It won't blow up after 6,759,999... but it will start the sequence over, so you may want to put a constraint on the IDENTITY column to be >=0 and...
March 12, 2007 at 7:14 pm
Ummm beat me to it... well, almost... please send beer, I already have enough pretzels...
--===== If the demo table exists, drop it
IF OBJECT_ID('TempDB..#yourtable') IS NOT NULL
DROP...
March 12, 2007 at 7:09 pm
TNT,
Just for grins, can you post the "header file" and a row or 2 of data (making sure, of course, there are no SSN's, account numbers, etc in the file)? ...
March 12, 2007 at 6:09 pm
Sure, Bakr... but I need a wee bit more information...
March 12, 2007 at 6:01 pm
Perfectly clear, thank you...
DECLARE @TestData TABLE (StringValue VARCHAR(20))
INSERT INTO @TestData
SELECT '0000022211' UNION ALL
SELECT '0000022243' UNION ALL
SELECT '0000072211' UNION ALL
SELECT '0000102221' UNION ALL
SELECT 'AB00011' UNION ALL
SELECT 'CD000111'
SELECT...
March 12, 2007 at 4:20 pm
What did you find out about memory? Do you have an app that someone recently made a change to that has memory leaks?
Also, since it occurs so regularly, have you...
March 12, 2007 at 6:58 am
Heh...
Dinesh... take a look at the following for a complete explanation as to why ISNUMERIC should never be treated as ISALLDIGITS... and, it's not a fault... it's a feature...
March 12, 2007 at 6:41 am
Please folks... make sure you really, really know what you're doing... if you set 'trunc. log on chkpt.' to true, you have a little surprise coming... try this...
Set the recovery...
March 11, 2007 at 9:48 pm
Do you mean like this when you say to "ignore if is character data"???
DECLARE @t TABLE( sort varchar(20))
INSERT INTO @t
SELECT '1dd' UNION ALL
SELECT '1x4' UNION...
March 11, 2007 at 9:36 pm
Sree,
Rather than us guess, do you have some samples of the data before and after the sort you'd like?
March 11, 2007 at 7:21 pm
It's been "summarized" into the "Recovery Mode". I believe the "Simple" recovery mode enables it (and SELECT INTO/Bulk Copy, etc).
March 11, 2007 at 7:14 pm
Personally, I'd hunt down and shoot the bugger that put a Text column in the database in SQL Server 2000. ![]()
Also, why the heck...
March 11, 2007 at 12:58 pm
Viewing 15 posts - 56,791 through 56,805 (of 59,067 total)