Viewing 15 posts - 48,871 through 48,885 (of 59,099 total)
It would be helpful if you posted the CREATE statements for the tables you're trying to target... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:46 am
Aye... that's more like it.
The only thing I'd be worried about is... do you need to update usage (DBCC UPDATEUSAGE) as you do in SQL Server 2000 to get accurate...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:32 am
Not sure a recursive CTE is needed for this simple update problem... it appears that the prototype ID is simply being updated for each occurance in the temp table...
Sainath,
Thank you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:25 am
Howdy,
Since you're brand new, please take the time to read and follow the suggestions in the link in my signature... it'll help you get very high quality help much faster....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 10:09 am
toniupstny (8/10/2008)
An alternative without cursor is:sp_msforeachtable 'select ''?'', count(*) Rows from ?'Toni
Ummm.... not quite correct, Toni. If you go and look at the code for sp_MSForEachTable, you'll find a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:37 am
CAS - Crappy Application Syndrome - I like it a lot, Paul!
Here's what I would do...
... NOTHING...
At least nothing overt for the time being. You've already informed management...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:25 am
ps. If your yourdistinctlistofcharacters is supposed to contain a single quote, you'll need to include it twice. If yourdistinctlistofcharacters is supposed to contain brackets, then you'll need to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:07 am
shamshad.ali (8/9/2008)
The problem is I have to "Find DISTINCT SPECIAL characters in column [NTLogin]"Shamshad Ali.
With a minor modification, Peso's solution will do it...
SELECT * FROM Users
WHERE UserName LIKE '%[yourdistinctlistofcharacters]%'
Change the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 10, 2008 at 9:05 am
CREATE TABLE #MyHead....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 7:15 pm
Heh... that's the most blatant "bump" I've ever seen. 😛
Seem like you have a couple of good answers there. I'd continue your post there if I were you.;)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 7:05 pm
GilaMonster (8/9/2008)
Jeff, do you know if anyone's tested the speed of a CLR proc vs the built in XQuery for shredding xml documents?
No, I sure don't, Gail. Sorry.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 5:21 pm
Peter, are you, by any chance, going to PASS this year? Sure would like to me you in person, someday.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 5:19 pm
Just a bit of advice to a beginner... Most of the time where someone thinks they need a CLR, Matt and I have been able to beat the pants off...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 11:26 am
Thanks Paul.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 10:54 am
Heh... even SCOPE_IDENTITY() doesn't fix that problem. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
August 9, 2008 at 10:48 am
Viewing 15 posts - 48,871 through 48,885 (of 59,099 total)