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 the difference between views and stored procedures? Can we have input parameters for views?
How fixed length strings are truncated and padded?
What are the different ways you can create databases in sql server?
whate is advantages of sql server 2000
What is the use of keyword with encryption.
what is web server?
What is Peer to peer Replication?
1 Answers CarrizalSoft Technologies, HCL,
What are the purpose of Normalisation?
What are alternate keys?
What is dbcc? Give few examples.
if 3 duplicate records in a table,i want to delete 2 duplicate records by keeping 1 as it is,how?
How to connect sql server management studio express to sql server 2005 express?
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)