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 does db2 stand for?

0 Answers  


How does db2 sample database connect?

0 Answers  


how to resolve -805. give clear explination for that

2 Answers   IBM,


What is dynamic SQL?

1 Answers   ADP,


can you use symbolic parameters in JOB?

5 Answers   IBM,


What are the two types of logging in the db2 database? Explain them.

0 Answers  


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

0 Answers  


What does db2 mean?

0 Answers  


Write a query to extract first 5 characters of a name in the column Stud_Name?

1 Answers   RBS,


What is db2 look?

0 Answers  


Update command

1 Answers  


can we update the table by using cursors can anyone post the query?

5 Answers   DELL, HCL,


Categories