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
Schleid Alex
NA
361
47.9k
Help with while loop in sql server
Oct 22 2020 7:28 AM
I have this query
Declare @Fnum nchar(5)
While (len(@Fnum)<5
Begin
Set @Fnum += '0
End
Print @Fnum
I am expecting 0000 as result
But this is not happening, I only have 0 as result?
Can I have some help please?
Reply
Answers (
7
)
Switching career
Pass model to webapi from .net core application