Quantcast
Channel: Answers for "sql query help"
Browsing latest articles
Browse All 6 View Live

Answer by robbin

If you do not let us know the details, how could you expect a perfect answer? But seems like you need to change the (CONVERT(INT,((Services1) + (Minutes)))) AS FullService to (CONVERT(INT,...

View Article



Answer by WilliamD

You changed the question after I posted by comment above, so here is the answer now with the column defined properly: DECLARE @TestTable AS TABLE (UserName varchar(20), Services1 smallint, Services2...

View Article

Answer by jhowe

The problem was how I was referencing columns in my select statement. I wasn't doing calculations on (CONVERT(INT,(SUM((Services1) + (Services2)))) AS FullService when what I should have done was...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images