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 the picture clause of the null indicator variable?
What is the syntax for creating a table in the db2 database?
What are bind parameters in db2?
What does DSNDB07 database do?
What is the result of open cursor statement?
what are the bind parameters?
What do you mean by cursor?
What is the information associated with sysibm.syslinks table?
How to resolve -407 sql code in DB2?
What if we fail to give values in columns declared as NOT NULL ?
Is it possible to update a primary key value? If not, what is the error code given? If yes, can more than 1 primary key column be updated at a time?
What is db2 catalog database?