Search
 
SCRIPT & CODE EXAMPLE
 

SQL

for loop postgresql

FOR r IN SELECT * FROM foo
    WHERE fooid > 0
    LOOP
        -- can do some processing here
        RETURN NEXT r; -- return current row of SELECT
    END LOOP;
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle list data files 
Sql :: postgres check timezone 
Sql :: pentaho + pasar de excel a sql 
Sql :: copy sql table to another table 
Sql :: add primary key to existing table sql 
Sql :: hibernate with springboot mysql 
Sql :: how to check nls format in oracle 
Sql :: oracle activate job 
Sql :: delete all rows from table sql 
Sql :: sql select column names 
Sql :: mssql get all table names 
Sql :: how to get ddl for materialized view 
Sql :: oracle apex who is connected 
Sql :: mysql modify default value 
Sql :: insert random numbers in columns postgress 
Sql :: how to change owner in postgres 
Sql :: oracle add months to sysdate 
Sql :: how to delete table in mysql 
Sql :: What is localhost IP and MySql default port no. 
Sql :: Oracle NLS_CHARACTERSET 
Sql :: get latest record in sql 
Sql :: oracle new column 
Sql :: mysqldump: couldn 
Sql :: select tables from mysql database 
Sql :: postgresql change value in column 
Sql :: mysql backup skip table 
Sql :: sql select all from table 
Sql :: mysql error incompatible with sql_mode=only_full_group_by 
Sql :: delete role postgres 
Sql :: delete a record from a table sqlite3 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =