View previous topic :: View next topic
|
Author |
Message |
vijayakumar.yellala
New User
Joined: 19 Apr 2006 Posts: 63 Location: Chennai
|
|
|
|
Hi my requirement is I need to get the rows form table which are having the value is spaces.
this is my query:
SELECT SLS_PRSN_SSN
FROM RDR_HS
WHERE SLS_PRSN_FRST_NM = ' '
AND SLS_PRSN_LST_NM = ' '
it will work..
Regards
Vjay |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Vjay wrote: |
it will work.. |
thx for letting us know. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Okay is there any question here? And did you mean"NULL", the term SPACES sounds little odd in DB2 part of the Forum. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
there is no such thing as a value of NULL.
not only did the TS say: value of spaces
but the sql literal is a space. |
|
Back to top |
|
|
|