Viewing 15 posts - 8,236 through 8,250 (of 15,381 total)
You could simplify the great example from Geoff (and much thanks for putting together consumable data).
select
FoodGroups.FoodGroupID,
FoodGroups.FoodGroupName,
FoodGroups.FoodGroupDesc,
Foods.FoodNameID,
Foods.FoodName,
Foods.FoodShortName
from
Foods inner join
FoodGroups on Foods.FoodGroupID = FoodGroups.FoodGroupID...
May 24, 2013 at 8:55 am
Eugene Elutin (5/24/2013)
...
I did mean that way. You are correct it is not always faster but it would be most of the time. It is more code and I think...
May 24, 2013 at 8:22 am
Eugene Elutin (5/24/2013)
Sean Lange (5/24/2013)
Ananth@Sql (5/24/2013)
With out using Sub Queries is it possible to get the required output
It is absolutely possible by using a left join. The question is why...
May 24, 2013 at 8:03 am
ISNULL is t-sql dialect and COALESCE is ANSI standard.
The return types are also slightly different.
http://msdn.microsoft.com/en-us/library/ms184325.aspx
http://msdn.microsoft.com/en-us/library/ms190349.aspx
--EDIT--
Eugene beat me to it again. 😛
May 24, 2013 at 7:56 am
Ananth@Sql (5/24/2013)
With out using Sub Queries is it possible to get the required output
It is absolutely possible by using a left join. The question is why does is matter if...
May 24, 2013 at 7:48 am
andy mack (5/23/2013)
It's not so much the size of the DB or even the $ cost. It's the amount of effort the client would have to go...
May 24, 2013 at 7:36 am
cljolly (5/23/2013)
May 23, 2013 at 2:24 pm
Lowell (5/23/2013)

I have a certain fondness for doing solutions in TSQL, or at least be centered around TSQL, regardless of whether it's the right tool for the job or...
May 23, 2013 at 2:15 pm
As Eugene said, we need some information to be able to help. We can't see your screen and we are not familiar with your project. We need to have something...
May 23, 2013 at 12:54 pm
kshatriya24 (5/23/2013)
Select caseid, casetype, Casesubtype and casedescription field from table. The report comes out...
May 23, 2013 at 10:52 am
paruchuri4 (5/23/2013)
I need to gather the following prod information for a particular environmenta.Physical Server Specification ( Storage)
b.SQL Server Configuration (Data Storage Placement, Partition, Data file sizes)
Can't really help you...
May 23, 2013 at 10:46 am
brian.geregach (5/23/2013)
I am having an issue where my rows are calendar months and my columns are different vendors. I can get the information, but the months are sorted alphabetically...
May 23, 2013 at 10:35 am
paruchuri4 (5/23/2013)
How to gather storage information for a particular sql server environment.
What information are you looking for? It is very different if you are talking about details of the physical...
May 23, 2013 at 10:22 am
Abu Dina (5/23/2013)
select 'update ' + table_name +
'set ' +...
May 23, 2013 at 10:15 am
Viewing 15 posts - 8,236 through 8,250 (of 15,381 total)