Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSERT INTO table1 (col1, col2, col3)
- VALUES (1419002, 1003,
- (select TaskTypeCode
- from TaskTypeCodes
- where TaskTypeID in (898,788,878,874)) )
- INSERT INTO table1 (col1, col2, col3)
- SELECT 1419002, 1003, TaskTypeCode
- FROM TaskTypeCodes
- WHERE TaskTypeID in (898,788,878,874)).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement