About 50 results
Open links in new tab
  1. SQL Server Insert Example - Stack Overflow

    46 I switch between Oracle and SQL Server occasionally, and often forget how to do some of the most trivial tasks in SQL Server. I want to manually insert a row of data into a SQL Server database table …

  2. Insert all values of a table into another table in SQL

    Feb 23, 2009 · I am trying to insert all values of one table into another. But the insert statement accepts values, but i would like it to accept a select * from the initial_Table. Is this possible?

  3. sql - Insert into ... values ( SELECT ... FROM ... ) - Stack Overflow

    Aug 25, 2008 · 1897 I am trying to INSERT INTO a table using the input from another table. Although this is entirely feasible for many database engines, I always seem to struggle to remember the …

  4. Inserting multiple rows in a single SQL query? - Stack Overflow

    Jan 17, 2009 · I have multiple set of data to insert at once, say 4 rows. My table has three columns: Person, Id and Office. INSERT INTO MyTable VALUES ("John", 123, "Lloyds Office"); INSERT INTO …

  5. SELECT INTO a table variable in T-SQL - Stack Overflow

    Oct 1, 2010 · Got a complex SELECT query, from which I would like to insert all rows into a table variable, but T-SQL doesn't allow it. Along the same lines, you cannot use a table variable with …

  6. SQL Server INSERT INTO with WHERE clause - Stack Overflow

    I'm trying to insert some mock payment info into a dev database with this query: INSERT INTO Payments(Amount) VALUES(12.33) WHERE Payments.CustomerID = '145300'; How can adjust...

  7. sql - Insert results of a stored procedure into a temporary table ...

    Mar 17, 2009 · select * into tmpBusLine from exec getBusinessLineHistory '16 Mar 2009' Output message: Msg 156, Level 15, State 1, Line 2 Incorrect syntax near the keyword 'exec'. I have read …

  8. sql server - INSERT INTO vs SELECT INTO - Stack Overflow

    The simple difference between select Into and Insert Into is: --> Select Into don't need existing table. If you want to copy table A data, you just type Select * INTO [tablename] from A.

  9. How to do an INSERT with VALUES in Databricks into a Table

    I have a simple table with the following columns ID int DESC nvarchar (255) This table is mapped via JDBC as a table in Databricks. I want to do insert like in SQL Server: INSERT INTO table_name (

  10. SQL INSERT INTO from multiple tables - Stack Overflow

    INSERT INTO table3 { name, age, sex, city, id} SELECT name, age, sex, city, id FROM table 1 INSERT INTO table3 { name, age, sex, city, id, number} SELECT name, age, sex, city, id, number FROM …