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
Maahi
NA
73
7.9k
Dynamic script.
Sep 5 2017 9:27 PM
Declare @ClientServicecode as varchar(5000)
set @ClientServicecode = select Client_Code + '_' + REPLICATE('0',4-LEN(RTRIM(Service_Type_Code))) + RTRIM(Service_Type_Code) as ClientServiceCode
from JobTable
exec @ClientServicecode
getting issue while framing a dynamic query of above.
Reply
Answers (
2
)
In SQL Nested select statments
What is Hash Inner join