Wednesday, August 29, 2012

The method to generate explain plan.






 Execute an explain plan command on a SELECT statement:



EXPLAIN PLAN FOR
SELECT * FROM emp E, dept D
   WHERE E.deptno = D.deptno
   AND E.ename='prabha';


Display the generated explain plan

SELECT * FROM TABLE(dbms_xplan.display)
-------------------------------------------------------------------------------
EXPLAIN PLANS SECTION
-------------------------------------------------------------------------------

1- Original
-----------
Plan hash value: 250240233
---------------------------------------------------------------------------
| Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
---------------------------------------------------------------------------
|   0 | SELECT STATEMENT   |      |     1 |    570|     10(60) |  00:00:01|
|*  1 |  HASH JOIN         |      |     1 |    57 |     6  (34)| 00:00:01 |
|*  2 |   TABLE ACCESS FULL| EMP  |     1 |    37 |     3  (34)| 00:00:01 |
|   3 |   TABLE ACCESS FULL| DEPT |     4 |    80 |     3  (34)| 00:00:01 |
---------------------------------------------------------------------------
 
Predicate Information (identified by operation id):
---------------------------------------------------
   1 - access("E"."DEPTNO"="D"."DEPTNO")
   2 - filter("E"."ENAME"='prabha')

21 rows selected.






ಶಾಲಾ ಮಕ್ಕಳಿಗೆ ಚೆಂದದ ಟ್ಯಾಬ್ಲೆಟ್ ಕೊಟ್ಟ ಶೆಟ್ಟರ್

 

ಕರ್ನಾಟಕದ ಮುಖ್ಯಮಂತ್ರಿ ಜಗದೀಶ್ ಶೆಟ್ಟರ್ ಅವರು ಶಾಲಾ ಮಕ್ಕಳಿಗಾಗಿಯೇ ವಿಶೇಷವಾಗಿ ವಿನ್ಯಾಸಗೊಳಿಸಿರುವ ಟ್ಯಾಬ್ಲೆಟ್ ವೊಂದನ್ನು ಬಿಡುಗಡೆ ಮಾಡಿದ್ದಾರೆ. ಆಪ್ ಟ್ಯಾಬ್ ಐಟೆಕ್ ಎಂಬ ಸಂಸ್ಥೆ ವಿನ್ಯಾಸಗೊಳಿಸಿರುವ ಈ ಟ್ಯಾಬ್ಲೆಟ್ ಬೆಲೆ 4,999 ರು ತಗುಲುತ್ತದೆ. ವಿಜ್ಞಾನ ಮತ್ತು ಗಣಿತ ವಿಷಯ ಅರಿತುಕೊಳ್ಳಲು ಈ ಟ್ಯಾಬ್ಲೆಟ್ ವಿದ್ಯಾರ್ಥಿಗಳಿಗೆ ಅನುಕೂಲಕರವಾಗಿದೆ ಎಂದು ಐಟೆಕ್ ಸಂಸ್ಥೆ ಹೇಳಿದೆ.
ಮಾರುಕಟ್ಟೆಯಲ್ಲಿ ಸುಮಾರು 20 ರಿಂದ 40 ಸಾವಿರ ರು ಬೆಲೆಬಾಳುವ ಟ್ಯಾಬ್ಲೆಟ್ ಗಳು ವಿದ್ಯಾರ್ಥಿಗಳಿಗೆ ಕಡಿಮೆ ದರದಲ್ಲಿ ದೊರೆಯುತ್ತಿದೆ. ಗ್ರಾಮೀಣ ಭಾಗದ ವಿದ್ಯಾರ್ಥಿಗಳು ಈ ಟ್ಯಾಬ್ಲೆಟ್ ನಿಂದ ಪ್ರಯೋಜನ ಪಡೆದುಕೊಳ್ಳಬೇಕು ಎಂದು ಸಿಎಂ ಶೆಟ್ಟರ್ ಹೇಳಿದ್ದಾರೆ.
ವಿದ್ಯಾರ್ಥಿಗಳಿಗೆ ಅವರ ಪಠ್ಯಕ್ರಮಕ್ಕೆ ಅನುಕೂಲಕ್ಕೆ ತಕ್ಕಂತೆ ಈ ಟ್ಯಾಬ್ಲೆಟ್ ವಿನ್ಯಾಸಗೊಳಿಸಲಾಗಿತ್ತು. ಇದಕ್ಕೆ ಇಂಟರ್ನೆಟ್ ಸೌಲಭ್ಯ ಒದಗಿಸಿಲ್ಲ. ಹಾಗಾಗಿ ವಿದ್ಯಾರ್ಥಿಗಳು ಪಠ್ಯ ವಿಷಯ ಬಿಟ್ಟು ಇತರೆ ವಿಷಯಗಳತ್ತ ಕಣ್ಣು ಹಾಯಿಸುವುದನ್ನು ತಪ್ಪಿಸಬಹುದು ಎಂದು ಸಂಸ್ಥೆಯ ಸಿಇಒ ಜೆಕೆ ಸುರೇಶ್ ಹೇಳಿದರು.
ಯುರೋಪಿಯನ್ ಕಂಪನಿಗಳ ಸಹಾಯ ಪಡೆದು ತಂತ್ರಜ್ಞಾನ ರೂಪಿಸಲಾಗಿದೆ. ಇದೇ ಮಾದರಿ ಟ್ಯಾಬ್ಲೆಟ್ ಗಳನ್ನು ವಿನ್ಯಾಸಗೊಳಿಸಿ ದೇಶಿ ಮಾರುಕಟ್ಟೆಗೆ ಪರಿಚಯಿಸಲು ಯುರೋಪಿಯನ್ ಕಂಪನಿ ಉತ್ಸುಕವಾಗಿದೆ. ಇದಕ್ಕೆ ಸರ್ಕಾರ ಸೂಕ್ತ ಸ್ಥಳಾವಕಾಶ ಒದಗಿಸುತ್ತದೆ ಎಂಬ ನಂಬಿಕೆ ಇದೆ ಎಂದು ಸುರೇಶ್ ಭರವಸೆ ವ್ಯಕ್ತಪಡಿಸಿದರು.


