Viewing 15 posts - 11,491 through 11,505 (of 15,381 total)
Hard to say with absolute certainty without seeing the ddl. Is this column a datetime datatype? If so you should not do any conversions at all.
The 2nd is just flat...
June 26, 2012 at 7:36 am
Actually if you format this sql it is pretty clear that you did not group by all the non-aggregate columns (I used http://poorsql.com).
SELECT s.part_name AS Part_Name
,s.part_no AS Part_No
,s.uom AS UOM
,i.Stock_OnEntryDate
,sum(i.invoice_quantity)...
June 26, 2012 at 7:21 am
Wow if this isn't enough of a reason to store datetime information as datetime instead of some oddball integer strangeness I don't know what is.
If this data was stored with...
June 25, 2012 at 2:58 pm
Stefan Krzywicki (6/25/2012)
Don't you love columns with "number" in the name that are typed as char or varchar?
Or the date ones...
InsertedDateTime int
BAH!!!
June 25, 2012 at 8:55 am
OK this is still nowhere near enough info but thanks for the proc code.
How about ddl for the table you are trying to insert to?
What are the parameters...
June 25, 2012 at 8:54 am
You have not provided anywhere near enough information for anybody to be able to help.
Try this link. http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
June 25, 2012 at 8:24 am
SQL_Kills (6/25/2012)
The reason why it is not like the table how you did it, is because if you join to another table then the report would show many lines.
And as...
June 25, 2012 at 8:06 am
SQL_Kills (6/25/2012)
Hi, what's OP mean?
OP = Original Poster. 😀
June 25, 2012 at 7:39 am
Sounds like @KodePay is a delimited string? Take a look in my signature at the article about splitting strings.
June 25, 2012 at 7:28 am
sestell1 (6/25/2012)
Does anyone know what SQL Server actually...
June 25, 2012 at 7:21 am
dwain.c (6/22/2012)
Sean Lange (6/22/2012)
SQL_Kills (6/22/2012)
Thanks for your advice so far and what you have shown me.
The table you created QuestionFieldsNormalized was what the table originally looked like that when pulling...
June 25, 2012 at 7:01 am
A couple easy suggestions. Your name of ID is inadequate as Lowell pointed out previously. Your columns don't make any sense to me. There is one thing that will help...
June 22, 2012 at 2:30 pm
It would probably be better if you used reply instead of editing. when you edit nobody gets a notification, but when you add a new reply they do. 😛
Thanks for...
June 22, 2012 at 2:00 pm
We used to play one while traveling. We called it the geography game. Here is how it works. The first person will say the name of a location. This can...
June 22, 2012 at 1:09 pm
Viewing 15 posts - 11,491 through 11,505 (of 15,381 total)