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 answers
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
- Consolidate column values within each subset of a multidimensional array as comma separated values
- Is there an easy way to get the max number from a String in PL/SQL
- How to fix error : ErrorCode=DelimitedTextMoreColumnsThanDefined,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException
- Separating Comma Demitted Values into Respective Rows
- Convert years.months formatted string to months in PHP
- Parse string containing inline HTML attribute declarations in potentially 4 different formats
- SQL query for delimited string
- How to include a beginning AND end in an audio file in html?
- Google Sheets: Filtering based on split strings
- REGEXP_SUBSTR with pipe delimiter giving unexpected results
- Group 1d array of filenames by their leading text and join filenames in each group with a delimiter
- Remove items in a delimited list that are non numeric in SQL for Redshift
- Is it possible to Load Data directly from Multiple Excel Sheets Into Pipe Delimited TXT File using SSIS..?
- Extract nth element from comma-delimited list with Google Sheets formula
- Split qualifying colon-space separated strings in an array to form a new associative array
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?
Popular Tags
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)
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]', '').