I have a database field that contains a string of numbers like 50,40,60,10,0,4 is there any easy way to determine the highest number in the sting other than iterating thru the string and comparing values?
Is there an easy way to get the max number from a String in PL/SQL
19 Views Asked by vswindell At
1
There are 1 best solutions below
Related Questions in PLSQL
- How to send message to syslog agent in plsql
- In PLSQL, How to fetch "User Tables" but not limited to Owner wise only, that have been created under different Schemas of different Users
- How to add the decimal point based on the condition in oracle?
- I am writing the sql query to get the latest supervisor and their job
- How to pass a array object to an oracle stored procedure?
- Difference between an "IS" or "AS" function/procedure declaration PL/SQL
- Best way to create a conditional SQL query? CASE, DECODE, or IF/THEN?
- Can anyone please post working code to send email using sendgrid on Azure databse using PLSQL procedure
- Retrieve record specific date and time in Oracle SQL
- Need to use join result into second cursor in PL/SQL
- ORACLE: Build 'INSERT INTO' statements from 'SELECT *' results
- ORACLE: Build 'INSERT INTO' statements from SELECT * results
- Error in Syntax - Oracle APEX - apex_authorization.is_authorized function
- How to convert CLOB to varchar , and separate them by comma
- Please, my Oracle EBS query when creating a custom report still contains duplicate data,
Related Questions in NUMBERS
- Find the sum of the numbers in the sequence
- Partitions in co-lexicographic order (PARI/GP algorithm without recursion)
- Predict numbers from labeled images
- Increment number on each node with excluding one
- Ansible Increment Number on each node
- Find non numeric data for a column between duplicate key records
- Algorithm for rounding and clamping a number to specific ends
- Ahk gui does not display double digit numbers
- Using Javascript on Mac get selected row number from Numbers spreadsheet
- Peudorandom numbers in c++ not random enough
- Sensitive operations with big numbers in C++
- AppleScript: "System Events" from Terminal not working
- C++ converting binary string to decimal string
- How to convert HTML "span" + "input" elements to Number?
- Is there an easy way to get the max number from a String in PL/SQL
Related Questions in DELIMITED
- Write to TXT file with length delimited data
- Read Nested XML in C# with no XSLT file
- How to parse a delimited column of a CSV file and make them be part of CSV file by Python
- Oracle SQL Pipe Delimited File w/One Comma Delimited Column to Split and Load Using SQLLDR
- Visual Basic Array text file
- Explode a string into a multidimensional array based on 4 different delimiters which signal how levels are separated
- Importing Tab delimited file to Access. Getting error if I save an import specification
- Switch placement of values in comma delimited string
- Php str_replace not working
- Mindboggling Regular Expression to convert Whitespace-Comma-Whitespace input string to an array. Quoting must be supported
- T-SQL How to convert comma separated string of numbers to integer
- Converting a CSV file with double quotes to a pipe-delimited format using sed
- Tkinter GUI to Convert Fixed Width File to Delimited File
- Adding ROW_NUMBER() to query loses DISTINCT, defeats the purpose of paged results attempt
- Java Add Text in Tab Delimited From String Array To String Vector
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you guarantor if exists just numbers on field you can use function MAX(TO_NUMBER()).
Example:
If you want to remove the caracteres you can use REGEXP_REPLACE to use just the numbers: REGEXP_REPLACE(seu_campo, '[^0-9]', '').