Viewing 15 posts - 24,256 through 24,270 (of 59,099 total)
What is the datatype of the DATE column?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2014 at 7:39 pm
born2achieve (2/28/2014)
almost 25 columns i need to track and put it in audit table. any suggestions please
Post the CREATE TABLE statement for the audit table, please. I need to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2014 at 7:33 pm
manavairajan (3/1/2014)
I have two tables and similar column like (year, week, day, and shifts, Totalvalue)
Table 1 having full data of 2013 but Table2 few weeks of...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2014 at 7:28 pm
caippers (3/1/2014)
I believe what I have is to take the first character of the string ensure...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2014 at 7:21 pm
Yes, there are many other possible ways that use things like Tally Tables, cascading CTEs, etc, but... none of them are faster than what you have. This is one...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2014 at 2:38 pm
I believe that you shouldn't stop counting days just because of the latest location. I believe that you need to consider how long something has been at the latest...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2014 at 10:18 pm
Lempster (2/27/2014)
Jeff, I don't see it as much of...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2014 at 8:55 pm
sqldriver (2/28/2014)
Jeff Moden (2/2/2014)
sqldriver (2/1/2014)
Yes, Jeff, now give me something to spend all this DBA money on that wasn't bottled and corked by a guy in a kilt.
BWAAA-HAAAA!!!!! I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2014 at 8:48 pm
Lizzie (2/28/2014)
I agree with you about the password, but my manager is trying the diplomatic approach first, i.e. finding out...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2014 at 7:43 am
pmadhavapeddi22 (2/27/2014)
...but I need everything in a single query.
Why?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 28, 2014 at 7:08 am
Thanks for the feedback. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 4:01 pm
muthyala_51 (2/27/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 3:47 pm
d viz (2/27/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 3:39 pm
muthyala_51 (1/22/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 1:42 pm
d viz (2/27/2014)
with a minor change to get the order I wanted, it worked perfectly:
SELECT a.keyDate AS DateFrom
,ISNULL(b.keyDate ,GETDATE()) AS DateTo
...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 27, 2014 at 11:09 am
Viewing 15 posts - 24,256 through 24,270 (of 59,099 total)