Viewing 15 posts - 11,386 through 11,400 (of 15,381 total)
sammyIT (7/11/2012)
Table "Product" has items with descriptions.
Table "Keywords" is a running list of keywords that we would want to exclude from the outcome of some queries.
What I...
July 11, 2012 at 12:54 pm
This has pretty much every format imaginable for datetimes. http://msdn.microsoft.com/en-us/library/ms187928.aspx
July 11, 2012 at 12:00 pm
cjcolton (7/10/2012)
Thanks so much for your help; just to clarify, is the first step is to create a new table with the same records but a new primary?...
July 10, 2012 at 2:50 pm
As Jason already said you need to wrap your sum with an ISNULL.
Select ISNULL(SUM(ISNULL(Amount, 0)), 0)
July 10, 2012 at 1:55 pm
asm1212 (7/10/2012)
July 10, 2012 at 1:40 pm
You should take a look at what the columns mean. http://msdn.microsoft.com/en-us/library/ms186782.aspx
July 10, 2012 at 1:37 pm
asm1212 (7/10/2012)
I gave you my expected result set, the query I was using, and the result set it gave back...
Does it look like what is...
July 10, 2012 at 10:55 am
phoeneous (7/10/2012)
See attached screenshots.
Notice that sale.Dollar5 is $50 and the date...
July 10, 2012 at 10:42 am
Take a look at the first link in my signature about best practices. You need to post ddl, sample data and desired output.
July 10, 2012 at 10:40 am
Welsh Corgi (7/9/2012)
If I have a TimeStamp in Oracle then why I should not use a DATE2 Datatype to...
July 9, 2012 at 11:16 am
Me neither, plus I figured it had been done before so I just used a little Googlefu. The solution I found was a scalar udf but hey, it is sql...
July 6, 2012 at 3:34 pm
Lynn Pettis (7/6/2012)
July 6, 2012 at 3:30 pm
This post from MS shows a way to do this with a UDF in 2000. From your sample data this should do exactly what you are looking for. Just make...
July 6, 2012 at 3:24 pm
Well you did post this in the sql 2008 forum. 😀 This type of formatting really should be left to the front end to deal with. It is not that...
July 6, 2012 at 3:13 pm
Please don't start a new thread with the same content as your other one. Please direct all replies to the original thread here. http://www.sqlservercentral.com/Forums/Topic1319707-391-1.aspx
July 6, 2012 at 3:11 pm
Viewing 15 posts - 11,386 through 11,400 (of 15,381 total)