TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Siddharth Chauhan
NA
8
1k
display userdetail in gridview& totalcount in dashboard /Lbl
Mar 19 2017 3:32 PM
ALTER PROCEDURE [dbo].[pDashboard]
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @TotalUSers INT
DECLARE @PendingQuery INT
DECLARE @RepliedQuery INT
SELECT @TotalUSers = COUNT(*)
FROM register
SELECT @PendingQuery = COUNT(*)
FROM USerQuery
WHERE QueryReply is null
SELECT @RepliedQuery = COUNT(*)
FROM UserQuery
WHERE QueryReply is not null
SELECT @TotalUSers as TOTALUSERS,
@PendingQuery as PENDINGQUERY,
@RepliedQuery as RepliedQuery
END
Reply
Answers (
1
)
i got system argument exception
How to Call multiple time function in java scrip