Viewing 11 posts - 1 through 11 (of 11 total)
I`m attempting to remove the ``*`` from the statement and trying to only select on the view`s date and value column, but the error is stating that the
``Ambiguous...
March 3, 2017 at 12:15 pm
Steve,
Thank you so much for helping out. And yes, your suggestion worked like a charm.
Appreciate it.....Walter
March 3, 2017 at 6:50 am
Gents,
Here is a small sample of my data.
--===== Create the test table with
CREATE TABLE #PrecipAcc
(
Date (datetime2(0))
...
March 2, 2017 at 3:58 pm
Rob,
Yes, that is the case. I'm only searching between two particular dates. Usually, 03/01/2010 (format mm/dd/yyyy) and 03/02/2010 with the same format.
I've removed the DATEADD part,...
March 2, 2017 at 3:36 pm
Thanks J. Livingston...
I'll give your suggestion a try.
Walter
February 25, 2017 at 10:50 am
Morning,
Now that I have a successful sql statement, thanks to the help of others, I now would like to update a column in a table using that same line....
February 25, 2017 at 9:15 am
Drew,
Appreciate your return comment. Your suggestion worked like a charm.
Thanks to all the gentlemen who've helped me above.
thx..Walter
February 24, 2017 at 12:32 pm
Gents,
I can't seem to get this sql statement to work:
select
February 24, 2017 at 11:37 am
Thom,
I'm close, but yet still not getting the values correctly.
select
February 24, 2017 at 11:07 am
Thanks Thom,
I'm still getting a listing of each hour of that day and not the value 2005-01-01 23:00:00 which is the last hour of that day. For example,
February 10, 2017 at 11:41 am
Michael,
thanks for your reply. But I'm stuck and don't understand. I've added group by below, but I'm still getting multiple dates from the table. For example:
2005-01-14 01:00:00
February 10, 2017 at 10:53 am
Viewing 11 posts - 1 through 11 (of 11 total)