Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle select into

SELECT NAME, ADDRESS, PHONE
INTO v_employee_name, v_employee_address, v_employee_phone_number
FROM EMPLOYEE
WHERE EMPLOYYE_ID = 6;
Comment

SELECT INTO Oracle

DECLARE
  r_customer customers%ROWTYPE;
BEGIN
  -- get the information of the customer 100
  SELECT * INTO r_customer
  FROM customers
  WHERE customer_id = 100;
  -- show the customer info
  dbms_output.put_line( r_customer.name || ', website: ' || r_customer.website );
END;
Code language: SQL (Structured Query Language) (sql)
Comment

oracle select

SELECT expressions
FROM tables
[WHERE conditions];
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql earlier than date 
Sql :: sql lowest number possible 
Sql :: tsql cte in a transaction 
Sql :: wp_query raw sql 
Sql :: find max number in sql 
Sql :: read sql file in python pandas 
Sql :: data types mysql vs postgresql 
Sql :: grant sql 
Sql :: drop specific row postgresql 
Sql :: sql strip non alphanumeric characters 
Sql :: Write an SQL query to print details of the Workers whose FIRST_NAME ends with ‘h’ and contains six alphabets. 
Sql :: Deleting data from tables 
Sql :: oracle sql distinct vs unique 
Sql :: selecting all columns from table sql database 
Sql :: sql except query 
Sql :: join sql 
Sql :: How do I install microsoft SQL on my Mac? 
Sql :: mysql split explode 
Sql :: fanyi 
Sql :: insert into 
Sql :: insert overwrite table in mysql in nifi 
Sql :: ring MySQL get a list of columns names 
Sql :: install sql 
Sql :: how to get one year old query from plan cache 
Sql :: oracle 11g default profile values 
Sql :: script to run SP_SPACESED on all tables in DB 
Sql :: events not working db 
Sql :: AND Operator (AND) 
Sql :: MySql shutdown unexpectedly InnoDB: Mutexes and rw_locks use Windows interlocked functions InnoDB: Uses event mutexes 
Sql :: automated psql csv export script on windows 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =