• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

pl sql exist 2 spaces between the names

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
enrique_aeo
Asked:
enrique_aeo
1 Solution
 
Steve WalesSenior Database AdministratorCommented:
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
 
awking00Commented:
where instr(name,'  ') > 0
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now