Search
 
SCRIPT & CODE EXAMPLE
 

SQL

grab all records from one table to another oracle sql

--tbl_temp1 is the source
--tbl_temp2 is the destination
--fld_id is the columns you want to bring over
--where statement is up to you!

INSERT INTO tbl_temp2 (fld_id)
SELECT tbl_temp1.fld_order_id
FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;
Comment

PREVIOUS NEXT
Code Example
Sql :: get table column names sql ssms 
Sql :: sql change default collation to utf8 
Sql :: drop column if exists sql server 
Sql :: alter sequence set current value oracle 
Sql :: How to fetch data in between startfromdate to starenddate in sql 
Sql :: mysql password error create datbase 
Sql :: show indexes mysql 
Sql :: how to convert number to hours and minutes in oracle sql 
Sql :: mysql calculate age 
Sql :: check database size sql 
Sql :: how to give access to database in postgresql server to another user 
Sql :: STOP message of how many rows affected sql 
Sql :: altering the column name in MySQL to have a default value 
Sql :: wordpress sql change site url 
Sql :: how to start mysql in terminal mac 
Sql :: bigquery get current date 
Sql :: insert postgres 
Sql :: mysql f# examples 
Sql :: postgres show current role 
Sql :: select * from table where name like 
Sql :: sql primary key with multiple columns 
Sql :: how to install mysql server on centos 7 
Sql :: truncate table 
Sql :: sql sample tables with data 
Sql :: if then else sqlite 
Sql :: spark sql convert string to date 
Sql :: group_concat order by 
Sql :: import file mysql terminal 
Sql :: oracle list privileges 
Sql :: wsl install mysql 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =