Viewing 15 posts - 30,691 through 30,705 (of 59,101 total)
er.sivaganesh (3/20/2012)
ya it was working finebut why u and jef told don't use cursor
Three reasons for me...
1. They're usually slower than...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2012 at 6:33 am
Jizzy Wig (3/20/2012)
What utter nonsense
Thanks for the example and no problem with disagreement but you really don't need to be that way.
Yes, if you have an explicit transaction or your...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 20, 2012 at 6:18 am
Artoo22 (3/19/2012)
Jared, do me a favour please. Find sp_spaceused and modify it. What do you think? Good code laid out badly.
My opinion of sp_spaceused is "bad code laid out poorly"....
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 10:46 pm
umar.memon (3/19/2012)
Solved the probelm, thank you so much for the guidance you have provided I really learned alot, never used CTE and Outer Apply beforeonce again thanks
Actually, you may have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 9:59 pm
Artoo22 (3/19/2012)
I don't need assistance today, but I have a comment. Why doesn't Microsoft use T-SQL coding standards?
Whenever I script a system stored proc the code looks like a dogs...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 5:43 pm
MarbryHardin (3/19/2012)
Saying that you want to use spaces because people will write improperly formatted code is a hack. Tabs have the same usefulness and purpose in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 5:39 pm
SQLRNNR (3/19/2012)
Nadrek (3/18/2012)
My answer to tabs vs. spaces, case convention, and pre vs post commas is always to let a computer do tedious, menial, purely rules based work - use...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 5:30 pm
dwain.c (3/18/2012)
That's a very interesting article and it has described what I could not articulate in my dislike for correlated subqueries. I intrinsically knew that there would be a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 9:05 am
I know it's just a contest and a lot of the problems are made up but I really worry about things like this. Judging from the number of people...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 8:10 am
nikk_Stone (9/10/2011)
thnx...but the book which you have told me...it is not free of cost...
i have to buy it online...
i want a frre book
Books Online. It covers all aspects of...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 1:58 am
This is another contest problem where the best solution wouldn't likely be an "all in one" query.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 19, 2012 at 1:50 am
Yep... I know this is an old post but I've just gone through an escapade with SQL_Variant with great success.
I agree that the "one table" idea is typically a very...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2012 at 4:54 pm
Having a bit of a problem with the broken English but I believe this might be what you're looking for.
SELECT MemberID,
RowsOwned...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2012 at 1:46 pm
revozex (3/17/2012)
I have Human Resource data containing many records with years only in Date of Birth column. Currently I'm storing 01-01-1967 if only 1967 is given as year.
How...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2012 at 1:10 pm
er.sivaganesh (3/17/2012)
alter PROCEDURE [dbo].[SP_Searchengine]@VALUES varchar(8000)
AS
BEGIN
create table solution
(
AdSpaceId int,
AdInfoId int,
BusinessName varchar(200),
AdSpaceName ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2012 at 1:04 pm
Viewing 15 posts - 30,691 through 30,705 (of 59,101 total)