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
shahnid k
NA
61
15.5k
Select query inside Insert Query.
Feb 5 2017 6:43 AM
insert
into
ACCESS_DETAILS(USER_ID,GROUP_ID,COMPANY_ID)
values
(1111,11, (
select
COMPANY_ID
from
GROUP_COMPANY_CONFIG
where
GROUP_ID =
'1'
))
In the above query, the subquery is returning more than one values. so how can i insert it into the table without error.
Reply
Answers (
5
)
INSERTING into SQL Server Table using Joins
need a sql query