This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF OBJECT_ID('TempDB.dbo.#tmp_table', 'U') IS NULL | |
BEGIN | |
-- Create temp table if not it does not exest already / Создаем временную таблицу если ее еще нет | |
CREATE TABLE #tmp_table | |
( | |
field1 integer, | |
field2 varchar(255), | |
field3 varchar(255) | |
) | |
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Assuming we have the following xml structure: | |
//<redords> | |
// <record> | |
// <field1>Lorem ipsum</field1> | |
// <field2>Doler</field2> | |
// <field3>Sit amet</field3> | |
// </record> | |
// ... |