Simple search in Sybase |
|
A simple search is what you want when you know exactly the data you are looking for and you know which column and table it is in.
At the end of each command press the space-bar or press enter before continuing the next step.
select
phone, address
from
where
=
"
"
go
If there is a value that matches your search, you see the results from your search and
(1 row affected)
The number may be 2 or 3, or larger if your search matches more
than one row.
For example, to find John Jones in a table called rolodex and return all the columns, type
select * from rolodex where name=John Jones
go
|
Maintained by John Shipman, john@nmt.edu;
original by Steve Anderson
Last updated: 1997/06/24 23:54:43 UT URL: http://www.nmt.edu/tcc/help/db/sybase/simple_search.html |
|