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
Abraham Olatubosun
NA
471
112.6k
How to use insert and select statement to fill a table
Feb 8 2017 1:41 PM
Dear Code Masters,
I believe all you you are doing fine and in good health.
i want to insert some record from table "REGIMEN" to table "Common_HIVQ" and i use the statement below :
INSERT
INTO
Common_HIVQ (PatientIdentifier,VisitID,VisitDate,code14,codedesctxt15)
SELECT
patientIdentifier,visitid32,visitdate33,code34,codedesctxt35
FROM
Regimen
WHERE
VisitDate33 <> Common_HIVQ.VisitDate
but i get the following error "
Msg 4104, Level 16, State 1, Line 3
The multi-part identifier "Common_HIVQ.VisitDate" could not be bound.
"
please i have done every thing to correct this error but to no result. Kindly help me
Reply
Answers (
1
)
How to get data from 3 tables based on asset no
sql server agent not working on network service..