更新时间:2022-12-10 23:41:52
数组是不可能的,但您可以在SQL中声明临时表,如下所示:
Array are not possible but you could declare temp table in SQL like this:
DECLARE @MyArray TABLE(MyID INT);
INSERT INTO @MyArray EmailDetailTempId from TableName
使用临时表,然后
Use a temporary table, and then
SELECT * INTO #MyTemporaryTable FROM MyTable