Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to pass NULL to INOUT parameter for stored procedure?
QtWS25 Last Chance

How to pass NULL to INOUT parameter for stored procedure?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 79 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I am using QSqlQuery to execute a stored procedure, the first parameter is defined as INOUT, I declared this as QVariant biDataset(QVariant::String); which I think is ok to pass it in as NULL. I then want the procedure to passbook the value into biDataset so on future calls its passed back in.

    However I'm not sure this is correct, can anyone verify ?

    MariaDB 10.5.9.0, Windows 10, Qt 5.9.2

    Kind Regards,
    Sy

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved