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
Srinivasulu Enugu
1.3k
58
5.8k
SP return always 0 value
Aug 1 2015 6:04 AM
i am trying develop login page , in that calling SP for validate the records , but it return always 0 .
please find the SP code here
CREATE PROCEDURE [DBO].[SP_LOGIN]
@USERNAME VARCHAR(50),
@PASSWORD VARCHAR(50),
@RESULT VARCHAR(50) OUT
AS
BEGIN
SET NOCOUNT ON;
SELECT count(*) FROM TBL_USERDETAILS WHERE USERNAME = '@USERNAME' AND PASSWORD = '@PASSWORD'
RETURN
END
Please give me proper solution
Reply
Answers (
5
)
Get SQL Table Indexes script by its name
network intance problem occured ...