





Get a List of Sqlservers to Run on a Local Network Through Query Analyzer
// this Command will return the server Names running on local NetworkExec Master..xp_CmdShell ‘osql -L’OUTPUT Eg:Servers: Server1 Server2 Server3 Server4 Server5
// this Command will return the server Names running on local NetworkExec Master..xp_CmdShell ‘osql -L’OUTPUT Eg:Servers: Server1 Server2 Server3 Server4 Server5
Include the following definition: #include The function definition goes like: JNIEXPORT jboolean JNICALL MethodName( JNIEnv *env,/*env variable: must*/ jstring functionId,/*String variable*/ jobject objectId/*Object variable*/){ const char *str = env->GetStringUTFChars( functionId,
There are several cases where you may write algorithms only to find missing numbers in a sequence. There is an efficient way to do this. Let’s say you have a
You can read a key from a particular path in registry by using the RegQueryValueEx function. The following piece of code reads a particular key under HKEY_LOCAL_MACHINESoftwareDevx: void GetKeyValue(char *key,
Here’s the code: public class IncreaseCounter { public static void displayURL(String url) { boolean windows = isWindowsPlatform(); String cmd = null; try { if (windows) { // cmd = ‘rundll32