Creating JSON using SQL statement | JSON_OBJECT function | yusy4code

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 5

  • @mariannehatcher9519
    @mariannehatcher9519 Před 2 lety

    thank you! this has been a huge help!!

  • @higiniofuentes2551
    @higiniofuentes2551 Před 3 lety

    Thank you Mohammed!
    No excuses to don't use IBM i all the time for everything!

  • @higiniofuentes2551
    @higiniofuentes2551 Před 3 lety

    I rent an account in Texas400 ($30 3 month) too 3 years ago!
    Very good guy!

  • @higiniofuentes2551
    @higiniofuentes2551 Před 3 lety

    Hi Mohammed, thank for this refreshing video!
    I tried values json_object ('id' value 12, 'name' value 'pollo', 'office' value 'el 24'
    absent on null)
    And the answer is *POINTER
    but if I try values cast(json_object ('id' value 12, 'name' value 'pollo', 'office' value 'el 24'
    absent on null) as varchar(100))
    I receive the expected content: {"id":12,"name":"pollo","office":"el 24"}
    The same for select cast(json_object....

  • @CasualCatches
    @CasualCatches Před 4 lety

    I tried in IBM DB2V11, JSON is not supporting.