devxlogo

Tip Bank

Running an EXE Using a Trigger

Question: I want to run an .exe using a trigger. Is there any stored procedure for running an .exe? For example, I want to run Notepad. Answer: The stored procedure

Log Error

Question: I am receiving this error in my log: connections rejected: no calls allowed for sqlexec.listener-thread err: = -27002 oserr: = 0errstr = : No connections allowed in Dynamic server

Informix SQL

Question: Are Transact SQL stored procedures currently running on a SQL Server 7.0 database compatible with a Informix database? Answer: No, you’ll have to translate them into Informix’s stored procedure

Use printStackTrace() method to generate stack

Stack trace is a kind of call stack, which maintains the call sequence of methods at any given point in time. Throwable class in Java provides a method called “printStackTrace()”

Passing Objects in a Function

In Java, objects are passed to a function by reference, so you can manipulate the object data in the function and have that reflected outside the function also. If you

Interspersed Code and Declarations

The two previous tips discussed new features that were added to C99, and which C++ doesn’t support. This time I would like to present one of the changes that were

Reading a String from a File

classes overload the operators >> for reading from a file and word) // as long as sizeof hasn’t been reached { vs.push_back(word); //copy word to vector }}