mirror of
https://github.com/boostorg/mysql.git
synced 2025-05-12 14:11:41 +00:00
Added support for running stored procedures that SELECT data Added support for running multiple semicolon-separated queries Added support for running stored procedures with OUT params Added resultset and resultset_view Fixed documentation typos and wording Refactored object creation in tests Close #133 Close #132 Close #8
18 lines
478 B
SQL
18 lines
478 B
SQL
--
|
|
-- Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
|
|
--
|
|
-- Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
--
|
|
|
|
USE boost_mysql_examples;
|
|
|
|
CREATE TEMPORARY TABLE products (
|
|
id VARCHAR(50) PRIMARY KEY,
|
|
description VARCHAR(256)
|
|
);
|
|
|
|
INSERT INTO products VALUES ('PTT', 'Potatoes'), ('CAR', NULL);
|
|
SELECT * FROM products;
|
|
DROP TABLE products;
|