Daily Lucky Numbers:
8
11
19
29
40
42

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