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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Search The Data Using Stored Procedures Using SQL Server
kumar k
Nov 25
2015
Code
738
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
CREATE
Procedure
dbo.GetMRFNoList(@MRFNo
Varchar
(300))
as
Begin
set
nocount
on
Select
Id
as
MId, MRFNo
from
MDetails
Where
(
Replace
(MNo,
' '
,
''
)
like
'%'
+
Replace
(@MNo,
' '
,
''
) +
'%'
or
MNo
like
@MNo +
'%'
)
Order
by
MNo
set
nocount
off
End
Stored Procedures
Sql Server