I'm not habituated with this blogging skill - since i'm a not a very old here.
I may be wrong - but today after reading many blogs - i felt we are really missing something.
Now, We all are alone and desperately want to get cordial relationship and attention which we lacks in our home or with our childhood friends(Not always true...).
Question is - why are we going for this kind of deliberate exposure? I think we are miserably lonely even we have cell phone, mail and other latest gizmo.
I'm not pessimistic. But, this is what currently happening among all of us. Being a software developer i could hardly get my time to spent with my family & friends. And, moreover the stress has a strong impact in our personal life, too.
I have to attend office party quite frequently. But, did we really enjoy that? To the some extent yes. But, short lived.
But, think about your childhood days where you and your most beloved friends or relatives enjoyed every seconds of events like Pre-Puja Shopping, Mohaloya (Auspicious days for almost all the Bengali) etc. In Mohaloya, we wake up in the early morning. Some senior person from our family turned on the radio. Everyone sit and listening it with home made snacks & privileged tea.
Think about those days when we used to fight with our neighbors as part of a big battle between Mohon Bagan & East Bengal by listening it in someone's house. It is still presents but transformed into much more corporate way. Now, we have latest cell where i can listen live commentary with my new cool blue tooth handset. After all we are developing in a massive rate. But lost the cordiality, the essence of bonding.....
Don't you think - that is most cherished treasure you have spent?
I'm not a orthodox person and never support that old is always gold. But, few things certainly cannot be overlooked, and specially the relationship with others. In many cases, we are very much protective and maintains some strict boundaries.
Now, we also ignore our people even if we find them in trouble. We keep our eyes closed - so that at the end of the day you don't have to feel guilty about what you have done. Rather, you can convince yourself by saying - "You actually didn't notice - what was happen there". In some situation situation force us to do so. But, still there are instances when we could act - but escaped without paying attention due to complex and aggressive environment. Are we really progressing? When we are in danger - we expect to get help from others. But, when somebody really needs help - we forget our old days.
May be many of my new friends from here who are reading my blog certainly differ with me.
I would like to hear from you guys. It's up to you to decide. Will you?
Satyaki De.
Oracle Certified

Me

