Friday, December 18, 2015
Oracle SQL Developer Keyboard Shortcuts by thatjeffsmith - Cheatography.com: Cheat Sheets For Every Occasion
Oracle SQL Developer Keyboard Shortcuts by thatjeffsmith - Cheatography.com: Cheat Sheets For Every Occasion
Monday, November 16, 2015
Javascript String.padLeft( len, leadingChar )
Tuesday, September 22, 2015
FIX: Poor performance when you use table variables in SQL Server 2012 or SQL Server 2014 :: KB2952444
The performance issue with Table variables with many rows and then join it with other tables has ben fixed by as explained in KB2952444. Before the fix which applied to SQL Server 2012 SP2 and later, the query optimizer may choose an inefficient query plan, which may lead to slow query performance.
https://support.microsoft.com/en-us/kb/2952444
![Share/Bookmark](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vC7tXQRimIOyoeveq9N1XU_glr1kZo2pd1U9sdiIeKSh5X1fj4O90CXtjXTR4xNx9QbulXHlDZpZgRDdXs0BMbzWPDYr48c0E4gICHGmBaRcTwbSwK8uZGUq4=s0-d)
https://support.microsoft.com/en-us/kb/2952444
FIX: Poor performance when you use table variables in SQL Server 2012 or SQL Server 2014 :: KB2952444
Tuesday, September 15, 2015
AngularJS Style Guide by John Papa
AngularJS Style Guide by John Papa
https://github.com/johnpapa/angular-styleguide
AngularJS Style Guide by John Papa
T-sql :: Change just DATE part of a DATETIME
Tuesday, July 7, 2015
Set date to first day of the month and end day of the month
Set date to first day of the month:
Set date to end day of the month:
Set date to last day of the previous month:
Remove milliseconds from datetime:
![Share/Bookmark](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vC7tXQRimIOyoeveq9N1XU_glr1kZo2pd1U9sdiIeKSh5X1fj4O90CXtjXTR4xNx9QbulXHlDZpZgRDdXs0BMbzWPDYr48c0E4gICHGmBaRcTwbSwK8uZGUq4=s0-d)
SELECT DATEADD(m, DATEDIFF(m, 0, GETDATE()), 0)
Set date to end day of the month:
SELECT EOMONTH(GETDATE())
Set date to last day of the previous month:
SELECT EOMONTH(GETDATE(), -1)
Remove milliseconds from datetime:
DECLARE @now DATETIME
SET @now = GETDATE()
SELECT @now
SELECT DATEADD(ms, -DATEPART(ms, @now), @now)
Set date to first day of the month and end day of the month
Friday, February 27, 2015
Visual Studio Error List and Output Window shortcuts
Wednesday, February 11, 2015
Visual Studio Immediate Window shortcut
Subscribe to:
Posts (Atom)