Viewing 15 posts - 886 through 900 (of 1,251 total)
Lynn Pettis (9/30/2014)
How silver spoon can you get???
Four thousand plus points....
Anyway, could I possibly prevail upon the folks around here to do a little testing for me please. I've...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 30, 2014 at 3:30 pm
If you enter the code above without the " you get
To just post the link enter it as below
""http://dba.stackexchange.com/questions/77016/how-to-obtain-sql-feature-list-from-the-command-line""
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 8:26 am
Now I really am confused, I'm definitely misunderstanding something.
I thought CreatedOn was in the format yyyy-mm-dd hh:mm:ss.ttt. Where does the string come from?
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 8:16 am
spectra (9/26/2014)
>>>>Remove the CONVERT and you'll be doing the date range check you want.how do you convert 26/09/2014 to Date ?
If your dates are stored as
2014-09-26 14:25:51.310
2014-09-26 12:46:42.647
2014-09-24 14:49:35.190
2014-09-24...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 8:05 am
Good spot Chris. I'd mentally accounted for it but forgot to actually write it in.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 7:50 am
create table #Test
(
CreatedOn datetime
,ID int identity(1,1)
)
insert into #test
select '2014-09-26 14:25:51.310' union all
select '2014-09-26 12:46:42.647' union all
select '2014-09-24 14:49:35.190' union all
select '2014-09-24 12:39:21.150' union all
select '2014-09-19 15:22:36.233' union all
select '2014-09-19...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 7:38 am
I'm struggling to understand what you need. Is that the only row you need returning? Can you post some sample data please.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 7:15 am
What exactly is the problem? You need to be very careful using BETWEEN with datetime. You're much better using >= and <=.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 26, 2014 at 6:53 am
Lynn Pettis (9/25/2014)
Sean Lange (9/25/2014)
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 25, 2014 at 2:45 pm
Hi Bill,
thanks for the Series. I've struggling with an odd problem with comparing the results in Excel. When I copy the filtered results across and apply the Auto-Average...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 25, 2014 at 5:56 am
Ed Wagner (9/25/2014)Terminator
Colon
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 25, 2014 at 5:43 am
Ouroboros
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 24, 2014 at 7:49 am
Bite
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 24, 2014 at 5:31 am
If you change the fixed date to getdate() or the time you ran the report it will round the hour to the start of that hour for the start date...
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 24, 2014 at 3:51 am
StartDate = dateadd(hh, datediff(hh, 0, '2014-09-24 08:30:00.000') - 1, 0)
EndDate = dateadd(hh, datediff(hh, 0, '2014-09-24 08:30:00.000'), 0)
Does that do what you want?
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
September 24, 2014 at 3:22 am
Viewing 15 posts - 886 through 900 (of 1,251 total)