About Me
I love to follow all the latest tech shows like Click in BBC or technological programs in CNN or from Gadget Guru in NDTV and so on. Love to watch Suspense thriller and wants to have spicy food. That's a slice of me. :)
Readers
Visitors
Search This Blog
Blog Archive
Labels
- 14 (1)
- alter (1)
- analytic function (2)
- BI Reports (1)
- bonding (1)
- break (1)
- burden (1)
- call (1)
- cast (1)
- clob (1)
- close (1)
- code (1)
- combining (1)
- comma-separated (1)
- commit (1)
- connect by (1)
- create or replace type (3)
- data warehouse (1)
- dbms_debug_vc2coll (1)
- dbms_dwrite_file (1)
- dbms_java (1)
- dbms_xmlgen (1)
- desc (1)
- escape (1)
- essence (1)
- exit (1)
- exposure (1)
- extend (1)
- extends (1)
- feel (1)
- filenotfoundexception (1)
- filepermission (1)
- friends (1)
- function (1)
- getxmltype (1)
- gizmo (1)
- grant (1)
- grant_permission (1)
- hr (1)
- ioexception (1)
- java (1)
- lag (1)
- lonely (1)
- loop (1)
- member function (1)
- member procedure (1)
- mohaloya (1)
- NOTFOUND (1)
- null (1)
- objects (2)
- on (1)
- Online Bi Reports (1)
- open (1)
- operating system (2)
- oracle (1)
- oracle directories (1)
- order by (1)
- OTN (1)
- overloading (1)
- overlooked (2)
- partition (1)
- pattern matching (1)
- pessimistic (1)
- pl sql (1)
- polymorphism (1)
- println (1)
- puja (1)
- read (1)
- ref cursor (1)
- regexp_replace (2)
- regexp_similar (1)
- regexp_substr (2)
- regular expression (2)
- relationship (1)
- replace (1)
- return (1)
- rpad (1)
- scott (1)
- select (1)
- serveroutput (1)
- snippet (2)
- society (1)
- sql (2)
- stress (1)
- sys_refcursor (1)
- table (1)
- Teradata (1)
- v$version (1)
- view (1)
- vpdb (1)
- when (1)
- where (1)
- wm_concat (1)
- write (1)
- xml (1)
- XMLAGG (1)
- XMLELEMENT (1)
- XMLFOREST (1)
- XMLROOT (1)
- xquery (1)
Posted by
Satyaki De
Sunday, August 17, 2008
comments (4)
Labels:
bonding,
burden,
escape,
essence,
exposure,
feel,
friends,
gizmo,
lonely,
mohaloya,
overlooked,
pessimistic,
puja,
relationship,
society,
stress
Posted by
Satyaki De
Sunday, August 19, 2007
Hi!
Friends, this page mainly deals with the basic of oracle sql & pl/sql. Here, i'm going to present many useful Oracle snippets which can be plugged into your solution. Many of the snippets which are going to be part of this blog are conceptualize and coded by me and many cases i got the idea from our brilliant otn members. I'm sure you people will like all the snippets as useful bricks. Very soon i am going to post many oracle sql & pl/sql .
Here i'm posting some useful SQL snippets which can be plugged into your environment -
SQL:
1. Dynamic Table Alteration:
Here is the sample code that demonstrate this -
Here i'm posting some useful SQL snippets which can be plugged into your environment -
SQL:
1. Dynamic Table Alteration:
Here is the sample code that demonstrate this -
scott>select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.09
scott>
scott>create table test_dummy
2 (
3 a varchar2(10)
4 );
Table created.
Elapsed: 00:00:05.00
scott>
scott>
scott>alter table &tab add (& col varchar2 ( 10 ));
Enter value for tab: test_dummy
Enter value for col: b
old 1: alter table &tab add (& col varchar2 ( 10 ))
new 1: alter table test_dummy add (b varchar2 ( 10 ))
Table altered.
Elapsed: 00:00:01.19
scott>
scott>desc test_dummy;
Name Null? Type
-------------------- -------- --------------
A VARCHAR2(10)
B VARCHAR2(10)
2. Alternative Of Break Command:
scott>
scott>SELECT lag(null, 1, d.dname)
over (partition by e.deptno order by e.ename) as dname,
2 e.ename
3 from emp e, dept d
4 where e.deptno = d.deptno
5 ORDER BY D.dname, e.ename;
DNAME ENAME
-------------- ----------
ACCOUNTING CLARK
KING
MILLER
RESEARCH ADAMS
FORD
JONES
SCOTT
SMITH
SALES ALLEN
BLAKE
JAMES
DNAME ENAME
-------------- ----------
MARTIN
TURNER
WARD
14 rows selected.
Elapsed: 00:00:00.52
scott>
3. Can we increase the size of a column for a View:
SQL> create or replace view v_emp
2 as
3 select ename
4 from emp
5 /
View created.
SQL> desc v_emp
Name Null? Type
----------------------------------------- -------- ----------------------------
ENAME VARCHAR2(10)
SQL>
SQL> create or replace view v_emp
2 as
3 select cast (ename as varchar2 (30)) ename
4 from emp
5 /
View created.
SQL> desc v_emp
Name Null? Type
----------------------------------------- -------- ----------------------------
ENAME VARCHAR2(30)
And here is the silly way to do this -
create or replace view temp_vv
as
select replace(ename,' ') ename
from (
select rpad(ename,100) ename
from emp
);
4. Combining two SQL Into One:
satyaki>
satyaki>select e.empno,e.deptno,d.loc "DEPT_10"
2 from emp e, dept d
3 where e.deptno = d.deptno
4 and d.deptno = 10;
EMPNO DEPTNO DEPT_10
---------- ---------- -------------
7782 10 NEW YORK
7839 10 NEW YORK
7934 10 NEW YORK
Elapsed: 00:00:00.04
satyaki>
satyaki>select e.empno,e.deptno,d.loc "DEPT_OTH"
2 from emp e, dept d
3 where e.deptno = d.deptno
4 and e.deptno not in (10);
EMPNO DEPTNO DEPT_OTH
---------- ---------- -------------
7369 20 DALLAS
7876 20 DALLAS
7566 20 DALLAS
7788 20 DALLAS
7902 20 DALLAS
7900 30 CHICAGO
7844 30 CHICAGO
7654 30 CHICAGO
7521 30 CHICAGO
7499 30 CHICAGO
7698 30 CHICAGO
11 rows selected.
Elapsed: 00:00:00.04
satyaki>
satyaki>
satyaki>select a.empno,(
2 select d.loc
3 from emp e, dept d
4 where e.deptno = d.deptno
5 and e.empno = a.empno
6 and d.deptno = 10
7 ) "DEPT_10" ,
8 (
9 select d.loc
10 from emp e, dept d
11 where e.deptno = d.deptno
12 and e.empno = a.empno
13 and d.deptno not in (10)
14 ) "DEPT_OTH"
15 from emp a
16 order by a.empno;
EMPNO DEPT_10 DEPT_OTH
---------- ------------- -------------
7369 DALLAS
7499 CHICAGO
7521 CHICAGO
7566 DALLAS
7654 CHICAGO
7698 CHICAGO
7782 NEW YORK
7788 DALLAS
7839 NEW YORK
7844 CHICAGO
7876 DALLAS
EMPNO DEPT_10 DEPT_OTH
---------- ------------- -------------
7900 CHICAGO
7902 DALLAS
7934 NEW YORK
14 rows selected.
Elapsed: 00:00:00.30
satyaki>
Regards.
Satyaki De.
Labels:
alter,
analytic function,
break,
combining,
connect by,
desc,
lag,
null,
oracle,
order by,
overlooked,
partition,
pl sql,
replace,
rpad,
sql,
view,
where
Subscribe to:
Comments (Atom)