Skip to content
Advertisement

Tag: sql-insert

SQL Query results into a already created table

I need some help getting the results from this query: To go into a table I have already created (Routegen). Routegen already has the columns (RouteNumber, DPS, Flats, Parcels). I’ve tried using SELECT INTO, but apparently I’m not doing it right because I can’t get the code to run after changing it. The main goal here is to compare then

Insert 2 select in same insert SQL

i have a problem, i would like use 2 select to insert in new table but i don’t know if it’s possible… my code : I would like insert the second part ( select COLONNE01….) in the first part instead of “INSERT HERE” DATA OLD TABLE : COLUMNS 1 (“PKID1″, one”,”two”,”three”) COLUMNS 2 (“PKID2″,”one”,”two”, “three”) New TABLE : (PKID1, one,

Advertisement