If suppose in a table ship(name,year),find ship name having
first and last name(i.e having space in between)
ex: SAINT LOUIS,JET LAKE.
Answers were Sorted based on User's Feedback
Answer / challa yerriswamy
select name,year
from ship
where name like '% %';
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / sandeep modapathi
select name from ship where where PATINDEX ('% %',name )>0
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / suresh
select name,year
from ship
where name like '%,%';
| Is This Answer Correct ? | 1 Yes | 8 No |
Answer / dhiraj
select Name
from ship
where name in ('Saint Louis','Jet Lake')
| Is This Answer Correct ? | 1 Yes | 10 No |
what is checksum in sql server.........???
What is application role in sql server database security? : sql server security
What is meant by dirty read?
How can we get count of the number of records in a table?
What purpose does the model database server?
what is database replication? : Sql server database administration
How to create prepared statements using odbc_prepare()?
What are the properties of sub-query?
Can we hide the definition of a stored procedure from a use?
What is a Stored Procedure?
How do I create a partition table in sql server?
Explain trigger and its types?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)