I know two ways to insert data into a table
Method 1: Explicit Values
INSERT INTO table ('field1', 'field2', 'field3') VALUES ('value1', 'value2', 'value3')
Method 2: copy data from another table
INSERT INTO table SELECT 'field1', 'field2', 'field3' FROM otherTable
Both work only if all fields are filled the same way. I need to paste into the same line a mixture of explicit values ββand copied data. Is it possible?
sql sql-server
Thibault witzig
source share