SQL Blog by Rahul Sahay
Creating Dimension Table ==> Time (Example)
0 comments, 78 reads
Posted in SQL Blog by Rahul Sahay on 22 April 2013
Total Number Of Records In each Table
Code :
0 comments, 142 reads
Posted in SQL Blog by Rahul Sahay on 3 April 2013
SQL BLOG: First Occurrence Of Character In a String
3 comments, 145 reads
Posted in SQL Blog by Rahul Sahay on 1 March 2013
SQL BLOG: Using Triggers for creating history tables in SQL Server
0 comments, 233 reads
Posted in SQL Blog by Rahul Sahay on 28 February 2013
SQL BLOG: Calculating total number of days from 1st Jan without using DATEDIFF function
I have…
0 comments, 55 reads
Posted in SQL Blog by Rahul Sahay on 25 February 2013
SQL BLOG: Calculating number of week along the days completed in that week for a given input date
Week-4 for this code starts from 22nd till the last day of the month, that's why week-4 remaining days are calculated by dividing with 21…
0 comments, 40 reads
Posted in SQL Blog by Rahul Sahay on 24 February 2013
SQL BLOG: Playing with Date Time
/* code starts here */
/* calculate remaining days in the month from the given input */
declare @tdate datetime
set @tdate =…
1 comments, 31 reads
Posted in SQL Blog by Rahul Sahay on 24 February 2013



Subscribe to this blog