Viewing 15 posts - 45,796 through 45,810 (of 59,095 total)
Heh... Someone (another MVP, actually) recently suggested that I write an article having to do with optimizing cursors for those who can't or won't think in terms of set based...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 18, 2009 at 9:53 pm
rog pike (1/17/2009)
Jeff Moden (1/17/2009)
I wonder if you'd do me a favor... I realize it's been about 4 months since the last post, but I need to ask... why did...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 18, 2009 at 9:25 pm
Krishna_DBA (1/17/2009)
CREATE TABLE ContactPhone
(
--Numbers for NANPA--
CountryCode_NPAnvarchar(10),--Country code for NANPA DEFAULT '1'
AreaCode_NPA nvarchar(10),--Area code for NANPA
Exchange_NXX nvarchar(10),--Exchange...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 18, 2009 at 9:22 pm
Krishna_DBA (1/17/2009)
So, I have to create separate table for NANPA phone numbers alone and their codes?
No, no... look at what I wrote in my last post. 1 Table...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 8:43 pm
You give up too easy.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 8:41 pm
First, they've had such screens, admittedly with a bit less sophistication, as bar cash registers for years. It's just a different application of some old technology.
The other thing is,...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 8:03 pm
RBarryYoung (1/17/2009)
Jeff Moden (1/17/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:54 pm
Jeff Moden (1/17/2009)
Heh... science it out... how many parts of a phone number for a NANPA phone number and how many parts for an International Number?
After that, ask yourself... "If...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:51 pm
Heh... science it out... how many parts of a phone number for a NANPA phone number and how many parts for an International Number?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:42 pm
arup_kc (1/15/2009)
This is actualy a question, which I have faced in an interview. I have tried with ROW_Number function later but no result.
That's why I have posted it....
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:31 pm
I agree with Gus... it doesn't matter how many databases you have on a given instance of SQL Server... it's resource usage that matters. How many users are logged...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:25 pm
Yes... Select/Into will do minimal logging under the right conditions. But, it also builds the table... you would have to drop the target table first.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:22 pm
Simon,
I wonder if you'd do me a favor... I realize it's been about 4 months since the last post, but I need to ask... why did you need to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 7:00 pm
rog pike (1/17/2009)
Jeff Moden (1/16/2009)
Heh... Come on folks. "We don need no stinkin' CLR!" 😛 This is a simple problem and it doesn't need a CLR. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 6:29 pm
Correct. But even the estimated execution plan is "wonky" in that respect. I don't have the code example to prove it, but I've seen where a Loop...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 17, 2009 at 6:19 pm
Viewing 15 posts - 45,796 through 45,810 (of 59,095 total)