<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>17 Jan 2020 15:37:37 Z</lastBuildDate><pubDate>16 Jan 2020 09:51:55 Z</pubDate><description>hello everybody&#13;
&#13;
please consider the sql code below, use on a "simple" HF table&#13;
&#13;
[code:sql]&#13;
CREATE TABLE Shoes_Temp &#13;
AS SELECT &#13;
	Shoes_Tag.Data AS Data,	&#13;
	Shoes_Tag.Numero AS Numero,	&#13;
	Shoes_Tag.Fornitore AS Fornitore,	&#13;
	Shoes_Tag.Brand AS Brand,	&#13;
	Shoes_Tag.FTY AS FTY,	&#13;
	Shoes_Tag.TFS AS TFS,	&#13;
	Shoes_Tag.Esito AS Esito,	&#13;
	Shoes_Tag.Full AS FULL,	&#13;
	Shoes_Tag.Minor AS Minor,	&#13;
	Shoes_Tag.Sostituiti AS Sostituiti,	&#13;
	Shoes_Tag.Riparati AS Riparati,	&#13;
	Shoes_Tag."Non Conformi" AS Non_Conformi,	&#13;
	Shoes_Tag."Da Sostituire" AS Da_Sostituire,	&#13;
	Shoes_Tag."Da Riparare" AS Da_Riparare,	&#13;
	Shoes_Tag."Non Conformi1" AS Non_Conformi1,	&#13;
	Shoes_Tag.Note AS Note,	&#13;
	Shoes_Tag.TFS1 AS TFS1,	&#13;
	Shoes_Tag.FTY1 AS FTY1,	&#13;
	Shoes_Tag.Filename AS Filename,	&#13;
	Shoes_Tag."Num# Foto" AS "Num#_Foto"&#13;
FROM &#13;
	Shoes_Tag&#13;
WHERE &#13;
	LEFT (Shoes_Tag.Numero, 6) = ParamNumero&#13;
ORDER BY &#13;
	Numero DESC&#13;
[/code]&#13;
&#13;
the idea is to create a phisical copy of some data present in the "main" table but I get errors when I try to pass the parameter&#13;
&#13;
I would like to use something like&#13;
&#13;
[code:wl]&#13;
HExecuteQuery(QRY_NoName_AQL_Shoes_Boss1, hQueryDefault, "123456")&#13;
[/code]&#13;
&#13;
but if you have other ideas, you're welcome&#13;
&#13;
(I would like, also, use a sql sintax like "SELECT … INTO TABLE …" but I can't find this type of syntax&#13;
&#13;
thank you very much</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67579-wd24-sql-how-create-temporary-table/read.awp</link><title>[WD24] SQL: how to create a temporary table?</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>pao</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67579-wd24-sql-how-create-temporary-table-67588/read.awp</comments><pubDate>17 Jan 2020 15:37:37 Z</pubDate><description>Did you try something like this:&#13;
my_sql is string=[&#13;
CREATE TABLE Shoes_Temp&#13;
AS SELECT&#13;
Shoes_Tag.Data AS Data,&#13;
Shoes_Tag.Num…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67579-wd24-sql-how-create-temporary-table-67588/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67579-wd24-sql-how-create-temporary-table-67588/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67579-wd24-sql-how-create-temporary-table/read.awp">[WD24] SQL: how to create a temporary table?</source><title>Re: [WD24] SQL: how to create a temporary table?</title></item></channel></rss>
