Viewing 15 posts - 8,221 through 8,235 (of 15,381 total)
Durai Samuel (5/28/2013)
In Sql server to see the function text, we can use sp_helptext. can you please help me to view the text of the isnull (system defined function).
Pretty sure...
May 28, 2013 at 7:24 am
jsteinbeck-618119 (5/24/2013)
Yes.... I assume you used my code as well? Difference is I have 800 records and you have 20... this is my max value 23:59:47.8000000Thanks
I added that...
May 24, 2013 at 1:34 pm
jsteinbeck-618119 (5/24/2013)
Thank you guys...Geoff,
I'm getting the error "Arithmetic overflow error converting expression to data type int."
Is it because the column is a Data Type of Time?
Do you get the same...
May 24, 2013 at 1:18 pm
hydbadrose (5/24/2013)
The rebuild date. I have to provide the incident report so i need the rebuilt date.
Ahh meaning you already rebuilt it and you need to know when. That makes...
May 24, 2013 at 1:12 pm
davidca65 (5/24/2013)
May 24, 2013 at 1:09 pm
This looks vaguely like XML? Is the actual data real xml or this type of partial non-parsable xml-ish stuff?
If it is actual XML you can use XQuery.
May 24, 2013 at 1:03 pm
Geoff posted while I was writing. I like his approach better than mine, unless you need them separated. 😛
May 24, 2013 at 12:57 pm
jsteinbeck-618119 (5/24/2013)
Any reply is a good reply... lol
What data type, I keep getting errors on converting to int... not sure which double precision to use to be able to convert...
May 24, 2013 at 12:56 pm
hydbadrose (5/24/2013)
May 24, 2013 at 12:44 pm
You have a few things going on here. First of all you are using a deprecated system catalog.
Laurie is correct that you will need use dynamic sql for this,...
May 24, 2013 at 12:42 pm
Ahh in my last post I had accidentally created a cross join which wasn't noticeable until you added some missing/duplicates.
select
FoodGroups.FoodGroupID,
FoodGroups.FoodGroupName,
FoodGroups.FoodGroupDesc,
Foods.FoodNameID,
Foods.FoodName,
Foods.FoodShortName
from
Foods inner join
FoodGroups...
May 24, 2013 at 10:24 am
nfs_john (5/24/2013)
FoodGroupA
----Food A
----Food B
FoodGroupB
----Food G
----Food K
FoodGroupC
----Food A
----Food K
Notice A & K...
May 24, 2013 at 9:37 am
nfs_john (5/24/2013)
1st what did I fail to provide in terms of "consumable data" that Geoff put together. The actual query? The reason I ask is as the OP I should...
May 24, 2013 at 9:35 am
SQLRNNR (5/24/2013)
Sean Lange (5/21/2013)
Evil Kraig F (5/21/2013)
May 24, 2013 at 9:02 am
Or even less coding...
select
FoodGroups.FoodGroupID,
FoodGroups.FoodGroupName,
FoodGroups.FoodGroupDesc,
Foods.FoodNameID,
Foods.FoodName,
Foods.FoodShortName
from
Foods inner join
FoodGroups on Foods.FoodGroupID in (Foods.FoodGroupID, foods.FoodGroupID2, Foods.FoodGroupID3)
May 24, 2013 at 8:59 am
Viewing 15 posts - 8,221 through 8,235 (of 15,381 total)