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...


What keyword does an SQL SELECT statement use for a string
search?

Answers were Sorted based on User's Feedback



What keyword does an SQL SELECT statement use for a string search?..

Answer / sunil1405

SELECT FNAME WHERE FNAME LIKE 'S%';

Is This Answer Correct ?    6 Yes 0 No

What keyword does an SQL SELECT statement use for a string search?..

Answer / kirtish srivastava

Like is used with where clause to search,update, and delete a record using wild cards.

Example:-
To Search;-

select * from Employee where Name like 'a%'

Note;- Search all records whose employee name is stared from a character.

To Update:-

update Employee set Name='amit' where Name like 'a%'

update all records with name amit whose employee name is started from a character.

To Delete:-

delete from Employee where Name like 'a%'

Delete all records whose employee name is started from a Character.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

what is difference between Static call and Dynamic call? How does it function?

1 Answers   Syntel,


What is db2 purescale?

0 Answers  


What is db2 connect?

0 Answers  


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

0 Answers  


What is the use of with ur in db2?

0 Answers  


What is reorg in database?

1 Answers  


what is diffrence b/w file-aid tool and file-aid utility???

1 Answers  


What is the function of the Data Manager?

2 Answers  


What is the difference between cursor stability and repeatable read isolation levels?

0 Answers  


How many clustering indexes can be defined for a table?

2 Answers  


Name some fields from SQLCA

1 Answers  


What are concurrency issues?

0 Answers  


Categories