SQL problem, SQL Server 7 Temporary table

The following code Works and creates the Temporary table #tempTable1 :

SELECT FIELD1, FIELD2 INTO #tempTable1 from MYTABLE
WHERE WORK_DATE = '01/01/2000'

But the following code doesn't work. Surprisingly it doesn't create any
error even

SELECT FIELD1, FIELD2 INTO #tempTable1 from MYTABLE
WHERE WORK_DATE = :myDate

The following line also added before ExecSQL
Query1.ParamByName('myDate').Value := '01/01/2000'