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 |
i have a db2 variable how do u declare tht into working storage section ?
What is explain plan in db2?
i tried to copy some records from microsoft excel to as-400 physical file through "Bosanova" emulation. Out of 14000 records only 12000 records copies and subsequently programe started to hang. Then, i closed the program forcefully. I did' under stand the problem. Also when i try to compile the physical file it is showing as "The file in use". How to overcome this problem?
How do run the JCL which has 25 steps by skipping the following steps 5, 10,15 and 25 without using COND statement
Is it possible to create an Instance in DB2 using DB2 Control Center ?
If the base table underlying a view is restructured, eg. attributes are added, does the application code accessing the view need to be redone?
What is a base table?
What can the Locate option of the Repair Utility accomplish?
the dd name for ksds is dest1 and what is the dd name for alternate index of ksds ? a.dest b.dest1 c.dest1a d.dd1
What's the maximum number of characters that a tablename can have?
What is collection in db2 bind?
What are the four lockable units for DB2?