Viewing 15 posts - 4,051 through 4,065 (of 6,035 total)
select T.ID, T.Amount, Y.Amount as Yesterday_Amount, T.InjectedDate
from Transactions as T
left join Transactions as Y
on cast(Y.InjectedDate as date) = dateadd(day,-1,cast(T.InjectedDate as date))
order by T.InjectedDate, T.ID;
If join performance...
March 17, 2015 at 4:03 pm
Miles Neale (3/17/2015)
Eric M Russell (3/17/2015)
Miles Neale (3/17/2015)
Eric M Russell (3/17/2015)
March 17, 2015 at 3:23 pm
Miles Neale (3/17/2015)
Eric M Russell (3/17/2015)
March 17, 2015 at 1:00 pm
Charles Kincaid (3/17/2015)
A traffic violation is a misdemeanor (minor crime). A charge like that has to be brought either by an officer or citizen. But that individual...
March 17, 2015 at 11:49 am
This would be an excellent interview question for those situations where someone has a personal grudge against the candidate. :crazy:
March 17, 2015 at 9:51 am
Gary Varga (3/17/2015)
March 17, 2015 at 7:54 am
Microsoft Team Foundation Server has a feature in it's source control where you can compare one version of a source file to another past version, and it will highlight all...
March 13, 2015 at 1:48 pm
SQLRNNR (3/13/2015)
I don't necessarily take issue with a comment that states the...
March 13, 2015 at 12:49 pm
The absolute worst type of comment is when a developer encloses a pre-existing block of code within /* */ brackets without an additional comment stating why, when, and who.
Another type...
March 13, 2015 at 7:39 am
Hey JeeTee,
So which of these ponies runs fastest?
I'm placing my money on the INSERT #S EXEC() AT method I described earlier.
:satisfied:
March 12, 2015 at 3:48 pm
Xavon (3/12/2015)
the designer is ignorant, or lazy, or maybe doesn't pay attention because it's not part of their job
namely:
"or is saddled with...
March 12, 2015 at 11:56 am
pbyrum (3/11/2015)
I did every mentioned in this post, but nothing worked.
You can successfully ping remote server name from client?
March 11, 2015 at 12:55 pm
GoofyGuy (3/11/2015)
I'm actually beginning to question the relevence of in-house database engineers. It's not that we can't make a real difference, it's just that circumstances beyond our control marginalize the...
March 11, 2015 at 10:21 am
pbyrum (3/11/2015)
sc query mssql$MSSQLSERVER
I get this error:
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed...
March 11, 2015 at 10:11 am
Viewing 15 posts - 4,051 through 4,065 (of 6,035 total)