Hi,
I'm trying to write a sql query in ToRA connected to an Oracle9i database. I have a string field that looks like this - "142.000000 - 34527". The first part of the field is the same value as the primary key of another table (142). I would like to get just the first part of the field up to the '.' so I can use it to join to the other table. I can't just go for the first three characters because the first number can be up to 4 digits long. Is there a command that will get the part of a string up to a special character?
Thanks,
Shauna
I'm trying to write a sql query in ToRA connected to an Oracle9i database. I have a string field that looks like this - "142.000000 - 34527". The first part of the field is the same value as the primary key of another table (142). I would like to get just the first part of the field up to the '.' so I can use it to join to the other table. I can't just go for the first three characters because the first number can be up to 4 digits long. Is there a command that will get the part of a string up to a special character?
Thanks,
Shauna