Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

SQL Oracle how to convert string to Int but also work if no value is there??

I have an SQL query. One of the columns returns a string.

But sometimes returns "" nothing.

but most times it's a number like "2383" but as a string.

I need the returned value to be converted from a string to an integer. So from 2383 to 2383.

I used the old * by 1 trick. However I found when I run the query it errors with those that have "" blanks.

Is there a better way to convert the string to a number? or another way to handle this?

from Databases https://ift.tt/2TAbfSS
via IFTTT

Post a Comment

0 Comments