More: http://kannada.gizbot.com/computer/tablet-for-children-app-tab-itech-bangalore

 

 

2 types of cursors .



  •   Implicit Cursor.
  •   Explicit Cursor.

Implicit cursor: Oracle will implicitly creates an area for the DML operations.

Explicit cursors :are created by the programmer.






Restrictions on Cursor Variables
  • cannot assign NULL
  • cursor's values cannot be stored in table columns
  • cannot be used with associative array, nested tables and varray
  • cannot be use one where the other is expected
  • cannot reference a cursor variable in cursor FOR LOOP
  • cannot direclty goto any columns
  •  u cannot declare cursor in package specification
  • not allowed when using db links




ref cursor

Its a run time query binding with the cursor variable.
Ref cursors are 2 types
 

  • 1. weak Ref cursor
  • 2. Strong Ref cursor


Monday, August 27, 2012

Multiplication Tables 12* 12









List of Indian state and Capital





State
                 Capital
Andhra Pradesh
Hyderabad
Arunachal Pradesh
Itanagar
Assam
Dispur
Bihar
Patna
Chattisgarh
Raipur
Goa
Panaji
Gujarat
Gandhinagar
Haryana
Chandinagar
Himachal Pradesh
Simla
Jammu And Kashmir
Srinagar ( Summer )
Jharkhand
Ranchi
Karnataka
Bangalore
Kerala
Thiruvananthapuram
Madhya Pradesh
Bhopal
Maharashtra
Mumbai
Manipur
Imphal
Meghalaya
Shillong
Mizoram
Aizawl
Nagaland
Kohima 
Orissa
Bhubaneshwar
Punjab
Chandigarh
Rajasthan           
Jaipur
Sikkim          
Gangtok
Tamil Nadu
Chennai
Tripura
Agartala
Uttar Pradesh   
Lucknow
Uttaranchal
Dehradun
West Bengal
Calcutta

TRIGONOMETRIC VALUES FOR COMMON ANGLES

List of All Prime Ministers of India