Click here to Skip to main content
15,922,166 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
am creating the insert procedure in oracle

create or replace procedure pro(name varchar(30))
as
begin
insert into emp(emp_name) values(name);
commit
end;

in that procedure parameter (name) how to make it an object
Posted
Comments
OriginalGriff 13-Apr-12 3:28am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
samu4u 13-Apr-12 6:32am    
If somebody asking the question means, they are expecting some answer.They thinking that ," others can understand what i suppose to mean ".

1 solution

I think you have to insert an object instead of name...

In that case, you can serialize the object and can convert it into string..

To serialize an object, you need the object to be serialized, a stream to contain the serialized object, and a Formatter. System.Runtime.Serialization contains the classes necessary for serializing and deserializing objects.

see link http://msdn.microsoft.com/en-us/library/ms233843.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900