I take the opportunity to have your attention :
Via the odbc reader I try to pass a T-SQL of this type, but the output is null:
DECLARE @tableTemp Table(id int, amount int)
INSERT INTO @ tableTemp
SELECT id, amount
FROM table_existante
WHERE id < 100
SELECT id
FROM @ tableTemp
But when I do the following there is no problem:
SELECT id, amount
FROM table_existante
WHERE id < 100
Via the odbc reader I try to pass a T-SQL of this type, but the output is null:
DECLARE @tableTemp Table(id int, amount int)
INSERT INTO @ tableTemp
SELECT id, amount
FROM table_existante
WHERE id < 100
SELECT id
FROM @ tableTemp
But when I do the following there is no problem:
SELECT id, amount
FROM table_existante
WHERE id < 100