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
snehal suryavanshi
NA
341
114.3k
Store Procedure with one parameter
Jul 6 2018 12:59 AM
I am new to sql server and learning store procedure
i m creating store procedure for fetching data of perticuler ID
as follow
CREATE
PROCEDURE
SelectByID @ID
INT
AS
BEGIN
SELECT
*
FROM
EmployeeDetails
WHERE
EmployeeID = @ID
RETURN
END
GO;
there is problem while execution
Exec SelectByID ID = "4";
Please help me out it is showing error like "Incorrect Syntax near '=' ".
Reply
Answers (
5
)
How to remove null values from each column ?
Column Values Pronouncing same then y or n