Results 1 to 1 of 1

Thread: How to show the value of stored session variable in MySQL from qt?

  1. #1
    Join Date
    Sep 2017
    Posts
    23
    Thanks
    8
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to show the value of stored session variable in MySQL from qt?

    in MYSQL workbench, i have registered the session variable :
    Qt Code:
    1. set @d=2;
    To copy to clipboard, switch view to plain text mode 
    but when i try to execute the statement from qt it gave me empty table with 1 empty column, the column suppose to have the value of 2;
    so who to show the value of the stored session variable @d from QT?
    Last edited by Ahmed Abdellatif; 5th May 2018 at 14:50.

Similar Threads

  1. Replies: 1
    Last Post: 6th March 2023, 13:05
  2. Replies: 2
    Last Post: 20th October 2017, 00:25
  3. Qt4 Mysql stored procedure
    By lynnH in forum Qt Programming
    Replies: 2
    Last Post: 28th April 2010, 09:05
  4. Cannot create MySQL stored procedure / views from Qt
    By pshah.mumbai in forum Qt Programming
    Replies: 8
    Last Post: 8th October 2008, 17:22
  5. MySql Stored Procedures Woes
    By stevey in forum Qt Programming
    Replies: 9
    Last Post: 19th October 2006, 13:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.