What keyword does an SQL SELECT statement use for a string
search?
Answers were Sorted based on User's Feedback
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 |
What is an inner join, and an outer join ?
what is different three logs in DB2?
why we create view.
how can u understand the end of the table ?
Describe what a storage group(STOGROUP) is?
Usually, which is more important for DB2 system performance - CPU processing or I/O access?
How is the SUBSTR keyword used in sql?
Can All Users Have The Privilege To Use The SQL Statement Select (DML)?
What is db2 catalog database?
how we will do null data selection in cobol-db2 program
what is difference between Static call and Dynamic call? How does it function?
What does db2 stand for?