Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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