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
Hardik Bhavsar
NA
164
56.2k
how to display top 5 records in the table using function.
Aug 16 2013 5:52 AM
how to display top 5 records in the table using function.?
i used this query but this query is not wrok on funtcion.
select top 5 * from tablename
using this function only 1 record are display.
alter function fn_TopStudentRecord
(@name varchar(20))
returns varchar(20)
begin
return (select name from Student1 where name=@name)
end
Reply
Answers (
10
)
Need help of inner join For different table
SQL Query