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 does db2 stand for?
How does db2 sample database connect?
how to resolve -805. give clear explination for that
What is dynamic SQL?
can you use symbolic parameters in JOB?
What are the two types of logging in the db2 database? Explain them.
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
What does db2 mean?
Write a query to extract first 5 characters of a name in the column Stud_Name?
What is db2 look?
Update command
can we update the table by using cursors can anyone post the query?