Daily Lucky Numbers:
10
15
21
38
46
47

Date selection parameter in openquery?

Started by Bazooka, April 25, 2022, 09:25:52 AM

Previous topic - Next topic

Bazooka

Hey, is it possible to add a date selection parameter in openquery in T-SQL? e.g: @DataOfdate and @DataDo date?

I am looking for a way to optimally query data from another server and I want to avoid writing syntax from LinkedServer.
Thanks