Is there a way I could store multiple objects of different types in a container, say, a vector or map or an array?
e.g
template <class T>
class Holder
{
public:
T * m_ptr;
Holder(T * ptr)
{
m_ptr = ptr;
}
};
class Cls1
{
xxx...
};
class Cls2...
The previous posts were about closing the ports that were opened and bound to a particular process.
I'm concerned about the idle ports.
These ports are not bound (LISTEN) by any application.
These are ports that are just open and idle.
Though idle, these ports take up resources.
My question is...
I did netstat -na | grep -i idle
Got lot of idle ports listed.
I understand that though idle, these ports still hold the resources.
Nearly 300 such ports are listed.
Is there a way / tool available to close these idle ports?
Sysinfo:
$ uname -a
SunOS xxx 5.10 Generic_127112-10 i86pc i386 i86pc
Oratcl throwing the mentioned error seems to be a known problem. I tried loading oratcl in HP-ux. Some site suggested that there is patch available for dld.sl...
I think after applying the patch, oratcl wud work fine.
Regs
LAx
Hi,
I got the below mentioned error, while trying to load the liboratcl3.3.sl (library for Oratcl).
Is this problem specific to unix or with the oratcl library.
I also tried to use "package require Oratcl". The same error appears...
What might be the problem ?
$...
Hi,
Is there any way to get a range of rows from a table.
For e.g to get rows 10 to 15 from a table ?
(ROWNUM is no good. Since > wont work with ROWNUM. We cant have query like this
SELECT * FROM EMP WHERE ROWNUM > 10 and ROWNUM < 15
)
Is there any other way ???
Regs
Lax
Hi,
Are there any packages available for database connectivity for unix (other than oratcl).
I need something like tclodbc (generalized one to connect to all the databases)
Regs
Lax
Hi,
I understand that triggers available can be extracted from the all_objects table. Is there any way to get the code of particular trigger? I mean, Does Oracle stores the code of triggers somewhere to extract?
Regs
Lax
Hi,
I understand that column names of table can be got from "cols" or "col" system table.
If I login as "system", I want to get the column names of table which belong to particular user/schema.
In the "cols" or "col" system table, there is...
Hi,
I'm looking for package similar to tclodbc, but for unix. Is there any package available for unix other than oratcl to communicate with oracle ?
Regs
Lax
Hi,
I'm using TCL 8.4 which has iwidgets package. I tried to make independent executable (.exe of tcl program which runs on a machine that has no TCL installed).
Since I'm using Iwidgets, an error pops up saying "Cannot find package Iwidgets". Is there any .dll for Iwidgets, so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.