Solved

pl sql exist 2 spaces between the names

Posted on 2014-04-25
2
388 Views
Last Modified: 2014-04-25
I have the certainty that in some values ¿¿in this column S_FIRST_NAME exist 2 spaces between the names.

How I can know if 2 or more spaces with other S_LAST_NAME column, this data is important before modifying my stored procedure.
0
Comment
Question by:enrique_aeo
2 Comments
 
LVL 22

Accepted Solution

by:
Steve Wales earned 500 total points
ID: 40023121
Something simple like

select S_LAST_NAME from table where S_LAST_NAME like '%  %'

would find you two or more spaces in a column.

(That is two spaces in between the percent signs).
0
 
LVL 31

Expert Comment

by:awking00
ID: 40023187
where instr(name,'  ') > 0
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to take different types of Oracle backups using RMAN.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now