I'm using SQL Server. I have a table Users with 2 columns ID (string) and Info (string), and a table Positions with 2 columns PositionID (int) and Description (string).
I need to insert one record into table Links with 2 columns: UserID (string) and PositionID (int), for each record in table Positions.
Thus, given Users.ID = "JOE" and 3 records in Positions table with IDs 1 through 3, I need to insert 3 records into Links:
UserID | PositionID
-------+-----------
JOE    | 1
JOE    | 2
JOE    | 3
Is this achievable with a single statement?
 
     
     
    