Search
 
SCRIPT & CODE EXAMPLE
 

SQL

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 :: how to close external sql connection in laravel 
Sql :: install sql server in ubuntu 20.04 
Sql :: sum function in sql 
Sql :: how to output a different column name in mysql 
Sql :: sql update subtract value 
Sql :: min and max salary and name in sql 
Sql :: mysql --version 
Sql :: how to get capital letter first in sql 
Sql :: column with prefix in sql 
Sql :: one to many sql 
Sql :: .sql File Run in PSQL 
Sql :: mysqlimport 
Sql :: ms sql select datetime as date 
Sql :: is firebase nosql 
Sql :: how to use sqlcommand 
Sql :: duplicate a column in sql 
Sql :: in sqlalchemy 
Sql :: on delete set default 
Sql :: sql examples from framework 
Sql :: ring execute query then print the query result. 
Sql :: hierarchal database table 
Sql :: Reorder Table Primary Key Index After Deleting Some Rows 
Sql :: postgres multiple left join causing duplicates jsonb_agg 
Sql :: sql create text column limited values 
Sql :: convert db timestamp to date 
Sql :: what is the use of @JoinColumn(name="ID", referencedColumnName = "ID") 
Sql :: How to calculate average of average salary of departments? 
Sql :: create user oracle hash by value 
Sql :: SQL Injection Using Multiple Statement 
Sql :: insert data mysql with cmd 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =