<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>dbms on Angel Vyas</title><link>https://angelvyas.com/tags/dbms/</link><description>Recent content in dbms on Angel Vyas</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 25 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://angelvyas.com/tags/dbms/index.xml" rel="self" type="application/rss+xml"/><item><title>DBMS Practise</title><link>https://angelvyas.com/posts/exam/dbms/</link><pubDate>Wed, 25 Jun 2025 00:00:00 +0000</pubDate><guid>https://angelvyas.com/posts/exam/dbms/</guid><description>
plsql to update salary of employee 20% manager, 15% salesman and 10% for others. declare job emp.job%type; esal emp.sal%type; eno emp.eit%type; inc number(7,2); begin eno:=: eid; select job into ejob from emp where eid=eno; if ejob='Manager' then inc:=0.2; update emp set salary =salary+salary * inc where eid=eno; dbms_output.put_line('Manager sal is updated'); else if inc:=0.15; update emp set salary=salary+salary * inc where eid=eno; dbms_output.put_line('others sal is updated); end if; end;
Write a Procedure for Fibonacci series create or replace procedure fib(n number) as a number:=0; b number:=1; c number; i number; begin dbms_output.</description></item></channel></rss>