Monday, October 28, 2013
Thursday, October 17, 2013
How to write Procedure Block Name in PL/SQL simple example
----------------------------------------
Syntax:
----------------------------------------
CREATE [OR REPLACE] PROCEDURE [PROCEDURE_NAME](ARGUMENTS {IN / OUT / INOUT} DATA-TYPE)
IS/AS
CURSOR DECLARATION;
VARIABLE DECLARATION;
BEGIN
SQL & PL/SQL STATEMENTS;
EXCEPTION
ERROR HANDLING;
END;
/
Syntax:
----------------------------------------
CREATE [OR REPLACE] PROCEDURE [PROCEDURE_NAME](ARGUMENTS {IN / OUT / INOUT} DATA-TYPE)
IS/AS
CURSOR DECLARATION;
VARIABLE DECLARATION;
BEGIN
SQL & PL/SQL STATEMENTS;
EXCEPTION
ERROR HANDLING;
END;
/
Labels:
BCA Semester-3,
SQL
Wednesday, October 9, 2013
Virtual Base Class ( Student, Marks, Behaviour, ECA & Result ) C++ Program
#include<conio.h>
#include<iostream.h>
class student
{
public:
int roll,id;
char name[20],std[6];
void getstudent()
{
cout<<"\n\tEnter Student Details \n";
cout<<"\nEnter ID No :";cin>>id;
cout<<"\nEnter STD : ";cin>>std;
cout<<"\nEnter Name : ";cin>>name;
}
};
#include<iostream.h>
class student
{
public:
int roll,id;
char name[20],std[6];
void getstudent()
{
cout<<"\n\tEnter Student Details \n";
cout<<"\nEnter ID No :";cin>>id;
cout<<"\nEnter STD : ";cin>>std;
cout<<"\nEnter Name : ";cin>>name;
}
};
Labels:
BCA Semester-3,
C++,
Homework
Thursday, October 3, 2013
Multiple Hierarchical Inheritance C++ Program ( Gold, Cash, Properties )
#include<conio.h>
#include<iostream.h>
class MFMother
{
double gold,properties;
public:
double togold,toopro;
void mgetdata()
{
cout<<"\nEnter GMother's Details ";
cout<<"\nEnter Gold in Kg :";cin>>gold;
gold = gold*30200;
#include<iostream.h>
class MFMother
{
double gold,properties;
public:
double togold,toopro;
void mgetdata()
{
cout<<"\nEnter GMother's Details ";
cout<<"\nEnter Gold in Kg :";cin>>gold;
gold = gold*30200;
Labels:
BCA Semester-3,
C++,
Homework
Subscribe to:
Posts (Atom)