Daily Lucky Numbers:
2
21
22
26
29
35

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