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
Mahesh Babu
NA
118
32.6k
syntax error in stored procedure
Aug 23 2018 4:57 AM
this is my stored procedure
i need to check the empid null or not
after i need to check the empid exists or not in the employee table
please help me this
ALTER PROCEDURE [dbo].[SP_Details1]
@empID varchar(50)
AS
BEGIN
Declare @records varchar(max)
IF ISNULL(@EmpId,0)!=0
IF EXISTS (
set @records='empid doesnot exist'
)
BEGIN
select @records= [Num] from [Employee] where [Num]= @empID
select @records as [EmpID]
END
END
Reply
Answers (
9
)
how can validate In mvc Linq TO sql
Is there any WhatApp API to integrate wpf application