Viewing 15 posts - 9,691 through 9,705 (of 15,374 total)
madhavsinghk (1/4/2013)
Thanks for response, here is what i have so far:
If I set the monthly span to -10 (last 10 months), i only get records for last 8 months. No...
January 7, 2013 at 7:30 am
steve.pantazis (1/4/2013)
January 4, 2013 at 3:26 pm
I like the MySQL convention of using double zeroes for months and years, That is 'yyyy-mm-00' for a month within a year and 'yyyy-00-00' for the whole year. The advantage...
January 4, 2013 at 2:08 pm
From your description it sounds like you want to do running totals? Take a look at this article that explains how to do this quite easily.
http://www.sqlservercentral.com/articles/T-SQL/68467/%5B/url%5D
January 4, 2013 at 2:04 pm
There isn't a way to do exactly what you are asking. Have you looked at CDC? It would be far less overhead than what you are proposing here.
January 4, 2013 at 2:00 pm
suchang (1/4/2013)
ItemCode is not numberic. Quantity is numberic
How big are the numbers? You may have to increase the varchar size as Dwain suggested.
January 4, 2013 at 12:08 pm
CELKO (1/4/2013)
I think this should be a CASE statement anyway.
SQL has a CASE expression, not a CASE statement; totally different concept!
I thought of you as I was...
January 4, 2013 at 10:57 am
suchang (1/4/2013)
Executed SQL Statement: SELECT oi.ItemCode + ' X ' + CAST(oi.Quantity AS VARCHAR(5)) AS Expr1, oi.ItemCode, oi.ItemDescription, oi.Quantity, oi.UnitWeight, os.Ref1....
Error Source: .Net SqlClient Data Provider
Error...
January 4, 2013 at 10:09 am
I would also ask that you notice how I posted ddl and sample data in an easily consumable format. You should do something like that on future posts. It makes...
January 4, 2013 at 10:07 am
This is a rather bizarre requirement to say the least. I do not condone doing this sort of thing to make searching easier. The ease of writing an easy search...
January 4, 2013 at 10:06 am
Agreed. Your best option is to use datetime. I would strongly urge you not to do something you will regret like using a varchar for datetime. If you don't want...
January 4, 2013 at 8:00 am
At the very least the WWW consortium does not agree that there is no such thing.
‘ is left single quote
’ is right single quote
--EDIT--
Proof...I typed in the html escape...
January 3, 2013 at 3:18 pm
I am totally lost now...are you saying that it changed your inner joins to left and right joins?? You have me stumped.
January 3, 2013 at 3:14 pm
Viewing 15 posts - 9,691 through 9,705 (of 15,374 total)