Hi !
This should work:
select add_months(to_date(max(YourDate)), -6) from <table_name>;
The other previous will give u error : invalid character.
To avoid this error, convert the max(yourdate) into date first and then use the add_months function.
thx,
Kavy
Give a try to this:
1)shutdown the database
2) at the o/s prompt (oracle's default directory), give the following without any soace anywhere:
c:\...>oracle_sid=orcl
3) start the database
4) try connecting now.
A global variable is automatically created when a variable is prefixed with the keyword "global".
So, when i say
:global.g_empno :=:blk.empno;
the global variable called "g_empno" is created and a value from the block "blk", column "empno" is assigned to...
Hi Prosenjit,
firstly, one has to decide what kind of table it is. wether it is a lookup table(master table) or any custom table.
Based in this we can go to the next question : What kind of data will be stored, ie. how often data will be written to the table(insert), how often updated and how...
Hey!
If u are talking about SQL*Plus, then goto Options Menu> Environment
There, in the Scren buffer. Increase the size of Buffer length to anything beyond 1000(which is the default)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.