Home » SQL & PL/SQL » SQL & PL/SQL » Declare Variable
Declare Variable [message #253136] Sun, 22 July 2007 21:40 Go to next message
naveenkumar001
Messages: 62
Registered: July 2007
Location: Bangalore
Member

Hi,

First i like to Thank all the users for helping me for clarifying my doubts,it has helped me a lot.
Here i am with one more question:-

In java if we want to decalre a variable and print that variable value we will do as below:-

int number=101;
System.out.println(number);

But how we need to do that one in oracle?

Even though it seems to be a simple question it matters a lot for me. Please help me.

Regards,
Naveen
Re: Declare Variable [message #253142 is a reply to message #253136] Sun, 22 July 2007 23:18 Go to previous messageGo to next message
shanthkumaar
Messages: 156
Registered: February 2007
Location: india,chennai
Senior Member

hi

i searched and found this


regards
shanth.
Re: Declare Variable [message #253143 is a reply to message #253136] Sun, 22 July 2007 23:21 Go to previous messageGo to next message
Michel Cadot
Messages: 64103
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Java is a client program. What do mean "how we need to do that one in oracle?"?
In a client program? If it is Java do the same thing.
In a server program (i.e. PL/SQL), just have a look at PL/SQL, but server can't output to client.
In PL/SQL with client variable?
And so on...

Precise your question, what do you want?

Regards
Michel
Re: Declare Variable [message #253208 is a reply to message #253136] Mon, 23 July 2007 02:35 Go to previous message
Michel Cadot
Messages: 64103
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
I saw you posted this question in another forum and gave a feedback there, it would be nice if you do the same here too.

Regards
Michel
Previous Topic: Alter View........
Next Topic: to_date
Goto Forum:
  


Current Time: Sat Dec 03 01:22:25 CST 2016

Total time taken to generate the page: 0.22764 seconds