Skip to content
Advertisement

Tag: oracle

PHP Julian Date for JDE Oracle

i’m trying to convert a date like 2022-08-09 to a julian date for send it to JDE. The problem is that default php functions like juliantojd() return a different result. The result i expected was something like this https://nimishprabhu.com/tools/jde-julian-date-converter-online.html I got this function from a very old code that is doing the job in .asp I’m trying to convert this

Why is cx_Oracle performing better than PHP OCI8?

I am trying to determine why a query that returns CLOB data runs so much faster using python3 and cx_Oracle in comparison to PHP 7.4 with OCI8. Oracle Client Libraries version is 19.5.0.0.0. Queries are ran on the same client and against the same database using the same user. See below for the test PHP and Python scripts. The PHP

Values are not getting matched while using php with oracle

So i have just started working on PHP with Oracle and I am getting values from user using select option as you can see in HTML file, however when i apply where condition on ‘Job’, it wouldn’t match the values. I have also used ‘upper’ with where condition to avoid case-sensitivity but it wouldn’t work. On the contrary when i

How do I update CLOB column on oracle with PHP

I have problem with function: After execute I get “Updated” but in database column is empty. Before execute i have null on this column. Answer Here are two ways. The schema is: And the code would be like: You may want to look at the second half of Oracle’s free PHP book The Underground PHP and Oracle Manual.

Understand and convert query to Oracle SQL

I am a little bit confusing and I am totally nOoB in PHP and I stuck in one query which made me problem. If I would like transform this to Oracle SQL Is is something like this Answer Check the following: It should produce an SQL query as follow, which will put the mark 2 if the student status equals

Advertisement