Getting Started with Web applications development with servlets and JSP - Part 5: Filters
First Time? You can support us by signing up. It takes only 5 seconds. Click here to sign up. If you already have an account, click here to login.
  • Day 74: ROW_NUMBER, RANK, DENSE_RANK, NTILE in Oracle

    Nov 26 2011 4:09AM | niladribiswas | blog
    Row_Number() - Assigns sequential numbers to the records of a result-set or to the records within groups of a result-set Rank() - Returns the rank of each row within the partition of a result set. Dense_Rank() - Returns the rank of rows within the partition of a result set, without any gaps in the...
    Niladri Biswas
    5 · 29% · 6617
  • Day 73: Merge Statement in Oracle

    Nov 25 2011 4:07AM | niladribiswas | blog
    Purpose: It is a DML statement that is use for performing the Insert / Update or Delete statement to the target table based on the conditions supplied. It is introduce from Oracle 9i Let us see an example to understand this one First let us create a source table as under CREATE TABLE tblStudent...
    Niladri Biswas
    5 · 29% · 6617
  • Day 72: Synonym in Oracle

    Nov 24 2011 4:05AM | niladribiswas | blog
    Drop Synonym Players; Synonym dropped We have the same synonym in Sql Server too. Hope this helps.Thanks for reading...
    Niladri Biswas
    5 · 29% · 6617
  • Day 71: Sequence in Oracle

    Nov 23 2011 4:00AM | niladribiswas | blog
    Purpose:Generates auto number field in tables. Syntax CREATE SEQUENCE sequence_name MINVALUE value MAXVALUE value START WITH value INCREMENT BY value CACHE value; We can create a sequence as under SQL> CREATE SEQUENCE MySequence 2 MINVALUE 1 3 MAXVALUE 10...
    Niladri Biswas
    5 · 29% · 6617
  • Day 70: Dual table in Oracle

    Nov 22 2011 3:57AM | niladribiswas | blog
    Purpose: It is a dummy table in Oracle with one row and one Varchar2 column whose length is 1. It's structure looks as under SQL> Desc Dual; Name Null? Type ----------------------------------------- -------- ------------- DUMMY ...
    Niladri Biswas
    5 · 29% · 6617
  • Day 69: SOUNDEX function in Oracle

    Nov 21 2011 11:16PM | niladribiswas | blog
    Purpose: It compares the field values that sounds like the supplied input word. Syntax: SOUNDEX(Value to compare) SQL> Select * From tblPlayers 2 Where Soundex(BELONGSTO) = Soundex('Lindia'); PLAYERID PLAYERFIRS PLAYERLAST BELONGSTO DOB FEEPERMATCH ---------- ---------- ----...
    Niladri Biswas
    5 · 29% · 6617
  • Day 68: NANVL function in Oracle

    Nov 20 2011 11:12PM | niladribiswas | blog
    Purpose: It replaces a value for Not a number while dealing with Binary_Float or Binary_Double values. Syntax: NANVL(Binary_Float/Binary_Double values, replace with) Let us create a test environment Create Table tblTestNANVL(Val1 Binary_Float, Val2 Binary_Double); Insert Into tblTestNANVL Valu...
    Niladri Biswas
    5 · 29% · 6617
  • Day 67: LNNVL function in Oracle

    Nov 19 2011 11:08PM | niladribiswas | blog
    Purpose: Evaluates a condition when the operand(s) of the condition is null. Syntax: LNNVL(Condition) LNNVL function works on the below principle Condition Value LNNVL Value True False False True Unknown/Null True Let us first create a test environment as under ...
    Niladri Biswas
    5 · 29% · 6617
  • Day 66: NLSSORT in Oracle

    Nov 18 2011 11:03PM | niladribiswas | blog
    Purpose: Sorts characters by using string of bytes. It can be use both as a comparison and sorting parlance. Syntax: NLSSORT(Sort_Column, NLS_PARAM) Where, Sort_Column => Column to sort NLS_PARAM => It takes the form of NLS_SORT = sort where <i>sort</i> is binary or linguistic sort sequence. ...
    Niladri Biswas
    5 · 29% · 6617
  • Day 65: Insert into multiple tables from a single table in Oracle by using the INSERT ALL statement

    Nov 17 2011 11:01PM | niladribiswas | blog
    In Oracle, it is possible to split the record based on the columns and to insert them into multiple tables at the same time. Consider the below case where we have the tblEmployee as our base table SQL> Select * From tblEmployee; EMPID EMPNAME ...
    Niladri Biswas
    5 · 29% · 6617
Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 Next

Managed Windows Shared Hosting by OrcsWeb

Copyright © Beyondrelational.com