如果我在表变量中插入一组 Row 。之后我select * from table
会按什么顺序给我输出。它会是插入的顺序吗?它会改变吗
DECLARE @next_seq_val NCHAR(50)
DECLARE @tbl TABLE(
seq NCHAR(50)
)
EXEC [dbo].[ix_NextSeq]
@seq_id = 58,
@next_seq_val = @next_seq_val OUTPUT
insert into @tbl(seq) values(@next_seq_val)
SELECT * FROM @tbl