Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you optimize SQL queries ?

Answer Posted / shail

Use function based index.
Ex: you have a date column and a simple index on it.
maximum queries referring to this column of this table
are like trunc(date_column). Then the index on this column
will be ignored. For this you can have function based index
like trunc(date_column) on this column.
This will speed up your sqls.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is prepared statement in sql?

1004


What are the basic techniques of indexing?

1024


can a stored procedure call itself or recursive stored procedure? : Sql dba

965


Can we use pl sql in mysql?

966


What is structural independence and why is it important?

982


What is clause in sql?

1063


Why we use stored procedure instead of query?

958


Is foreign key mandatory?

947


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1055


How to prepare for oracle pl sql certification?

1015


Is sql workbench free?

944


What is union?

1088


What is a function in oracle pl sql?

987


What is sql in oracle?

1010


How do I count duplicates in sql?

1038