|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've got a hierachy that I'm querying on and the sys_connect_by_path function is pretty darn useful.
I would like to put in sys_connect_by_path(columnName, '') but of course oracle treats '' as null and throws an error. Any Ideas as to how I get around this? Cheers Pete |
|
#2
|
|||
|
|||
|
try an replace(sys_connect_by_path(columnName, chr(1)),chr(1),''). u can put in yr replace instead of chr(1) any character u know 4 sure that doesn't appear in columnName values.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > how to sys_connect_by_path(columnName, emptyString) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|