Oracle: Using the AFTER INSERT and AFTER UPDATE triggers

A database trigger is a stored procedure that automatically executes whenever an event occurs. The event may be insert-delete-update operations. Oracle initiates an ‘AFTER INSERT’ trigger after an insert event has occurred and an ‘AFTER UPDATE’ trigger after an update event has occurred. Let’s see an example for ‘AFTER INSERT’ trigger. Syntax: CREATE or REPLACE TRIGGER trigger_name AFTER INSERT ON table_name FOR EACH ROW DECLARE variable declarations BEGIN trigger statement END; First problem: We want to insert a record…

Read More

Posted in Oracle Tagged , Comments Off on Oracle: Using the AFTER INSERT and AFTER UPDATE triggers
How to clear the browsing history on your Android Tablet

The process of clearing the history of all the sites from the browser on your Android-based Tablet is slightly different if you’re using an Android phone. Note: this guide assumes you are using the default web browser for Android. If you’re using a 3rd party web browser that you downloaded from the Android Market (like Firefox, Opera or Dolphin HD) – these steps will not clear the history from those browsers. Launch the Android Browser on your Tablet. Select…

Read More

Posted in Android Tagged , Comments Off on How to clear the browsing history on your Android Tablet
Error "There is no script engine for file extension" when running .js files

Symptom When you attempt to run a .js (JScript Script File) file, one of the following errors may occur: Can’t find script engine “JScript” for script “filename.js“. There is no script engine for file extension “.js”. Resolution This happens if the .js file class data is missing or incorrect. Follow these steps to resolve the problem: Instructions for Windows Vista or Windows 7 (tested and it works in Win7) Open an Elevated Command Prompt window. To do so, click…

Read More

How to Change the Screen Orientation in Windows

Here is a little trick that you can do to change the screen orientation in Windows XP. Hold down the Ctrl + Alt keys and press any of the arrow keys. The screen will re-orient to match the arrow key that you pressed as shown in the image below.   A few practical uses I can think of for using this trick is: change the orientation from landscape to portrait while using a Tablet PC or, if you want…

Read More

Posted in All Windows Tagged Comments Off on How to Change the Screen Orientation in Windows
How to Fix Firefox New Tab Defaulting to AVG Secure Search

AVG is the most trusted free antivirus and anti-spyware security software for Windows. For home users are free but lately they have been adding add-ons to browsers that was driving me crazy. One of them is making you default search engine or you home page to AVG Secure Search:   Typically as tech guy I don’t like software changing my preferences so I found how to remove that option from fire fox. It may just work well with other…

Read More