Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. INSERT INTO table1 (col1, col2, col3)
  2. VALUES (1419002, 1003,
  3. (select TaskTypeCode
  4. from TaskTypeCodes
  5. where TaskTypeID in (898,788,878,874)) )
  6.  
  7. INSERT INTO table1 (col1, col2, col3)
  8. SELECT 1419002, 1003, TaskTypeCode
  9. FROM TaskTypeCodes
  10. WHERE TaskTypeID in (898,788,878,874)).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement