SQL SERVER – Sends backups to a Network Folder, FTP Server, Dropbox, Google Drive or Amazon S3
SQL SERVER – Find Weekend and Weekdays from Datetime in SQL Server 2012
Yesterday we had very first SQL Bangalore User Group meeting and I was asked following question right after the session. This question is about to Find Weekend and Weekdays from Datetime in SQL Server 2012.
SQLAuthority News – Android Efficiency Tips and Tricks – Personal Technology Tip
SQL SERVER – Removing Leading Zeros From Column in Table – Part 2
SQL SERVER – Using RAND() in User Defined Functions (UDF)
Here is the question I received in email.
“Pinal,
I am writing a function where we need to generate random password. While writing T-SQL I faced following issue. Everytime I tried to use RAND() function in my User Defined Function I am getting following error:
SQL SERVER – Removing Leading Zeros From Column in Table
Some questions surprises me and make me write code which I have never explored before. Today was similar experience as well. I have always received the question regarding how to reserve leading zeroes in SQL Server while displaying them on the SSMS or another application. I have written articles on this subject over here about leading zeros.


