Search
 
SCRIPT & CODE EXAMPLE
 

SQL

if else in plsql

declare 
a integer := 30; 
b integer := 40; 
begin 
if (a>10) then 
dbms_output.put_line(' a is greater than b'); 
else 
dbms_output.put_line('a is greater than 10'); 
end if; 
dbms_output.put_line('value of a : ' || a); 
end;
Comment

PREVIOUS NEXT
Code Example
Sql :: ms sql print from new line 
Sql :: mysql clear screen 
Sql :: if else in postgresql 
Sql :: sql select last id 
Sql :: generate a random otp in sql server 
Sql :: check duplicate values plsql 
Sql :: sql first 
Sql :: create index mysql cli 
Sql :: mysql show views 
Sql :: mysql store ip address 
Sql :: sql create view 
Sql :: postgresql check privileges on schema 
Sql :: sql pad left 0 
Sql :: sql server change schema of a table 
Sql :: phone no data type in sql server 
Sql :: oracle apex message quit website 
Sql :: view databases in mysql 
Sql :: rename a table in sql server 
Sql :: sql query to select records entered in last 24 hours 
Sql :: nullif postgresql 
Sql :: sql update statement 
Sql :: mysql export database command line 
Sql :: mysql grant all on all databases 
Sql :: sql server insert inner join 
Sql :: c# sqldatareader to list 
Sql :: alter table myisam to innodb 
Sql :: sql server last character in string 
Sql :: check database sessions oracle 
Sql :: postgres update single column 
Sql :: average salary in sql 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =