Coalesce FETCHING 0 ROWS inside stored procedure but fetches result as a query
ALTER PROCEDURE [dbo].[Status_yearly] (@MID NVARCHAR(max)) AS BEGIN DECLARE @Years nvarchar(max) SELECT @Years = Stuff((SELECT DISTINCT ',[' + Cast(Year(u.StartDate) AS NVARCHAR(4 )) + ']' FROM...
View ArticleHow to rename resultset
I have a query like this SELECT date_format( doj, '%d/%m/%Y' ) AS week , COUNT(user_id) FROm user_tb WHERE doj between '2012-01-01' AND '2012-01-31' group BY WEEK(doj) Result week COUNT(user_id)...
View ArticleWhich among row level and statement level triggers is effective
Among row level and statement level trigger both runs on update/Insert/Delete of records. The difference being the former runs once for each row and the later runs only once, but both does same work....
View ArticleHow to go for 70-433 Exam
I have registered for 70-433 exam. Can any one please suggest, how to prepare for it? Is it necessary to have training to pass the exam? Can I get free dumps for referral.
View ArticleCoalesce FETCHING 0 ROWS inside stored procedure but fetches result as a query
ALTER PROCEDURE [dbo].[Status_yearly] (@MID NVARCHAR(max)) AS BEGIN DECLARE @Years nvarchar(max) SELECT @Years = Stuff((SELECT DISTINCT ',[' + Cast(Year(u.StartDate) AS NVARCHAR(4 )) + ']' FROM...
View ArticleHow to rename resultset
I have a query like this SELECT date_format( doj, '%d/%m/%Y' ) AS week , COUNT(user_id) FROm user_tb WHERE doj between '2012-01-01' AND '2012-01-31' group BY WEEK(doj) Result week COUNT(user_id)...
View ArticleWhich among row level and statement level triggers is effective
Among row level and statement level trigger both runs on update/Insert/Delete of records. The difference being the former runs once for each row and the later runs only once, but both does same work....
View ArticleHow to go for 70-433 Exam
I have registered for 70-433 exam. Can any one please suggest, how to prepare for it? Is it necessary to have training to pass the exam? Can I get free dumps for referral.
View Article
More Pages to Explore .....