Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
607 views
in Technique[技术] by (71.8m points)

tsql - Can one have multiple queries in streaming analytics job?

As the title says, can you have more than one query in an Azure Streaming Analytics job? If so, how should that be structured?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

yes, you can have multiple queries in stream analytics job. You would do something like below

select * into type1Output from inputSource where type = 1
select * into type2Output from inputSource where type = 2

The job has two outputs defined, called type1Output and type2Output. Each query writes to a different output.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.7k users

...